|
autotier
Automatic Tiering Fuse Filesystem
|
Use this to switch to a certain config subsection to get a group of values. More...
#include <ConfigSubsectionGuard.hpp>

Public Member Functions | |
| ConfigSubsectionGuard (ConfigParser &config, const std::string §ion) | |
| Construct a new Config Subsection Guard object. More... | |
| ~ConfigSubsectionGuard (void) | |
| Destroy the Config Subsection Guard object. More... | |
Private Attributes | |
| ConfigParser & | config_ |
| Reference to ConfigParser or inhereting class. | |
Use this to switch to a certain config subsection to get a group of values.
Inside ConfigParser method:
Any other scope:
Full Example:
|
inline |
Construct a new Config Subsection Guard object.
| config | ///< Reference to a ConfigParser or inhereting class |
| section | ///< Section name to switch to |
|
inline |
Destroy the Config Subsection Guard object.
1.8.17