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

Public Member Functions | |
| DtKynPathDataMetafileRecord () | |
| default constructor. | |
| virtual | ~DtKynPathDataMetafileRecord () |
| destructor | |
| DtKynPathDataMetafileRecord (const DtKynPathDataMetafileRecord &orig) | |
| copy constructor | |
| DtKynPathDataMetafileRecord & | operator= (const DtKynPathDataMetafileRecord &orig) |
| assignment operator | |
| virtual bool | init () |
| Initialize the metafile. | |
| virtual bool | get (std::istream &stream) |
| Overridden to invoke any postRead callbacks after the record is read. | |
| virtual bool | processToken (std::istream &stream, DtString &token) |
| identifies a token or passes token the parent class. | |
| virtual DtString | recordTypeName () const |
| Returns the type name for the particular record. | |
| virtual bool | includeInMtd () const |
| virtual void | setPDGName (const DtString &name) |
| virtual DtString | PDGName () const |
| virtual void | setPDGPath (const DtString &path) |
| virtual DtString | PDGPath () const |
| virtual void | setRelativePathCheck (const bool arg) |
| virtual bool | RelativePathCheck () const |
| virtual void | setPDGType (const DtString &type) |
| virtual DtString | PDGType () const |
| virtual void | setObjectType (const DtString &objectType) |
| virtual DtString | objectType () const |
Public Member Functions inherited from DtAdditionalDataRecord | |
| DtAdditionalDataRecord () | |
| default constructor. | |
| virtual | ~DtAdditionalDataRecord () |
| destructor | |
| DtAdditionalDataRecord (const DtAdditionalDataRecord &orig) | |
| copy constructor | |
| DtAdditionalDataRecord & | operator= (const DtAdditionalDataRecord &orig) |
| assignment operator | |
| virtual DtConfigCategoryType | recordCategory () const |
| Each record should have a category of configuration they represent. | |
Public Member Functions inherited from DtMetafileRecord | |
| DtMetafileRecord () | |
| default constructor. | |
| virtual | ~DtMetafileRecord () |
| destructor | |
| DtMetafileRecord (const DtMetafileRecord &orig) | |
| copy constructor | |
| DtMetafileRecord & | operator= (const DtMetafileRecord &orig) |
| assignment operator | |
| virtual bool | canImport () |
| Tells whether the record can be included in the import process or not. | |
| virtual bool | put (std::ostream &stream) const |
| Write self to stream. | |
| virtual bool | getAttribute (const DtString attrName, DtString &value, DtString &type, unsigned index=0) |
| Given the name of a record's attribute, returns True if the record has the attribute (the value is returned in value and the type in type). | |
| virtual bool | setAttribute (DtString attrName, DtString value) |
| Sets the value of the attribute attrName to value. | |
| virtual const DtTerrainInitializer * | initializer () const |
| Get the initializer. | |
| virtual DtTerrainInitializer * | initializer () |
| virtual void | setInitializer (DtTerrainInitializer *init) |
| Sets the initializer. | |
| virtual const int | recordKey () |
| virtual void | setRecordKey (const int key) |
| virtual const DtPropertyNamesMap | properties () const |
| Get the std::map with all the properties available for this record. | |
| virtual const DtString & | recordString () const |
| Get the record string. | |
| virtual void | resetFileLists () |
| Clears any file lists this record holds onto. | |
| virtual void | setPath (const DtFilename &) |
| Parent path (if relevant) | |
| virtual const DtFilename & | path () const |
| bool | isInt (const DtString &valueIn) |
| bool | isDouble (const DtString &valueIn) |
| bool | isColor (const DtString &valueIn) |
| bool | isPoint (const DtString &valueIn) |
| bool | isBool (const DtString &valueIn) |
| bool | toInt (const DtString &valueIn, int &valueOut) |
| bool | toDouble (const DtString &valueIn, double &valueOut) |
| bool | toColor (const DtString &valueIn, DtColor &valueOut) |
| bool | toPoint (const DtString &valueIn, DtPoint &valueOut) |
| bool | toBool (const DtString &valueIn, bool &valueOut) |
Static Public Member Functions | |
| static DtMetafileRecord * | create () |
| static void | addPostReadCallback (DtKynPathDataMetafileRecordCallback, void *usr) |
| Callbacks that will be called immediately after this record is read from a file. | |
| static void | removePostReadCallback (DtKynPathDataMetafileRecordCallback, void *usr) |
Protected Types | |
| typedef std::pair < DtKynPathDataMetafileRecordCallback, void * > | DtCallbackInfo |
| typedef std::list< DtCallbackInfo > | DtCallbackInfoList |
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 | |
| virtual void | invokePostReadCallbacks () |
Protected Attributes | |
| DtString | myPDGName |
| DtString | myPDGPath |
| bool | myRelativePathCheck |
| DtString | myPathDataType |
| DtString | myObjectType |
Static Protected Attributes | |
| static const DtString | thePDGName |
| static const DtString | thePDGPath |
| static const DtString | theRelativePathCheck |
| static const DtString | thePathDataType |
| static const DtString | theObjectType |
| static DtCallbackInfoList | thePostReadCallbackList |
|
protected |
|
protected |
| DtKynPathDataMetafileRecord::DtKynPathDataMetafileRecord | ( | ) |
default constructor.
|
virtual |
destructor
| DtKynPathDataMetafileRecord::DtKynPathDataMetafileRecord | ( | const DtKynPathDataMetafileRecord & | orig | ) |
copy constructor
| DtKynPathDataMetafileRecord& DtKynPathDataMetafileRecord::operator= | ( | const DtKynPathDataMetafileRecord & | orig | ) |
assignment operator
|
virtual |
Initialize the metafile.
Reimplemented from DtMetafileRecord.
|
virtual |
Overridden to invoke any postRead callbacks after the record is read.
Reimplemented from DtMetafileRecord.
|
virtual |
identifies a token or passes token the parent class.
Reimplemented from DtMetafileRecord.
|
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 |
Implements DtAdditionalDataRecord.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
Callbacks that will be called immediately after this record is read from a file.
|
static |
|
static |
|
protectedvirtual |
Write attributes to stream. This is called by put(stream)
Reimplemented from DtMetafileRecord.
|
protectedvirtual |
Given the name of a record's attribute, returns its value in the 'value' parameter.
Returns True if successful; false otherwise
Reimplemented from DtMetafileRecord.
|
protectedvirtual |
identifies a token and returns true if the value can be set to it, false otherwise
Reimplemented from DtMetafileRecord.
|
protectedvirtual |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |