#include <AP_Xml.h>
Public Member Functions | |
void | AddChild (const AP_Xml &xml) |
AP_Xml (const AP_String &text) | |
AP_Xml (void) | |
const AP_Xml & | Child (const AP_String &name, const AP_Uint32 count=0) const |
const AP_XmlList & | children (void) const |
Inline. | |
AP_XmlList | Children (const AP_String &name) const |
AP_Bool | IsChild (const AP_String &name) const |
AP_Bool | IsParam (const AP_String &name) const |
AP_String | name (void) const |
AP_String | Param (const AP_String ¶m, const AP_Uint32 count=0) const |
const AP_Hash & | params (void) const |
AP_Array | Params (const AP_String ¶m) const |
AP_Bool | SetName (const AP_String &name) |
AP_Bool | SetParams (const AP_String ¶ms) |
AP_String | ToText (const AP_String &prefix="") |
AP_Bool | valid (void) const |
virtual | ~AP_Xml (void) |
Protected Member Functions | |
AP_Bool | buildRecursive (AP_String &text) |
AP_Bool | extractName (AP_String &text, AP_String &name) |
AP_Bool | extractParam (AP_String &text, AP_String ¶m) |
Protected Attributes | |
AP_String | _m_name |
AP_Hash | _m_params |
AP_XmlList | _m_xml |
AP_Xml | ( | void | ) |
~AP_Xml | ( | void | ) | [virtual] |
void AddChild | ( | const AP_Xml & | xml | ) |
const AP_XmlList& children | ( | void | ) | const [inline] |
Inline.
AP_XmlList Children | ( | const AP_String & | name | ) | const |
AP_String name | ( | void | ) | const [inline] |
const AP_Hash& params | ( | void | ) | const [inline] |
AP_Bool valid | ( | void | ) | const [inline] |
AP_XmlList _m_xml [protected] |