#include <Config.hpp>
Inheritance diagram for Ionflux::Tools::Config:
Public Member Functions | |
Config () | |
Constructor. | |
virtual | ~Config () |
Destructor. | |
virtual void | clear ()=0 |
Clear all configuration data. | |
virtual void | readConfig (const std::string &configFile)=0 |
Read configuration from a file. | |
virtual void | writeConfig (const std::string &configFile)=0 |
Write configuration to a file. | |
virtual void | writeConfig ()=0 |
Write configuration to a file. | |
virtual std::string | get (const std::string &key)=0 |
Get a configuration value. | |
virtual void | set (const std::string &key, const std::string &value)=0 |
Set a configuration value. |
Encapsulates configuration data as a set of key/value pairs.
|
Constructor. Construct new ConfigMap object. |
|
Destructor. Destruct Config object. |
|
Clear all configuration data. Effectively erases all configuration data from the Config object. Implemented in Ionflux::Tools::ConfigMap, and Ionflux::Tools::ConfigTree. |
|
Get a configuration value. Fetches the value of a configuration option from the configuration table.
Implemented in Ionflux::Tools::ConfigMap, and Ionflux::Tools::ConfigTree. |
|
Read configuration from a file. Reads data from a configuration file and stores it in the configuration table.
Implemented in Ionflux::Tools::ConfigMap, and Ionflux::Tools::ConfigTree. |
|
Set a configuration value. Sets the configuration option denoted by key to value.
Implemented in Ionflux::Tools::ConfigMap, and Ionflux::Tools::ConfigTree. |
|
Write configuration to a file. Writes configuration data stored in the Config object to the same file it was read from. Implemented in Ionflux::Tools::ConfigMap, and Ionflux::Tools::ConfigTree. |
|
Write configuration to a file. Writes configuration data stored in the Config object to a file.
Implemented in Ionflux::Tools::ConfigMap, and Ionflux::Tools::ConfigTree. |