![]() |
VR-Forces 4.0.4 Class Documentation
|
The DtHeaderParserFactory will create DtHeaderParsers that were registered. More...

Public Types | |
| typedef std::map< std::string, DtHeaderParserCreator * > | CreatorMap |
| typedef std::map< std::string, std::string > | FileExtensionMap |
Public Member Functions | |
| virtual | ~DtHeaderParserFactory () |
| DTOR. | |
| virtual void | addCreator (const std::string &creatorName, DtHeaderParserCreator *creator) |
| Add a creator. | |
| virtual void | mapFileExtensionToHeaderParser (const std::string &extenstion, const std::string &creatorName) |
| Map a file extension to a DtHeaderParserCreator class name. | |
| DtHeaderParser * | createHeaderParser (const std::string &filePath) |
| Create a DtHeaderParser. | |
| const CreatorMap & | creators () const |
| Get the creators. | |
Static Public Member Functions | |
| static DtHeaderParserFactory & | instance (DtDe &de) |
| Get the instance of the factory. | |
| static std::string | extractFileExtension (const std::string &fileToOpen) |
| Extract the file extension. | |
Protected Member Functions | |
| DtHeaderParserFactory (DtDe &de) | |
| CTOR. | |
Protected Attributes | |
| DtDe & | myDe |
| CreatorMap | myCreators |
| FileExtensionMap | myExtenstionMap |
The DtHeaderParserFactory will create DtHeaderParsers that were registered.
| typedef std::map<std::string, DtHeaderParserCreator*> makVrv::DtHeaderParserFactory::CreatorMap |
| typedef std::map<std::string, std::string> makVrv::DtHeaderParserFactory::FileExtensionMap |
| virtual makVrv::DtHeaderParserFactory::~DtHeaderParserFactory | ( | ) | [virtual] |
DTOR.
| makVrv::DtHeaderParserFactory::DtHeaderParserFactory | ( | DtDe & | de | ) | [protected] |
CTOR.
| static DtHeaderParserFactory& makVrv::DtHeaderParserFactory::instance | ( | DtDe & | de | ) | [static] |
Get the instance of the factory.
| virtual void makVrv::DtHeaderParserFactory::addCreator | ( | const std::string & | creatorName, |
| DtHeaderParserCreator * | creator | ||
| ) | [virtual] |
Add a creator.
| virtual void makVrv::DtHeaderParserFactory::mapFileExtensionToHeaderParser | ( | const std::string & | extenstion, |
| const std::string & | creatorName | ||
| ) | [virtual] |
Map a file extension to a DtHeaderParserCreator class name.
| DtHeaderParser* makVrv::DtHeaderParserFactory::createHeaderParser | ( | const std::string & | filePath | ) |
Create a DtHeaderParser.
| const CreatorMap& makVrv::DtHeaderParserFactory::creators | ( | ) | const |
Get the creators.
| static std::string makVrv::DtHeaderParserFactory::extractFileExtension | ( | const std::string & | fileToOpen | ) | [static] |
Extract the file extension.
DtDe& makVrv::DtHeaderParserFactory::myDe [protected] |
CreatorMap makVrv::DtHeaderParserFactory::myCreators [protected] |