#include <ReaderWriterSet.hpp>
Definition at line 103 of file ReaderWriterSet.hpp.
◆ Handler()
moab::ReaderWriterSet::Handler::Handler |
( |
reader_factory_t |
read_f, |
|
|
writer_factory_t |
write_f, |
|
|
const char * |
name, |
|
|
const char * |
desc, |
|
|
const char *const * |
ext, |
|
|
int |
num_ext |
|
) |
| |
◆ description()
const std::string& moab::ReaderWriterSet::Handler::description |
( |
| ) |
const |
|
inline |
◆ get_extensions()
void moab::ReaderWriterSet::Handler::get_extensions |
( |
std::vector< std::string > & |
list_out | ) |
const |
|
inline |
◆ have_reader()
bool moab::ReaderWriterSet::Handler::have_reader |
( |
| ) |
const |
|
inline |
◆ have_writer()
bool moab::ReaderWriterSet::Handler::have_writer |
( |
| ) |
const |
|
inline |
◆ make_reader()
◆ make_writer()
◆ name()
const std::string& moab::ReaderWriterSet::Handler::name |
( |
| ) |
const |
|
inline |
◆ operator==()
bool moab::ReaderWriterSet::Handler::operator== |
( |
const char * |
name | ) |
const |
Definition at line 310 of file ReaderWriterSet.cpp.
313 std::string::const_iterator siter =
mName.begin();
314 for( ; *nm; ++nm, ++siter )
315 if( siter ==
mName.end() || tolower( *nm ) != tolower( *siter ) )
return false;
◆ reads_extension()
bool moab::ReaderWriterSet::Handler::reads_extension |
( |
const char * |
ext | ) |
const |
Definition at line 277 of file ReaderWriterSet.cpp.
281 std::vector< std::string >::const_iterator siter;
283 if( !( *siter ).compare( ext ) )
285 else if( 0 == strcasecmp( siter->c_str(), ext ) )
◆ writes_extension()
bool moab::ReaderWriterSet::Handler::writes_extension |
( |
const char * |
ext | ) |
const |
Definition at line 291 of file ReaderWriterSet.cpp.
295 std::vector< std::string >::const_iterator siter;
297 if( !( *siter ).compare( ext ) )
299 else if( 0 == strcasecmp( siter->c_str(), ext ) )
◆ ReaderWriterSet
◆ mDescription
std::string moab::ReaderWriterSet::Handler::mDescription |
|
private |
◆ mExtensions
std::vector< std::string > moab::ReaderWriterSet::Handler::mExtensions |
|
private |
◆ mName
std::string moab::ReaderWriterSet::Handler::mName |
|
private |
◆ mReader
◆ mWriter
The documentation for this class was generated from the following files: