|
| CfgCtx (CfgMap &cfgmap_p) |
|
void | add (const kv_t &kv) |
|
int | parsefile (const std::string &filename) |
|
int | parse (const std::string &s) |
|
void | error (const cfgyy::location &l, const std::string &m) |
|
◆ parse()
int cfg::CfgCtx::parse |
( |
const std::string & |
s | ) |
|
Parse a string of key-values. The string must be terminated by a new-line.
◆ parsefile()
int cfg::CfgCtx::parsefile |
( |
const std::string & |
filename | ) |
|
Parse a file of key-values with format key=value. Value is specified as an integer, a double or a string (possibly quoted) which all follow C syntax.
The documentation for this struct was generated from the following files: