![]() |
VR-Forces 4.7 Class Documentation
|
A Factory class for creating model parsers. More...

Public Member Functions | |
| virtual | ~DtModelParserFactory () |
| DTOR. | |
| virtual void | registerParserCreator (const std::string &parserFormat, PrModelParserCreator *creator) |
| Register a model parser creator with a particular parsing format. | |
| virtual void | destroyParserCreator (const std::string &parserFormat) |
| Destroys a model parser creator associated with the format. | |
| virtual DtModelParser * | createParser (const std::string &parser, DtDe &de) |
| Attempt to create a parser for the given parser. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtModelParserFactory & | instance (DtDe &) |
| Get an instance of the model parser factory. | |
Protected Types | |
| typedef std::map< std::string, PrModelParserCreator * > | CreatorMap |
Protected Member Functions | |
| DtModelParserFactory () | |
| Protected CTOR use the static instance function to get an instance. | |
Protected Attributes | |
| CreatorMap | myCreatorMap |
A Factory class for creating model parsers.
|
protected |
|
virtual |
DTOR.
|
protected |
Protected CTOR use the static instance function to get an instance.
|
static |
Get an instance of the model parser factory.
|
virtual |
Register a model parser creator with a particular parsing format.
The parsing format is a string which indicates what type of parsing is desired. Typically this will depend on the desired output and the input formatting. For example, stealthArticulatedModel indicates the parser will parse atributledModel data using the 'MAK stealth' specification.
|
virtual |
Destroys a model parser creator associated with the format.
|
virtual |
Attempt to create a parser for the given parser.
| 0 | if the parser was unable to be found. |
|
protected |