|
Public Types |
typedef std::multimap< std::string,
std::string > | value_map |
| typedef value_map::const_iterator | value_iterator |
typedef std::multimap< std::string,
Key * > | key_map |
| typedef key_map::const_iterator | key_iterator |
Public Member Functions |
| const std::string & | value (const std::string &name, const std::string &def) |
| | Retrieve config value.
|
| void | setValue (const std::string &name, const std::string &value) |
| | Set config value.
|
| void | removeValue (const std::string &name) |
| Key * | key (const std::string &name) |
| | Retrieve pointer to config key.
|
| Key * | addKey (const std::string &name) |
| | Add config key.
|
| void | removeKey (const std::string &name) |
| | Remove config key.
|
| const value_map & | values () const |
| const key_map & | keys () const |
Protected Member Functions |
| | Key (Config *cfg, const std::string &name) |
| | ~Key () |
Friends |
| class | Config |