lib45d
45Drives C++ Library API Documentation
|
23 #include <45d/config/ConfigParser.hpp>
60 "Tried to guard config when ConfigSubsectionGuard already in scope"));
61 config_.guarded_ =
true;
62 config_.set_subsection(section);
69 config_.reset_subsection();
70 config_.guarded_ =
false;
Use this to switch to a certain config subsection to get a group of values.
Definition: ConfigSubsectionGuard.hpp:49
45Drives namespace
Definition: Bytes.hpp:27
Throw this exception when a ConfigGuard is constructed or get_from() is called when the config is alr...
Definition: Exceptions.hpp:58
~ConfigSubsectionGuard(void)
Destroy the Config Subsection Guard object.
Definition: ConfigSubsectionGuard.hpp:68
ConfigSubsectionGuard(ConfigParser &config, const std::string §ion)
Construct a new Config Subsection Guard object.
Definition: ConfigSubsectionGuard.hpp:57
Main configuration parser class to inherit from in your code.
Definition: ConfigParser.hpp:68