![]() |
VR-Forces 4.0.4 Class Documentation
|
Instances of this class manage a mapping between echelon IDs and their mtl data from a given file. More...
Public Member Functions | |
| DtVrfFileParser () | |
| virtual | ~DtVrfFileParser () |
| virtual bool | parseFile (const DtFilename &filename) |
| Determines file type and delegates the rest of the parsing to the appropriate method. | |
| virtual bool | parseOrderOfBattleFile (const DtlObjPtr &oobList) |
| Parse order of battle files. | |
| virtual void | parseOrderOfBattleObject (const DtlObjPtr &args) |
| virtual bool | parsePlanFile (const DtlObjPtr &plnList) |
| Checks to make sure that the plan file is at least version 2.0, and then calls parsePlan for each plan entry. | |
| virtual bool | parseGlobalPlanFile (const DtlObjPtr &plnList) |
| virtual void | parsePlan (const DtlObjPtr &args) |
| Parses an individual plan. | |
| virtual const DtList & | names () |
| virtual const DtlObjPtr & | getObjPtr (const DtString &name) const |
Protected Member Functions | |
| virtual void | clear () |
| virtual void | addName (const DtString &name, const DtlObjPtr &args) |
Protected Attributes | |
| DtlObjPtr | myList |
| DtlObjPtr | myEnv |
| DtHashlist | myName2DataMap |
| DtList | myNameList |
Instances of this class manage a mapping between echelon IDs and their mtl data from a given file.
| virtual DtVrfFileParser::~DtVrfFileParser | ( | ) | [virtual] |
| virtual bool DtVrfFileParser::parseFile | ( | const DtFilename & | filename | ) | [virtual] |
Determines file type and delegates the rest of the parsing to the appropriate method.
| virtual bool DtVrfFileParser::parseOrderOfBattleFile | ( | const DtlObjPtr & | oobList | ) | [virtual] |
Parse order of battle files.
| virtual void DtVrfFileParser::parseOrderOfBattleObject | ( | const DtlObjPtr & | args | ) | [virtual] |
| virtual bool DtVrfFileParser::parsePlanFile | ( | const DtlObjPtr & | plnList | ) | [virtual] |
Checks to make sure that the plan file is at least version 2.0, and then calls parsePlan for each plan entry.
| virtual bool DtVrfFileParser::parseGlobalPlanFile | ( | const DtlObjPtr & | plnList | ) | [virtual] |
| virtual void DtVrfFileParser::parsePlan | ( | const DtlObjPtr & | args | ) | [virtual] |
Parses an individual plan.
| virtual const DtList& DtVrfFileParser::names | ( | ) | [virtual] |
| virtual const DtlObjPtr& DtVrfFileParser::getObjPtr | ( | const DtString & | name | ) | const [virtual] |
| virtual void DtVrfFileParser::clear | ( | ) | [protected, virtual] |
| virtual void DtVrfFileParser::addName | ( | const DtString & | name, |
| const DtlObjPtr & | args | ||
| ) | [protected, virtual] |
DtlObjPtr DtVrfFileParser::myList [protected] |
DtlObjPtr DtVrfFileParser::myEnv [protected] |
DtHashlist DtVrfFileParser::myName2DataMap [protected] |
DtList DtVrfFileParser::myNameList [protected] |