Bike-X
0.8
|
#include "tinyxml2.h"
Public Types | |
enum | { NEEDS_ENTITY_PROCESSING = 0x01, NEEDS_NEWLINE_NORMALIZATION = 0x02, COLLAPSE_WHITESPACE = 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 | |
StrPair () | |
~StrPair () | |
void | Set (char *start, char *end, int flags) |
const char * | GetStr () |
bool | Empty () const |
void | SetInternedStr (const char *str) |
void | SetStr (const char *str, int flags=0) |
char * | ParseText (char *in, const char *endTag, int strFlags) |
char * | ParseName (char *in) |
Private Types | |
enum | { NEEDS_FLUSH = 0x100, NEEDS_DELETE = 0x200 } |
Private Member Functions | |
void | Reset () |
void | CollapseWhitespace () |
Private Attributes | |
int | _flags |
char * | _start |
char * | _end |
Definition at line 124 of file tinyxml2.h.
anonymous enum |
Enumerator | |
---|---|
NEEDS_ENTITY_PROCESSING | |
NEEDS_NEWLINE_NORMALIZATION | |
COLLAPSE_WHITESPACE | |
TEXT_ELEMENT | |
TEXT_ELEMENT_LEAVE_ENTITIES | |
ATTRIBUTE_NAME | |
ATTRIBUTE_VALUE | |
ATTRIBUTE_VALUE_LEAVE_ENTITIES | |
COMMENT |
Definition at line 127 of file tinyxml2.h.
|
private |
Enumerator | |
---|---|
NEEDS_FLUSH | |
NEEDS_DELETE |
Definition at line 170 of file tinyxml2.h.
|
inline |
Definition at line 140 of file tinyxml2.h.
tinyxml2::StrPair::~StrPair | ( | ) |
Definition at line 83 of file tinyxml2.cpp.
|
private |
Definition at line 156 of file tinyxml2.cpp.
|
inline |
Definition at line 152 of file tinyxml2.h.
const char * tinyxml2::StrPair::GetStr | ( | ) |
Definition at line 183 of file tinyxml2.cpp.
char * tinyxml2::StrPair::ParseName | ( | char * | in | ) |
Definition at line 131 of file tinyxml2.cpp.
char * tinyxml2::StrPair::ParseText | ( | char * | in, |
const char * | endTag, | ||
int | strFlags | ||
) |
Definition at line 111 of file tinyxml2.cpp.
|
private |
Definition at line 89 of file tinyxml2.cpp.
|
inline |
Definition at line 143 of file tinyxml2.h.
|
inline |
Definition at line 156 of file tinyxml2.h.
void tinyxml2::StrPair::SetStr | ( | const char * | str, |
int | flags = 0 |
||
) |
Definition at line 100 of file tinyxml2.cpp.
|
private |
Definition at line 178 of file tinyxml2.h.
|
private |
Definition at line 176 of file tinyxml2.h.
|
private |
Definition at line 177 of file tinyxml2.h.