IniEntry Class Reference

#include <IniFile.h>

Inheritance diagram for IniEntry:

IniBase

List of all members.

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


Detailed Description

Only the string value in addition to IniBase

Constructor & Destructor Documentation

IniEntry::IniEntry (  )  [inline]

IniEntry::IniEntry ( const char *  u  )  [inline]

explicit uninitialized constructor


Member Function Documentation

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]

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]

References IniBase::dirty, and val.

Referenced by IniSection::setMyValue().


Member Data Documentation

string IniEntry::val [private]


The documentation for this class was generated from the following file:

Generated on a sunny day for yast2-core by doxygen 1.5.9