The CfgParser class for INI/CFG file parsing.
More...
#include <zupply.hpp>
The CfgParser class for INI/CFG file parsing.
zz::cfg::CfgParser::CfgParser |
( |
std::string |
filename | ) |
|
CfgParser constructor from filename.
- Parameters
-
zz::cfg::CfgParser::CfgParser |
( |
std::istream & |
s | ) |
|
|
inline |
CfgParser constructor from stream.
- Parameters
-
CfgLevel& zz::cfg::CfgParser::operator() |
( |
const std::string & |
name | ) |
|
|
inline |
Overloaded operator () for config sections.
- Parameters
-
- Returns
- Section from given name.
Value zz::cfg::CfgParser::operator[] |
( |
const std::string & |
name | ) |
|
|
inline |
Overloaded operator [] for config values.
- Parameters
-
- Returns
- Value
Get root section of configuration.
- Returns
- Root level of config file
The documentation for this class was generated from the following files: