#include <ConfigMap.hpp>
Definition at line 47 of file ConfigMap.hpp.
◆ ConfigMap() [1/3]
configmaps::ConfigMap::ConfigMap |
( |
const YAML::Node & |
n | ) |
|
Create and fill the object with values from YAML node.
- Parameters
-
n | The node containing the data. |
Definition at line 21 of file ConfigMap.cpp.
◆ ConfigMap() [2/3]
configmaps::ConfigMap::ConfigMap |
( |
const Json::Value & |
v | ) |
|
Create and fill the object with values from Json value.
- Parameters
-
v | The value containing the data. |
Definition at line 32 of file ConfigMap.cpp.
◆ ConfigMap() [3/3]
configmaps::ConfigMap::ConfigMap |
( |
| ) |
|
|
inline |
◆ dumpToJsonValue()
void configmaps::ConfigMap::dumpToJsonValue |
( |
Json::Value & |
root | ) |
const |
|
virtual |
◆ dumpToYamlEmitter()
void configmaps::ConfigMap::dumpToYamlEmitter |
( |
YAML::Emitter & |
emitter | ) |
const |
|
virtual |
◆ fromJsonStream()
ConfigMap configmaps::ConfigMap::fromJsonStream |
( |
std::istream & |
in | ) |
|
|
static |
◆ fromJsonString()
ConfigMap configmaps::ConfigMap::fromJsonString |
( |
const std::string & |
s | ) |
|
|
static |
◆ fromYamlFile()
ConfigMap configmaps::ConfigMap::fromYamlFile |
( |
const std::string & |
filename, |
|
|
bool |
loadURI = false |
|
) |
| |
|
static |
◆ fromYamlStream()
ConfigMap configmaps::ConfigMap::fromYamlStream |
( |
std::istream & |
in | ) |
|
|
static |
◆ fromYamlString()
ConfigMap configmaps::ConfigMap::fromYamlString |
( |
const std::string & |
s | ) |
|
|
static |
◆ get()
template<typename T >
T configmaps::ConfigMap::get |
( |
const std::string & |
key, |
|
|
const T & |
defaultValue |
|
) |
| |
|
inline |
◆ getOrCreate()
template<typename T >
T configmaps::ConfigMap::getOrCreate |
( |
const std::string & |
key, |
|
|
const T & |
defaultValue |
|
) |
| |
|
inline |
◆ hasKey()
bool configmaps::ConfigMap::hasKey |
( |
std::string |
key | ) |
|
◆ operator[]() [1/2]
ConfigItem& configmaps::ConfigMap::operator[] |
( |
const std::string & |
name | ) |
|
|
inline |
◆ operator[]() [2/2]
ConfigItem& configmaps::ConfigMap::operator[] |
( |
const char * |
name | ) |
|
|
inline |
◆ updateMap()
void configmaps::ConfigMap::updateMap |
( |
ConfigMap & |
update | ) |
|
The documentation for this class was generated from the following files: