Class is a adtf::base::configuration that allows the storing and loading of all contained properties to/from a xml file.
More...
|
tResult | StoreProperty (adtf_util::cString strPrefix, adtf_util::cDOMElement *pConfig) |
| Stores all properties of this instance in DOM pConfig. More...
|
|
Class is a adtf::base::configuration that allows the storing and loading of all contained properties to/from a xml file.
Definition at line 15 of file runtimeconfig.h.
◆ cRuntimeConfigFile()
Constructor.
- Parameters
-
[in] | strConfigFile | xml file to load and store runtime configuration |
◆ ClearAllProperties()
tResult ClearAllProperties |
( |
| ) |
|
◆ GetConfigFile()
adtf_util::cFilename GetConfigFile |
( |
| ) |
|
Setter for xml config file to load and store runtime configuration.
- Returns
- Path to config file
◆ Load()
Loads all properties from the configured xml file and stores it to this instance.
- Returns
- Standard result.
◆ Save()
Saves all properties of this instance to the configured xml file.
- Returns
- Standard result.
◆ SetConfigFile()
tVoid SetConfigFile |
( |
const adtf_util::cFilename & |
strFilename | ) |
|
Setter for xml config file to load and store runtime configuration.
- Returns
- Standard result.
- Parameters
-
[in] | strFilename | value to set |
◆ StoreProperty()
tResult StoreProperty |
( |
adtf_util::cString |
strPrefix, |
|
|
adtf_util::cDOMElement * |
pConfig |
|
) |
| |
|
private |
Stores all properties of this instance in DOM pConfig.
- Parameters
-
[in] | strPrefix | Prefix under which the properties are stored in DOM. |
[in] | pConfig | DOM to store data to. |
- Returns
- Standard result.