One element in the FUX tree.
More...
#include <FUX.h>
One element in the FUX tree.
FUX::Element::Element |
( |
Element * |
parent, |
|
|
const stdString & |
name |
|
) |
| |
Create new, empty element.
When parent is given, this element is added to the parent.
FUX::Element::Element |
( |
Element * |
parent, |
|
|
const stdString & |
name, |
|
|
const stdString & |
value |
|
) |
| |
Create new element with value.
When parent is given, this element is added to the parent.
FUX::Element::~Element |
( |
| ) |
|
FUX::Element::__attribute__ |
( |
(format(printf, 4, 5)) |
| ) |
|
Create Element, using printf-style format and args for value.
When parent is given, this element is added to the parent.
void FUX::Element::append |
( |
const char * |
text, |
|
|
size_t |
len |
|
) |
| |
|
inline |
Element* FUX::Element::find |
( |
const char * |
name | ) |
|
- Returns
- Returns the first child of given name or 0.
stdList<Element *>& FUX::Element::getChildren |
( |
| ) |
|
|
inline |
- Returns
- Returns the list of child elements.
const stdString& FUX::Element::getName |
( |
| ) |
const |
|
inline |
- Returns
- Returns the element name.
Element* FUX::Element::getParent |
( |
| ) |
|
|
inline |
- Returns
- Returns the parent element (may be 0).
const stdString& FUX::Element::getValue |
( |
| ) |
const |
|
inline |
- Returns
- Returns the element value.
The documentation for this class was generated from the following file:
- /home/malitsky/projects/epics-archiver/sourceforge/trunk/ea4-cpp/include/common/tools/FUX.h