![]() |
VR-Forces 4.8 Class Documentation
|

Public Member Functions | |
| DtTleParser () | |
| ~DtTleParser () | |
| virtual bool | parse (istream &stream) |
| Since we will be getting input from the user via the csv importer dialog, we just do a straight up parse of each row and store in the parsed items struct. More... | |
| virtual void | createObjectList (std::string name="") |
| After the user has accepted the csv importer dialog with their desired options this is called from csvScenarioDescriptorImorterExporter to turn the parsed items into object information structs. More... | |
| virtual std::list < TleParsedItem > & | items () |
Public Member Functions inherited from DtObjectParser | |
| DtObjectParser () | |
| ~DtObjectParser () | |
| virtual bool | parseFile (const string &filename) |
| Pass in the file to parse, creates an istream and calls parse on it. More... | |
| virtual ObjectList & | getCreateObjectList () |
| Gets a vector containing all of the import objects that were created during parsing. More... | |
| virtual void | initTypeMap (const std::map< std::string, std::string > &importData) |
| Allows one to map their string names to our entity types. More... | |
| virtual ObjectEntityTypeMap * | typeMap () |
Protected Attributes | |
| bool | myIsMultipleObjects |
| std::list< TleParsedItem > | myParsedItems |
| We do a straight parse of each row and store here. More... | |
Protected Attributes inherited from DtObjectParser | |
| ObjectList | myCreateObjectList |
| vector to keep track of all of the Aco Data that we have parsed More... | |
| DtTokenizer | myTokenizer |
| Coordinate_System * | myCoordSystem |
| ObjectEntityTypeMap | myTypeMap |
Additional Inherited Members | |
Protected Member Functions inherited from DtObjectParser | |
| void | setSeparatorData (const string &recordSeparator, const string &fieldSeparators, const string "eChars, const string &escapeChars) |
| Define how the each creation record and its fields are delimited. More... | |
| virtual void | clear () |
| cleans up the object, called from DTor and before parsing More... | |
| DtTleParser::DtTleParser | ( | ) |
| DtTleParser::~DtTleParser | ( | ) |
|
virtual |
Since we will be getting input from the user via the csv importer dialog, we just do a straight up parse of each row and store in the parsed items struct.
Reimplemented from DtObjectParser.
|
virtual |
After the user has accepted the csv importer dialog with their desired options this is called from csvScenarioDescriptorImorterExporter to turn the parsed items into object information structs.
|
virtual |
|
protected |
|
protected |
We do a straight parse of each row and store here.