![]() |
VR-Forces Development_Version Class Documentation
|
Settings class for reading and writing settings to/from files. More...

Public Member Functions | |
| DtElementDefinitionSettings (DtDe &de, const std::string &name, const std::string &ext) | |
| CTOR After creation this should be registered with the DtDeSettingsManager. | |
| virtual | ~DtElementDefinitionSettings () |
| DTOR. | |
| virtual std::string | defaultFilePath () const |
| virtual std::string | defaultBinaryFilePath () const |
| virtual std::string | factoryFilePath () const |
| virtual std::string | backupFilePath () const |
Public Member Functions inherited from makVrv::DtDeSettings | |
| virtual | ~DtDeSettings () |
| DTOR. | |
| const std::string & | name () const |
| Get the settings name. | |
| const std::string & | extension () const |
| Get the extension for this settings type. | |
| template<typename RecordType > | |
| bool | readDefaultRecord (RecordType &r) |
| Read a record from the default settings. | |
| template<typename RecordType > | |
| bool | readBackupRecord (RecordType &r) |
| Read a record from the default settings. | |
| template<typename RecordType > | |
| bool | readFactoryDefaultRecord (RecordType &r) |
| template<typename RecordType > | |
| bool | writeDefaultRecord (const RecordType &r) |
| Write a record as the default settings. | |
| template<typename RecordType > | |
| bool | writeBackupRecord (const RecordType &r) |
| Write a record as the default settings. | |
| template<typename RecordType > | |
| bool | readRecordFrom (RecordType &r, const std::string &importFileName) |
| Read a record from a specific location. | |
| template<typename RecordType > | |
| bool | readRecordFromBinary (RecordType &r, const std::string &importFileName) |
| Read a record from a specific location. | |
| template<typename RecordType > | |
| bool | writeRecordTo (const RecordType &r, const std::string &exportFileName) const |
| Write a record to a specific location. | |
| template<typename RecordType > | |
| bool | writeRecordToBinary (const RecordType &r, const std::string &exportFileName) const |
| Write a record to a specific location. | |
| void | setAutoSave (bool b) |
| bool | autoSave () const |
| bool | defaultFileExists () const |
| bool | defaultBinaryFileExists () const |
| bool | factoryFileExists () const |
| bool | backupFileExists () const |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtDeSettings | |
| static std::string | binaryFileExtension (void) |
Protected Member Functions inherited from makVrv::DtDeSettings | |
| DtDeSettings (DtDe &de, const std::string &name, const std::string &ext) | |
Protected Attributes inherited from makVrv::DtDeSettings | |
| DtDe & | myDe |
| std::string | myName |
| std::string | myExtension |
| bool | myAutoSave |
Static Protected Attributes inherited from makVrv::DtDeSettings | |
| static const std::string | myBinaryFileExtension |
Settings class for reading and writing settings to/from files.
| makVrv::DtElementDefinitionSettings::DtElementDefinitionSettings | ( | DtDe & | de, |
| const std::string & | name, | ||
| const std::string & | ext | ||
| ) |
CTOR After creation this should be registered with the DtDeSettingsManager.
|
virtual |
DTOR.
|
virtual |
Reimplemented from makVrv::DtDeSettings.
|
virtual |
Reimplemented from makVrv::DtDeSettings.
|
virtual |
Reimplemented from makVrv::DtDeSettings.
|
virtual |
Reimplemented from makVrv::DtDeSettings.