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

Public Member Functions | |
| DtCsvScenarioDescriptionImporterExporter () | |
| CTOR. More... | |
| virtual | ~DtCsvScenarioDescriptionImporterExporter () |
| DTOR. More... | |
| virtual bool | loadScenarioDescription (const DtFilename &file, const std::map< std::string, std::string > &importData) |
| Loads information from the supplied ACO file into internal structures. More... | |
| virtual DtScenarioDescriptionImporterExporter * | clone () |
| Clone to create a new copy of the object. Will be used as a "clean" version for import. More... | |
| virtual bool | importIntoSimulation (DtSimManager *) |
| Imports into the simulation. More... | |
| virtual bool | importFromSimulation (DtSimManager *, const std::map< std::string, std::string > &exportData, const DtMsdlHierarchyPropertyMappings &) |
| Imports from the simulation into internal structures. More... | |
| virtual bool | saveScenarioDescription (const DtFilename &file, const DtScenario &) const |
| Saves the scenario description information to the specified file. More... | |
| virtual std::string | supportedExtensions () |
| Returns a space delimeted list of the extensions supported ("ACO txt") More... | |
| virtual bool | canImportFile (const DtFilename &) |
| Returns true if the supplied file can be loaded by this importer. More... | |
| virtual void | setAltInAGL (const bool agl) |
| virtual void | setOptionalName (const std::string &name) |
| virtual DtObjectParser * | parser () |
| Returns parser, if doesn't exist yet will create it. More... | |
Public Member Functions inherited from DtScenarioDescriptionImporterExporter | |
| DtScenarioDescriptionImporterExporter () | |
| CTOR Derived classes will need to create a parser. More... | |
| virtual | ~DtScenarioDescriptionImporterExporter () |
| DTOR. More... | |
| const DtScenario & | scenario () const |
| const std::string & | error () const |
| virtual void | setDesiredForce (int force) |
| virtual bool | complete () const |
| Return true if import is complete. Default is true. More... | |
Protected Attributes | |
| bool | myIsAgl |
| std::string | myOptionalName |
Protected Attributes inherited from DtScenarioDescriptionImporterExporter | |
| DtScenario | myScenario |
| std::string | myError |
| DtObjectParser * | myParser |
| DtForceType | myDesiredForce |
| DtCsvScenarioDescriptionImporterExporter::DtCsvScenarioDescriptionImporterExporter | ( | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Loads information from the supplied ACO file into internal structures.
Import data may contain additional information to be applied to the load. DtMSDLHierarchyPropertyMappings contains MSDL specific hierarchy mappings (SIDC code and Military Enumeration) in case this format wishes to use that information.
Implements DtScenarioDescriptionImporterExporter.
|
virtual |
Clone to create a new copy of the object. Will be used as a "clean" version for import.
Implements DtScenarioDescriptionImporterExporter.
Reimplemented in DtVrfCsvScenarioDescriptionImporterExporter.
|
virtual |
Imports into the simulation.
DtSimManager is not defined at this level, so subclasses at vrfobjcore level must implement. This level is a no-op
Implements DtScenarioDescriptionImporterExporter.
Reimplemented in DtVrfCsvScenarioDescriptionImporterExporter.
|
virtual |
Imports from the simulation into internal structures.
DtSimManager is not defined at this level, so subclasses at vrfobjcore level must implement. This level is a no-op
Implements DtScenarioDescriptionImporterExporter.
Reimplemented in DtVrfCsvScenarioDescriptionImporterExporter.
|
virtual |
Saves the scenario description information to the specified file.
The format will be a comma delimeted format containing the information specified at the top of this file
Implements DtScenarioDescriptionImporterExporter.
|
virtual |
Returns a space delimeted list of the extensions supported ("ACO txt")
Implements DtScenarioDescriptionImporterExporter.
|
virtual |
Returns true if the supplied file can be loaded by this importer.
Implements DtScenarioDescriptionImporterExporter.
|
virtual |
|
virtual |
|
virtual |
Returns parser, if doesn't exist yet will create it.
Implements DtScenarioDescriptionImporterExporter.
|
protected |
|
protected |