#include <IniFile.h>
Inheritance diagram for IniBase:
Public Member Functions | |
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) |
Protected Member Functions | |
IniBase (int rb) | |
IniBase (const string &n) | |
virtual YCPMap | getAllDoIt () |
bool | getMapString (const YCPMap &in, const string &k, string &s) |
helper for setAllDoIt | |
bool | getMapInteger (const YCPMap &in, const string &k, int &i) |
helper for setAllDoIt | |
virtual int | setAllDoIt (const YCPMap &in) |
Protected Attributes | |
string | name |
string | comment |
int | read_by |
bool | dirty |
|
IniSection default ctor sets to -1. Why? |
|
Used by another IniSection ctor |
|
|
|
set dirty flag to false Reimplemented in IniSection. |
|
Constructs a map of the fields, for Read (.all...) Reimplemented in IniEntry, and IniSection. |
|
|
|
helper for setAllDoIt
|
|
helper for setAllDoIt
|
|
|
|
|
|
changes values only if not dirty |
|
changes value only if not dirty |
|
changes value only if not dirty |
|
changes value only if not dirty Reimplemented in IniEntry. |
|
Reimplemented in IniEntry, and IniSection. |
|
changes and sets dirty flag |
|
sets dirty flag |
|
changes and sets dirty flag |
|
changes and sets dirty flag |
|
comment |
|
changed? |
|
name |
|
index to params/sections in IniParser using which this item was read |