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.
|
| 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.
|
virtual std::list
< TleParsedItem > & | items () |
| | DtObjectParser () |
| | ~DtObjectParser () |
| virtual bool | parseFile (const string &filename) |
| | Pass in the file to parse, creates an istream and calls parse on it.
|
| virtual ObjectList & | getCreateObjectList () |
| | Gets a vector containing all of the import objects that were created during parsing.
|
| virtual void | initTypeMap (const std::map< std::string, std::string > &importData) |
| | Allows one to map their string names to our entity types.
|
| virtual ObjectEntityTypeMap * | typeMap () |
Additional Inherited Members |
| 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.
|
| virtual void | clear () |
| | cleans up the object, called from DTor and before parsing
|
Constructor & Destructor Documentation
| DtTleParser::DtTleParser |
( |
| ) |
|
| DtTleParser::~DtTleParser |
( |
| ) |
|
Member Function Documentation
| virtual bool DtTleParser::parse |
( |
istream & |
stream | ) |
|
|
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 void DtTleParser::createObjectList |
( |
std::string |
name = "" | ) |
|
|
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.
Member Data Documentation
| bool DtTleParser::myIsMultipleObjects |
|
protected |
We do a straight parse of each row and store here.
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/vrfutil/tleParser.h