antioch-0.4.0
|
#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 119 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 122 of file tinyxml2.h.
|
private |
Enumerator | |
---|---|
NEEDS_FLUSH | |
NEEDS_DELETE |
Definition at line 156 of file tinyxml2.h.
|
inline |
Definition at line 135 of file tinyxml2.h.
|
inline |
Definition at line 89 of file tinyxml2_imp.h.
References Reset().
|
inlineprivate |
Definition at line 168 of file tinyxml2_imp.h.
References tinyxml2::XMLUtil::IsWhiteSpace(), tinyxml2::XMLUtil::SkipWhiteSpace(), and start.
Referenced by GetStr().
|
inline |
Definition at line 143 of file tinyxml2.h.
Referenced by tinyxml2::XMLNode::ParseDeep(), and tinyxml2::XMLElement::ParseDeep().
|
inline |
Definition at line 195 of file tinyxml2_imp.h.
References COLLAPSE_WHITESPACE, CollapseWhitespace(), end, flags, tinyxml2::XMLUtil::GetCharacterRef(), Entity::length, NEEDS_DELETE, NEEDS_ENTITY_PROCESSING, NEEDS_FLUSH, NEEDS_NEWLINE_NORMALIZATION, start, TIXMLASSERT, and Entity::value.
Referenced by tinyxml2::XMLAttribute::Name(), tinyxml2::XMLNode::ParseDeep(), tinyxml2::XMLNode::Value(), and tinyxml2::XMLAttribute::Value().
|
inline |
Definition at line 141 of file tinyxml2_imp.h.
References tinyxml2::XMLUtil::IsAlphaNum(), Set(), and start.
Referenced by tinyxml2::XMLAttribute::ParseDeep(), and tinyxml2::XMLElement::ParseDeep().
|
inline |
Definition at line 120 of file tinyxml2_imp.h.
References Set(), start, and TIXMLASSERT.
Referenced by tinyxml2::XMLText::ParseDeep(), tinyxml2::XMLComment::ParseDeep(), tinyxml2::XMLDeclaration::ParseDeep(), tinyxml2::XMLUnknown::ParseDeep(), and tinyxml2::XMLAttribute::ParseDeep().
|
inlineprivate |
Definition at line 96 of file tinyxml2_imp.h.
References end, flags, NEEDS_DELETE, and start.
Referenced by Set(), SetInternedStr(), SetStr(), and ~StrPair().
|
inline |
Definition at line 138 of file tinyxml2.h.
References end, flags, NEEDS_FLUSH, Reset(), and start.
Referenced by ParseName(), and ParseText().
|
inline |
Definition at line 145 of file tinyxml2.h.
References Reset(), and start.
Referenced by tinyxml2::XMLNode::SetValue().
|
inline |
Definition at line 108 of file tinyxml2_imp.h.
References end, NEEDS_DELETE, Reset(), and start.
Referenced by tinyxml2::XMLAttribute::SetAttribute(), tinyxml2::XMLAttribute::SetName(), and tinyxml2::XMLNode::SetValue().
|
private |
|
private |
Definition at line 162 of file tinyxml2.h.
|
private |
Definition at line 163 of file tinyxml2.h.
Referenced by CollapseWhitespace(), Empty(), GetStr(), ParseName(), ParseText(), Reset(), Set(), SetInternedStr(), and SetStr().