VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrv::DtDeSettingsManager Class Reference

A manager of all of the settings. More...

Inheritance diagram for makVrv::DtDeSettingsManager:
Inheritance graph
[legend]

List of all members.

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.
DtDeSettingsfindSettings (const std::string &settingsType)
 Get the settings object for a particular settings type.
DtDeSettingsfindSettingsByExtension (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.

Static Public Member Functions

static DtDeSettingsManagerinstance (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

DtDemyDe
SettingsMap mySettings

Detailed Description

A manager of all of the settings.


Member Typedef Documentation

typedef std::map<std::string,DtDeSettings*> makVrv::DtDeSettingsManager::SettingsMap [protected]
typedef std::map<std::string, std::string> makVrv::DtDeSettingsManager::SettingsToFileMap [protected]

Constructor & Destructor Documentation

DTOR.

CTOR.


Member Function Documentation

void makVrv::DtDeSettingsManager::createSettings ( const std::string &  settingsType,
const std::string &  settingsExt 
)
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.

Warning:
Do not delete this pointer.

Referenced by makVrv::DtRecordSettingsBackupInterface::DtRecordSettingsBackupInterface(), and makVrv::DtCommonBaseSettingsManager< makArchives::DtEntitySettingsRecord >::settings().

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.

Warning:
Do not delete this pointer.

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)