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

Public Member Functions | |
| DtTerrainDescriptorRecord () | |
| virtual | ~DtTerrainDescriptorRecord () |
| DtTerrainDescriptorRecord (const DtTerrainDescriptorRecord &orig) | |
| DtTerrainDescriptorRecord & | operator= (const DtTerrainDescriptorRecord &orig) |
| virtual DtString | recordTypeName () const |
| Returns the type name for the particular record. | |
| virtual DtConfigCategoryType | recordCategory () const |
| Each record should have a category of configuration they represent. | |
| virtual const DtFilename & | filename () const |
| virtual void | setFilename (const DtFilename &name) |
| virtual bool | terrainAltered () const |
| virtual void | setTerrainAltered (bool altered) |
| virtual bool | loadMtdFile (const DtFilename &name) |
| virtual bool | get (std::istream &stream) |
| Read self from stream. | |
| virtual bool | processToken (std::istream &stream, DtString &token) |
| identifies a token or passes token the parent class. | |
Static Public Member Functions | |
| static DtMetafileRecord * | create () |
Protected Member Functions | |
| virtual bool | writeAttributes (std::ostream &stream) const |
| Write attributes to stream. This is called by put(stream) | |
| virtual bool | getAttribute (const DtString attrName, DtString &value, unsigned index=0) |
| Given the name of a record's attribute, returns its value in the 'value' parameter. | |
| virtual bool | setToken (const DtString &token, const DtString value) |
| identifies a token and returns true if the value can be set to it, false otherwise | |
Protected Attributes | |
| bool | myTerrainHasBeenAltered |
| DtFilename | myFile |
Static Protected Attributes | |
| static const DtString | theParameterFile |
| static const DtString | theTerrainHasBeenAltered |
| virtual DtTerrainDescriptorRecord::~DtTerrainDescriptorRecord | ( | ) | [virtual] |
| DtTerrainDescriptorRecord& DtTerrainDescriptorRecord::operator= | ( | const DtTerrainDescriptorRecord & | orig | ) |
| virtual DtString DtTerrainDescriptorRecord::recordTypeName | ( | ) | const [virtual] |
Returns the type name for the particular record.
Descendants should have this method return some string which uniquely identifies the kind of database it represents.
Implements DtMetafileRecord.
| virtual DtConfigCategoryType DtTerrainDescriptorRecord::recordCategory | ( | ) | const [virtual] |
Each record should have a category of configuration they represent.
I.e does this record configure terrain source files, or vector source files, papermap files....
Implements DtMetafileRecord.
| virtual const DtFilename& DtTerrainDescriptorRecord::filename | ( | ) | const [virtual] |
| virtual void DtTerrainDescriptorRecord::setFilename | ( | const DtFilename & | name | ) | [virtual] |
| virtual bool DtTerrainDescriptorRecord::terrainAltered | ( | ) | const [virtual] |
| virtual void DtTerrainDescriptorRecord::setTerrainAltered | ( | bool | altered | ) | [virtual] |
| virtual bool DtTerrainDescriptorRecord::loadMtdFile | ( | const DtFilename & | name | ) | [virtual] |
| virtual bool DtTerrainDescriptorRecord::get | ( | std::istream & | stream | ) | [virtual] |
Read self from stream.
Reimplemented from DtMetafileRecord.
| virtual bool DtTerrainDescriptorRecord::processToken | ( | std::istream & | stream, |
| DtString & | token | ||
| ) | [virtual] |
identifies a token or passes token the parent class.
Reimplemented from DtMetafileRecord.
| static DtMetafileRecord* DtTerrainDescriptorRecord::create | ( | ) | [static] |
| virtual bool DtTerrainDescriptorRecord::writeAttributes | ( | std::ostream & | stream | ) | const [protected, virtual] |
Write attributes to stream. This is called by put(stream)
Reimplemented from DtMetafileRecord.
| virtual bool DtTerrainDescriptorRecord::getAttribute | ( | const DtString | attrName, |
| DtString & | value, | ||
| unsigned | index = 0 |
||
| ) | [protected, virtual] |
Given the name of a record's attribute, returns its value in the 'value' parameter.
Returns True if successful; false otherwise
Reimplemented from DtMetafileRecord.
| virtual bool DtTerrainDescriptorRecord::setToken | ( | const DtString & | token, |
| const DtString | value | ||
| ) | [protected, virtual] |
identifies a token and returns true if the value can be set to it, false otherwise
Reimplemented from DtMetafileRecord.
const DtString DtTerrainDescriptorRecord::theParameterFile [static, protected] |
const DtString DtTerrainDescriptorRecord::theTerrainHasBeenAltered [static, protected] |
DtFilename DtTerrainDescriptorRecord::myFile [protected] |