|
The SWORD Project
1.9.0.svnversion
|
#include <utilxml.h>
Collaboration diagram for XMLTag:Public Member Functions | |
| const char * | getAttribute (const char *attribName, int partNum=-1, char partSplit= '|') const |
| const StringList | getAttributeNames () const |
| int | getAttributePartCount (const char *attribName, char partSplit= '|') const |
| const char * | getName () const |
| bool | isEmpty () const |
| bool | isEndTag (const char *eID=0) const |
| operator const char * () const | |
| XMLTag & | operator= (const char *tagString) |
| XMLTag & | operator= (const XMLTag &other) |
| const char * | setAttribute (const char *attribName, const char *attribValue, int partNum=-1, char partSplit= '|') |
| void | setEmpty (bool value) |
| void | setEndTag (bool value) |
| void | setText (const char *tagString) |
| const char * | toString () const |
| XMLTag (const char *tagString=0) | |
| XMLTag (const XMLTag &tag) | |
| ~XMLTag () | |
Private Member Functions | |
| const char * | getPart (const char *buf, int partNum=0, char partSplit= '|') const |
| void | parse () const |
Private Attributes | |
| StringPairMap | attributes |
| char * | buf |
| bool | empty |
| bool | endTag |
| SWBuf | junkBuf |
| char * | name |
| bool | parsed |
| XMLTag::XMLTag | ( | const char * | tagString = 0 | ) |
Definition at line 118 of file utilxml.cpp.
Definition at line 126 of file utilxml.cpp.
| XMLTag::~XMLTag | ( | ) |
Definition at line 180 of file utilxml.cpp.
| const char * XMLTag::getAttribute | ( | const char * | attribName, |
| int | partNum = -1, |
||
| char | partSplit = '|' |
||
| ) | const |
Definition at line 230 of file utilxml.cpp.
| const StringList XMLTag::getAttributeNames | ( | ) | const |
Definition at line 188 of file utilxml.cpp.
| int XMLTag::getAttributePartCount | ( | const char * | attribName, |
| char | partSplit = '|' |
||
| ) | const |
Definition at line 218 of file utilxml.cpp.
|
private |
Definition at line 201 of file utilxml.cpp.
| bool XMLTag::isEndTag | ( | const char * | eID = 0 | ) | const |
Definition at line 323 of file utilxml.cpp.
|
private |
Definition at line 32 of file utilxml.cpp.
| const char * XMLTag::setAttribute | ( | const char * | attribName, |
| const char * | attribValue, | ||
| int | partNum = -1, |
||
| char | partSplit = '|' |
||
| ) |
Definition at line 248 of file utilxml.cpp.
| void XMLTag::setText | ( | const char * | tagString | ) |
Definition at line 143 of file utilxml.cpp.
| const char * XMLTag::toString | ( | ) | const |
Definition at line 285 of file utilxml.cpp.
|
mutableprivate |