Public Member Functions | |
OFConfigFileNode (const char *keyword) | |
constructor. | |
~OFConfigFileNode () | |
destructor, recursively deletes whole tree | |
const char * | getKeyword () const |
return keyword as C string | |
const char * | getValue () const |
return current value as C string | |
void | setValue (const char *c) |
set value from C string | |
OFBool | match (const char *c) const |
check if keyword matches given string | |
OFConfigFileNode * | getBrother () const |
return pointer to next object in tree on same level | |
OFConfigFileNode * | getSon () const |
return pointer to next object in tree on lower level | |
void | setBrother (OFConfigFileNode *brother) |
set pointer to next object in tree on same level | |
void | setSon (OFConfigFileNode *son) |
set pointer to next object in tree on lower level | |
Private Member Functions | |
OFConfigFileNode (const OFConfigFileNode &arg) | |
private undefined copy constructor | |
OFConfigFileNode & | operator= (const OFConfigFileNode &arg) |
private undefined copy assignment operator | |
Private Attributes | |
OFConfigFileNode * | brother_ |
pointer to next object in tree on same level | |
OFConfigFileNode * | son_ |
pointer to next object in tree on lower level | |
OFString | keyword_ |
configuration keyword | |
OFString | value_ |
configuration value |
Internal use only.
Definition at line 80 of file ofconfig.h.
|
constructor.
|
|
return pointer to next object in tree on same level
Definition at line 125 of file ofconfig.h. References brother_. |
|
return pointer to next object in tree on lower level
Definition at line 133 of file ofconfig.h. References son_. |
|
check if keyword matches given string
Definition at line 117 of file ofconfig.h. References keyword_. |
|
set pointer to next object in tree on same level
Definition at line 141 of file ofconfig.h. References brother_. |
|
set pointer to next object in tree on lower level
Definition at line 149 of file ofconfig.h. References son_. |
|
set value from C string
Definition at line 108 of file ofconfig.h. References value_. |