#include <tinyxml2.h>
Public Types | |
enum | { NEEDS_ENTITY_PROCESSING = 0x01, NEEDS_NEWLINE_NORMALIZATION = 0x02, NEEDS_WHITESPACE_COLLAPSING = 0x04, TEXT_ELEMENT = NEEDS_ENTITY_PROCESSING | NEEDS_NEWLINE_NORMALIZATION, TEXT_ELEMENT_LEAVE_ENTITIES = NEEDS_NEWLINE_NORMALIZATION, ATTRIBUTE_NAME = 0, ATTRIBUTE_VALUE = NEEDS_ENTITY_PROCESSING | NEEDS_NEWLINE_NORMALIZATION, ATTRIBUTE_VALUE_LEAVE_ENTITIES = NEEDS_NEWLINE_NORMALIZATION, COMMENT = NEEDS_NEWLINE_NORMALIZATION } |
Public Member Functions | |
bool | Empty () const |
const char * | GetStr () |
char * | ParseName (char *in) |
char * | ParseText (char *in, const char *endTag, int strFlags, int *curLineNumPtr) |
void | Reset () |
void | Set (char *start, char *end, int flags) |
void | SetInternedStr (const char *str) |
void | SetStr (const char *str, int flags=0) |
StrPair () | |
void | TransferTo (StrPair *other) |
~StrPair () | |
Private Types | |
enum | { NEEDS_FLUSH = 0x100, NEEDS_DELETE = 0x200 } |
Private Member Functions | |
void | CollapseWhitespace () |
void | operator= (StrPair &other) |
StrPair (const StrPair &other) | |
Private Attributes | |
char * | _end |
int | _flags |
char * | _start |
Definition at line 125 of file tinyxml2.h.
anonymous enum |
NEEDS_ENTITY_PROCESSING | |
NEEDS_NEWLINE_NORMALIZATION | |
NEEDS_WHITESPACE_COLLAPSING | |
TEXT_ELEMENT | |
TEXT_ELEMENT_LEAVE_ENTITIES | |
ATTRIBUTE_NAME | |
ATTRIBUTE_VALUE | |
ATTRIBUTE_VALUE_LEAVE_ENTITIES | |
COMMENT |
Definition at line 128 of file tinyxml2.h.
anonymous enum [private] |
Definition at line 175 of file tinyxml2.h.
tinyxml2::StrPair::StrPair | ( | ) | [inline] |
Definition at line 141 of file tinyxml2.h.
Definition at line 138 of file tinyxml2.cpp.
tinyxml2::StrPair::StrPair | ( | const StrPair & | other | ) | [private] |
void tinyxml2::StrPair::CollapseWhitespace | ( | ) | [private] |
Definition at line 238 of file tinyxml2.cpp.
bool tinyxml2::StrPair::Empty | ( | ) | const [inline] |
Definition at line 155 of file tinyxml2.h.
const char * tinyxml2::StrPair::GetStr | ( | ) |
Definition at line 267 of file tinyxml2.cpp.
void tinyxml2::StrPair::operator= | ( | StrPair & | other | ) | [private] |
char * tinyxml2::StrPair::ParseName | ( | char * | in | ) |
Definition at line 218 of file tinyxml2.cpp.
char * tinyxml2::StrPair::ParseText | ( | char * | in, |
const char * | endTag, | ||
int | strFlags, | ||
int * | curLineNumPtr | ||
) |
Definition at line 193 of file tinyxml2.cpp.
void tinyxml2::StrPair::Reset | ( | ) |
Definition at line 169 of file tinyxml2.cpp.
void tinyxml2::StrPair::Set | ( | char * | start, |
char * | end, | ||
int | flags | ||
) | [inline] |
Definition at line 144 of file tinyxml2.h.
void tinyxml2::StrPair::SetInternedStr | ( | const char * | str | ) | [inline] |
Definition at line 159 of file tinyxml2.h.
void tinyxml2::StrPair::SetStr | ( | const char * | str, |
int | flags = 0 |
||
) |
Definition at line 180 of file tinyxml2.cpp.
void tinyxml2::StrPair::TransferTo | ( | StrPair * | other | ) |
Definition at line 144 of file tinyxml2.cpp.
char* tinyxml2::StrPair::_end [private] |
Definition at line 182 of file tinyxml2.h.
int tinyxml2::StrPair::_flags [private] |
Definition at line 180 of file tinyxml2.h.
char* tinyxml2::StrPair::_start [private] |
Definition at line 181 of file tinyxml2.h.