BitmapToolkit Scol plugin
|
tinyxml2.cpp
Go to the documentation of this file.
863 int flags = _document->ProcessEntities() ? StrPair::TEXT_ELEMENT : StrPair::TEXT_ELEMENT_LEAVE_ENTITIES;
932 XMLComment* comment = doc->NewComment( Value() ); // fixme: this will always allocate memory. Intern?
939 return ( compare->ToComment() && XMLUtil::StringEqual( compare->ToComment()->Value(), Value() ));
979 XMLDeclaration* dec = doc->NewDeclaration( Value() ); // fixme: this will always allocate memory. Intern?
986 return ( compare->ToDeclaration() && XMLUtil::StringEqual( compare->ToDeclaration()->Value(), Value() ));
1026 XMLUnknown* text = doc->NewUnknown( Value() ); // fixme: this will always allocate memory. Intern?
1033 return ( compare->ToUnknown() && XMLUtil::StringEqual( compare->ToUnknown()->Value(), Value() ));
1066 p = _value.ParseText( p, endTag, processEntities ? StrPair::ATTRIBUTE_VALUE : StrPair::ATTRIBUTE_VALUE_LEAVE_ENTITIES );
1438 XMLElement* element = doc->NewElement( Value() ); // fixme: this will always allocate memory. Intern?
1440 element->SetAttribute( a->Name(), a->Value() ); // fixme: this will always allocate memory. Intern?
Definition tinyxml2.h:119
@ NEEDS_NEWLINE_NORMALIZATION
Definition tinyxml2.h:123
@ TEXT_ELEMENT_LEAVE_ENTITIES
Definition tinyxml2.h:127
char * ParseText(char *in, const char *endTag, int strFlags)
Definition tinyxml2.cpp:113
Definition tinyxml2.h:958
void SetAttribute(const char *value)
Set the attribute to a string value.
Definition tinyxml2.cpp:1122
XMLError QueryUnsignedValue(unsigned int *value) const
See QueryIntAttribute.
Definition tinyxml2.cpp:1086
XMLError QueryIntValue(int *value) const
Definition tinyxml2.cpp:1077
Definition tinyxml2.h:829
virtual bool Accept(XMLVisitor *visitor) const
Definition tinyxml2.cpp:943
virtual bool ShallowEqual(const XMLNode *compare) const
Definition tinyxml2.cpp:937
virtual XMLNode * ShallowClone(XMLDocument *document) const
Definition tinyxml2.cpp:927
Definition tinyxml2.h:867
char * ParseDeep(char *, StrPair *endTag)
Definition tinyxml2.cpp:962
virtual bool Accept(XMLVisitor *visitor) const
Definition tinyxml2.cpp:991
virtual XMLNode * ShallowClone(XMLDocument *document) const
Definition tinyxml2.cpp:974
virtual bool ShallowEqual(const XMLNode *compare) const
Definition tinyxml2.cpp:984
Definition tinyxml2.h:1341
XMLError Parse(const char *xml, size_t nBytes=(size_t)(-1))
Definition tinyxml2.cpp:1661
XMLComment * NewComment(const char *comment)
Definition tinyxml2.cpp:1538
XMLElement * NewElement(const char *name)
Definition tinyxml2.cpp:1529
XMLUnknown * NewUnknown(const char *text)
Definition tinyxml2.cpp:1565
XMLError SaveFile(const char *filename, bool compact=false)
Definition tinyxml2.cpp:1634
virtual bool Accept(XMLVisitor *visitor) const
Definition tinyxml2.cpp:570
void SetError(XMLError error, const char *str1, const char *str2)
Definition tinyxml2.cpp:1699
XMLDeclaration * NewDeclaration(const char *text=0)
Definition tinyxml2.cpp:1556
Definition tinyxml2.h:1059
void SetAttribute(const char *name, const char *value)
Sets the named attribute to value.
Definition tinyxml2.h:1194
const XMLAttribute * FindAttribute(const char *name) const
Query a specific attribute in the list.
Definition tinyxml2.cpp:1196
const char * Attribute(const char *name, const char *value=0) const
Definition tinyxml2.cpp:1208
const XMLAttribute * FirstAttribute() const
Return the first attribute in the list.
Definition tinyxml2.h:1225
XMLError QueryIntText(int *_value) const
Definition tinyxml2.cpp:1230
virtual bool ShallowEqual(const XMLNode *compare) const
Definition tinyxml2.cpp:1446
void SetName(const char *str, bool staticMem=false)
Set the name of the element.
Definition tinyxml2.h:1068
virtual bool Accept(XMLVisitor *visitor) const
Definition tinyxml2.cpp:1471
char * ParseDeep(char *p, StrPair *endTag)
Definition tinyxml2.cpp:1401
virtual XMLNode * ShallowClone(XMLDocument *document) const
Definition tinyxml2.cpp:1433
const char * Name() const
Get the name of an element (which is the Value() of the node.)
Definition tinyxml2.h:1064
void DeleteAttribute(const char *name)
Definition tinyxml2.cpp:1322
Definition tinyxml2.h:524
void SetValue(const char *val, bool staticMem=false)
Definition tinyxml2.cpp:603
const XMLElement * LastChildElement(const char *value=0) const
Definition tinyxml2.cpp:736
virtual XMLDeclaration * ToDeclaration()
Safely cast to a Declaration, or null.
Definition tinyxml2.h:555
const XMLElement * NextSiblingElement(const char *value=0) const
Get the next (right) sibling element of this node, with an opitionally supplied name.
Definition tinyxml2.cpp:750
const XMLElement * FirstChildElement(const char *value=0) const
Definition tinyxml2.cpp:722
XMLNode * InsertAfterChild(XMLNode *afterThis, XMLNode *addThis)
Definition tinyxml2.cpp:700
const XMLElement * PreviousSiblingElement(const char *value=0) const
Get the previous (left) sibling element of this node, with an opitionally supplied name.
Definition tinyxml2.cpp:762
const XMLNode * FirstChild() const
Get the first child node, or null if none exists.
Definition tinyxml2.h:615
XMLNode * InsertFirstChild(XMLNode *addThis)
Definition tinyxml2.cpp:676
XMLNode * InsertEndChild(XMLNode *addThis)
Definition tinyxml2.cpp:653
const XMLNode * NextSibling() const
Get the next (right) sibling node of this node.
Definition tinyxml2.h:667
Definition tinyxml2.h:1788
void PushHeader(bool writeBOM, bool writeDeclaration)
Definition tinyxml2.cpp:1835
void PushDeclaration(const char *value)
Definition tinyxml2.cpp:2011
void PushAttribute(const char *name, const char *value)
If streaming, add an attribute to an open element.
Definition tinyxml2.cpp:1866
XMLPrinter(std::FILE *file=0, bool compact=false)
Definition tinyxml2.cpp:1727
Definition tinyxml2.h:790
virtual XMLNode * ShallowClone(XMLDocument *document) const
Definition tinyxml2.cpp:880
virtual bool ShallowEqual(const XMLNode *compare) const
Definition tinyxml2.cpp:891
void SetCData(bool isCData)
Declare whether this should be CDATA or standard text.
Definition tinyxml2.h:804
Definition tinyxml2.h:899
char * ParseDeep(char *, StrPair *endTag)
Definition tinyxml2.cpp:1008
virtual bool Accept(XMLVisitor *visitor) const
Definition tinyxml2.cpp:1037
virtual XMLNode * ShallowClone(XMLDocument *document) const
Definition tinyxml2.cpp:1021
virtual bool ShallowEqual(const XMLNode *compare) const
Definition tinyxml2.cpp:1031
static const char * SkipWhiteSpace(const char *p)
Definition tinyxml2.h:435
static bool ToUnsigned(const char *str, unsigned *value)
Definition tinyxml2.cpp:451
static void ConvertUTF32ToUTF8(unsigned long input, char *output, int *length)
Definition tinyxml2.cpp:289
static bool ToFloat(const char *str, float *value)
Definition tinyxml2.cpp:478
static void ToStr(int v, char *buffer, int bufferSize)
Definition tinyxml2.cpp:413
static const char * GetCharacterRef(const char *p, char *value, int *length)
Definition tinyxml2.cpp:335
static bool StringEqual(const char *p, const char *q, int nChar=INT_MAX)
Definition tinyxml2.h:451
static bool ToDouble(const char *str, double *value)
Definition tinyxml2.cpp:486
static bool ToBool(const char *str, bool *value)
Definition tinyxml2.cpp:459
static const char * ReadBOM(const char *p, bool *hasBOM)
Definition tinyxml2.cpp:274
Definition tinyxml2.h:386
Definition tinyxml2.h:100
@ XML_ERROR_FILE_COULD_NOT_BE_OPENED
Definition tinyxml2.h:931
Generated by 1.9.8