![]() |
VR-Forces 4.1.1 Class Documentation
|
A manager of all of the settings. More...

Public Member Functions | |
| virtual | ~DtDeSettingsManager () |
| DTOR. | |
| void | createSettings (const std::string &settingsType, const std::string &settingsExt) |
| Create a settings object with a name and extension. | |
| DtDeSettings * | findSettings (const std::string &settingsType) |
| Get the settings object for a particular settings type. | |
| DtDeSettings * | findSettingsByExtension (const std::string &settingsEx) |
| Get the settings object for a particular settings type by it's extension. | |
| void | registerSettings (DtDeSettings *settings) |
| Register a settings object Use createSettings instead whenever possible; if it's absolutely necessary to use a custom DtDeSettings subclass, use this method to register it instead. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtDeSettingsManager & | instance (DtDe &de) |
| Get an instance of the settings manager. | |
Protected Types | |
| typedef std::map< std::string, DtDeSettings * > | SettingsMap |
| typedef std::map< std::string, std::string > | SettingsToFileMap |
Protected Member Functions | |
| DtDeSettingsManager (DtDe &) | |
| CTOR. | |
Protected Attributes | |
| DtDe & | myDe |
| SettingsMap | mySettings |
A manager of all of the settings.
|
protected |
|
protected |
|
virtual |
DTOR.
|
protected |
CTOR.
|
static |
Get an instance of the settings manager.
Referenced by makVrv::DtCommonBaseSettingsManager< makArchives::DtEntitySettingsRecord >::DtCommonBaseSettingsManager(), makVrv::DtRecordSettingsBackupInterface::DtRecordSettingsBackupInterface(), and makVrv::DtCommonBaseSettingsManager< makArchives::DtEntitySettingsRecord >::settings().
| void makVrv::DtDeSettingsManager::createSettings | ( | const std::string & | settingsType, |
| const std::string & | settingsExt | ||
| ) |
Create a settings object with a name and extension.
Referenced by makVrv::DtCommonBaseSettingsManager< makArchives::DtEntitySettingsRecord >::DtCommonBaseSettingsManager().
| DtDeSettings* makVrv::DtDeSettingsManager::findSettings | ( | const std::string & | settingsType | ) |
Get the settings object for a particular settings type.
If the Settings of the given type does not exist it returns a null pointer.
Referenced by makVrv::DtRecordSettingsBackupInterface::DtRecordSettingsBackupInterface(), and makVrv::DtCommonBaseSettingsManager< makArchives::DtEntitySettingsRecord >::settings().
| DtDeSettings* makVrv::DtDeSettingsManager::findSettingsByExtension | ( | const std::string & | settingsEx | ) |
Get the settings object for a particular settings type by it's extension.
If the Settings of the given type does not exist it returns a null pointer.
| void makVrv::DtDeSettingsManager::registerSettings | ( | DtDeSettings * | settings | ) |
Register a settings object Use createSettings instead whenever possible; if it's absolutely necessary to use a custom DtDeSettings subclass, use this method to register it instead.
Transfers ownership.
|
protected |
|
protected |