81 void init(
const string &n,
const string&c,
int rb)
107 if (v.
isNull () || !v->isString ())
109 y2error (
"Missing in Write (.all): %s", k.c_str ());
112 s = v->asString ()->value ();
119 if (v.
isNull () || !v->isInteger ())
121 y2error (
"Missing in Write (.all): %s", k.c_str ());
124 i = v->asInteger ()->value ();
163 void init(
const string &n,
const string &c,
int rb,
const string &v)
184 if (!
getMapString (in,
"kind", kind) || kind !=
"value")
186 y2error (
"Kind should be 'value'");
466 IniBase::operator = (s);
497 void initValue (
const string&key,
const string&val,
const string&
comment,
int rb);
537 virtual void clean();
563 int findEndFromUp(
const vector<string>&path,
int wanted,
int found = -1,
int from = 0);
652 #endif//__IniFile_h__