autotier
Automatic Tiering Fuse Filesystem
|
23 #include <45d/config/ConfigParser.hpp>
Use this to switch to a certain config subsection to get a group of values.
Definition: ConfigSubsectionGuard.hpp:49
lib45d documentation (not included in this repo, see lib45d source)
Definition: main-page.dox:21
ConfigParser & config_
Reference to ConfigParser or inhereting class.
Definition: ConfigSubsectionGuard.hpp:72
bool guarded_
true if a ConfigSubsectionGuard is in scope Set in ConfigSubsectionGuard::ConfigSubsectionGuard() Cle...
Definition: ConfigParser.hpp:395
Throw this exception when a ConfigGuard is constructed or get_from() is called when the config is alr...
Definition: Exceptions.hpp:73
void set_subsection(const std::string §ion)
Update config_map_ptr_ to the subconfig map for section.
Definition: ConfigParser.hpp:434
~ConfigSubsectionGuard(void)
Destroy the Config Subsection Guard object.
Definition: ConfigSubsectionGuard.hpp:67
void reset_subsection(void) noexcept
Set config_map_ptr_ back to the address of config_map_.
Definition: ConfigParser.hpp:444
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:67