![]() |
VR-Forces 4.3.1 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 bool | 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 std::set < DtString > & | names () const |
| virtual const DtlObjPtr & | getObjPtr (const DtString &name) const |
| virtual bool | hasGlobalWeatherObject () const |
| Returns whether or not a global weather object was found in this file. Only valid for order of battle files. | |
Protected Member Functions | |
| virtual void | clear () |
| virtual void | addName (const DtString &name, const DtlObjPtr &args) |
Protected Attributes | |
| DtlObjPtr | myList |
| DtlObjPtr | myEnv |
| std::map< DtString, DtlObjPtr * > | myName2DataMap |
| std::set< DtString > | myNamesList |
| bool | myHasGlobalWeatherObject |
Instances of this class manage a mapping between echelon IDs and their mtl data from a given file.
| DtVrfFileParser::DtVrfFileParser | ( | ) |
|
virtual |
|
virtual |
Determines file type and delegates the rest of the parsing to the appropriate method.
|
virtual |
Parse order of battle files.
|
virtual |
|
virtual |
Checks to make sure that the plan file is at least version 2.0, and then calls parsePlan for each plan entry.
|
virtual |
|
virtual |
Parses an individual plan.
|
virtual |
|
virtual |
|
inlinevirtual |
Returns whether or not a global weather object was found in this file. Only valid for order of battle files.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |