lib45d
45Drives C++ Library API Documentation
|
24 #include <unordered_map>
34 std::unordered_map<std::string, ConfigNode>
43 ConfigNode(std::string value, std::unordered_map<std::string, ConfigNode> *sub_map)
74 other.sub_map_ =
nullptr;
85 value_ = std::move(other.value_);
86 sub_map_ = std::move(other.sub_map_);
88 other.sub_map_ =
nullptr;
ConfigNode & operator=(ConfigNode &&other)
Assignment move constructor.
Definition: ConfigNode.hpp:84
std::unordered_map< std::string, ConfigNode > * sub_map_
Pointer to submap for config sections.
Definition: ConfigNode.hpp:35
ConfigNode(ConfigNode &&other)
Move constructor.
Definition: ConfigNode.hpp:70
~ConfigNode()
Destroy the ConfigNode object.
Definition: ConfigNode.hpp:96
ConfigNode(const ConfigNode &other)
Copy construct a new ConfigNode object.
Definition: ConfigNode.hpp:59
45Drives namespace
Definition: Bytes.hpp:27
ConfigNode(void)
Construct a new empty ConfigNode object.
Definition: ConfigNode.hpp:51
ConfigNode(std::string value, std::unordered_map< std::string, ConfigNode > *sub_map)
Construct a new ConfigNode object.
Definition: ConfigNode.hpp:43
std::string value_
string from config file after '='
Definition: ConfigNode.hpp:33
Class for config_map_ entries.
Definition: ConfigNode.hpp:31