class DtMtlParameterDbReader:
More...
Protected Member Functions |
| virtual DtMtlParameterDbFileData * | createParameterDbFileData () |
| | Factory method that creates the DtMtlParameterDbFileData object used in loadParameterDb().
|
| virtual bool | load (const DtFilename ¶meterDbFile, DtMtlParameterDbFileData *paramDbFileData, DtFilename &dataPath) |
| | Load contents of parameter database file (.opd) into DtMtlParameterDbFileData object.
|
| virtual bool | load (const DtFilename ¶meterDbFile, DtVrfObjectParametersList *objectParamList) |
| | Load contents of legacy format parameter database file (pre-VR-Forces version 3.7 *.opd file) into DtVrfObjectParametersList object.
|
| virtual bool | putFileDataInParameterDb (const DtMtlParameterDbFileData ¶mDbFileData, const DtFilename &opdLocation, DtMtlParameterDb *parameterDb) |
| | Set contents of parameter database from DtMtlParameterDbFileData object.
|
| virtual bool | putFileDataInParameterDb (const DtVrfObjectParametersList &objectParamList, DtMtlParameterDb *parameterDb) |
| | Set contents of parameter database from DtVrfObjectParametersList object.
|
| virtual void | setFilenamePathsRelativeToFile (const DtFilename ¶meterDbFile, DtMtlParameterDbFileData *paramDbFileData) |
| | Sets all of the filenames referenced in given parameter file to a path relative to to given filename.
|
| virtual bool | readFileData (const DtFilename &, DtMtlParameterDbFileData *, FILE *, DtFilename &dataPath) |
| | dataPath is set to the directory where the data files can be found.
|
| virtual void | entryAddedFor (DtMtlParameterDbFileEntry *oldEntry, DtMtlParameterDbEntry *newEntry) |
| | Called when an item is added to the database, this lets the developer know that a previous entry is being replaced by the new entry.
|
Detailed Description
class DtMtlParameterDbReader:
Instances of DtMtlParameterDbReader are used to load MTL format parameter database files (.opd) into a given DtMtlParameterDb object.
Constructor & Destructor Documentation
| DtMtlParameterDbReader::DtMtlParameterDbReader |
( |
| ) |
|
| virtual DtMtlParameterDbReader::~DtMtlParameterDbReader |
( |
| ) |
|
|
virtual |
copy constructor - not implemented
Member Function Documentation
| virtual bool DtMtlParameterDbReader::loadParameterDb |
( |
const DtFilename & |
parameterDbFile, |
|
|
DtMtlParameterDb * |
parameterDb |
|
) |
| |
|
virtual |
Loads the given parameter database file.
| virtual bool DtMtlParameterDbReader::load |
( |
const DtFilename & |
parameterDbFile, |
|
|
DtMtlParameterDbFileData * |
paramDbFileData, |
|
|
DtFilename & |
dataPath |
|
) |
| |
|
protectedvirtual |
Load contents of parameter database file (.opd) into DtMtlParameterDbFileData object.
dataPath is set to the path where the data files can be found.
Load contents of legacy format parameter database file (pre-VR-Forces version 3.7 *.opd file) into DtVrfObjectParametersList object.
Set contents of parameter database from DtMtlParameterDbFileData object.
opdLocation specifies the path to the opd file being loaded. This is used to know the start of the paths to the OPE entries inside the OPD.
| virtual void DtMtlParameterDbReader::setFilenamePathsRelativeToFile |
( |
const DtFilename & |
parameterDbFile, |
|
|
DtMtlParameterDbFileData * |
paramDbFileData |
|
) |
| |
|
protectedvirtual |
Sets all of the filenames referenced in given parameter file to a path relative to to given filename.
dataPath is set to the directory where the data files can be found.
Called when an item is added to the database, this lets the developer know that a previous entry is being replaced by the new entry.
assignment operator - not implemented
The documentation for this class was generated from the following file: