yast2-core
|
#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) |
![]() | |
virtual | ~IniBase () |
const char * | getName () const |
const char * | getComment () const |
int | getReadBy () const |
virtual void | clean () |
void | setName (const string &c) |
void | setComment (const string &c) |
void | setReadBy (int r) |
void | setDirty () |
void | initName (const string &c) |
void | initComment (const string &c) |
void | initReadBy (const int r) |
void | init (const string &n, const string &c, int rb) |
Private Attributes | |
string | val |
Additional Inherited Members | |
![]() | |
IniBase (int rb) | |
IniBase (const string &n) | |
bool | getMapString (const YCPMap &in, const string &k, string &s) |
helper for setAllDoIt More... | |
bool | getMapInteger (const YCPMap &in, const string &k, int &i) |
helper for setAllDoIt More... | |
![]() | |
string | name |
string | comment |
int | read_by |
bool | dirty |
Only the string value in addition to IniBase
|
inline |
|
inline |
explicit uninitialized constructor
|
inlinevirtual |
Constructs a map of the fields, for Read (.all...)
Reimplemented from IniBase.
References YCPMap::add(), and IniBase::getAllDoIt().
|
inline |
Referenced by IniSection::Dump(), IniSection::getMyValue(), and IniParser::write_helper().
|
inline |
changes values only if not dirty
References IniBase::dirty, and IniBase::init().
Referenced by IniSection::initValue().
|
inline |
changes value only if not dirty
References IniBase::dirty, and IniBase::read_by.
|
inline |
changes value only if not dirty
References IniBase::dirty.
|
inlinevirtual |
Reimplemented from IniBase.
References IniBase::getMapString(), IniBase::setAllDoIt(), and y2error.
Referenced by IniSection::setAllDoIt().
|
inline |
References IniBase::dirty.
Referenced by IniSection::setMyValue().
|
private |
value