Inheritance diagram for CXmlEl:
Public Methods | |
bool | parse (const byte *src, int sz, const char *codepage=0) |
Base parse method. | |
virtual CXmlEl * | parent () |
Gets element's parent node. | |
virtual CXmlEl * | next () |
Gets element's following sibling node. | |
virtual CXmlEl * | prev () |
Gets element's preceding sibling node. | |
virtual CXmlEl * | child () |
Gets element's first child node. | |
ElType | getType () |
Current element's type. | |
const String * | getName () |
Gets element's name. | |
const String * | getContent () |
Gets content of character data nodes. | |
int | getParamCount () |
Gets element's number of parameters. | |
const String * | getParamName (int no) |
Returns name of parameter with index no. | |
const String * | getParamValue (int no) |
Returns value of parameter with index no. | |
const String * | getParamValue (const String &par) |
Returns parameter's value by name. | |
bool | getParamValue (const String &par, int *result) |
Returns integer parameter's value. | |
bool | getParamValue (const String &par, double *result) |
Returns double parameter's value. | |
CXmlEl * | search (const String &tagname) |
Searches for tagname element. | |
CXmlEl * | enumChildred (int no) |
Enumerates element's childred by no index. | |
virtual CXmlEl * | fPrev () |
Moving in full tree hierarchy. | |
virtual CXmlEl * | fNext () |
Moving in full tree hierarchy. | |
virtual CXmlEl * | fFirst () |
Moving in full tree hierarchy. | |
virtual CXmlEl * | fLast () |
Moving in full tree hierarchy. | |
Protected Methods | |
virtual bool | init () |
for derived classes | |
virtual CXmlEl * | createNew (ElType type, CXmlEl *parent, CXmlEl *after) |
for derived classes | |
void | destroyLevel () |
Recursive object cleanup. | |
void | insert (CXmlEl *El) |
Protected Attributes | |
String * | content |
String * | name |
CXmlEl * | eparent |
CXmlEl * | enext |
CXmlEl * | eprev |
CXmlEl * | echild |
int | chnum |
ElType | type |
Hashtable< const String * > | params |
|
Base parse method.
constructs XML tree from
|
|
Searches for
|