#include <IniFile.h>

Public Member Functions | |
| IniEntry () | |
| IniEntry (const char *u) | |
| const char * | getValue () const |
| void | setValue (const string &c) |
| void | initValue (const string &c) |
| void | initReadBy (const int r) |
| void | init (const string &n, const string &c, int rb, const string &v) |
| YCPMap | getAllDoIt () |
| int | setAllDoIt (const YCPMap &in) |
Private Attributes | |
| string | val |
| IniEntry::IniEntry | ( | ) | [inline] |
| IniEntry::IniEntry | ( | const char * | u | ) | [inline] |
explicit uninitialized constructor
| YCPMap IniEntry::getAllDoIt | ( | ) | [inline, virtual] |
Constructs a map of the fields, for Read (.all...)
Reimplemented from IniBase.
References YCPMap::add(), and val.
| const char* IniEntry::getValue | ( | ) | const [inline] |
References val.
Referenced by IniSection::Dump(), IniSection::getMyValue(), and IniParser::write_helper().
| void IniEntry::init | ( | const string & | n, | |
| const string & | c, | |||
| int | rb, | |||
| const string & | v | |||
| ) | [inline] |
changes values only if not dirty
References IniBase::dirty, and val.
Referenced by IniSection::initValue().
| void IniEntry::initReadBy | ( | const int | r | ) | [inline] |
changes value only if not dirty
Reimplemented from IniBase.
References IniBase::dirty, and IniBase::read_by.
| void IniEntry::initValue | ( | const string & | c | ) | [inline] |
changes value only if not dirty
References IniBase::dirty, and val.
| int IniEntry::setAllDoIt | ( | const YCPMap & | in | ) | [inline, virtual] |
Reimplemented from IniBase.
References IniBase::getMapString(), val, and y2error.
Referenced by IniSection::setAllDoIt().
| void IniEntry::setValue | ( | const string & | c | ) | [inline] |
string IniEntry::val [private] |
value
Referenced by getAllDoIt(), getValue(), init(), initValue(), setAllDoIt(), and setValue().
1.5.9