#include <tinyxml.h>
Inheritance diagram for TiXmlComment:
Definition at line 1008 of file tinyxml.h.
Public Types | |
enum | NodeType { DOCUMENT, ELEMENT, COMMENT, UNKNOWN, TEXT, DECLARATION, TYPECOUNT } |
The types of XML nodes supported by TinyXml. More... | |
enum | { TIXML_NO_ERROR = 0, TIXML_ERROR, TIXML_ERROR_OPENING_FILE, TIXML_ERROR_OUT_OF_MEMORY, TIXML_ERROR_PARSING_ELEMENT, TIXML_ERROR_FAILED_TO_READ_ELEMENT_NAME, TIXML_ERROR_READING_ELEMENT_VALUE, TIXML_ERROR_READING_ATTRIBUTES, TIXML_ERROR_PARSING_EMPTY, TIXML_ERROR_READING_END_TAG, TIXML_ERROR_PARSING_UNKNOWN, TIXML_ERROR_PARSING_COMMENT, TIXML_ERROR_PARSING_DECLARATION, TIXML_ERROR_DOCUMENT_EMPTY, TIXML_ERROR_EMBEDDED_NULL, TIXML_ERROR_PARSING_CDATA, TIXML_ERROR_STRING_COUNT } |
Public Member Functions | |
TiXmlComment () | |
Constructs an empty comment. | |
TiXmlComment (const TiXmlComment &) | |
void | operator= (const TiXmlComment &base) |
virtual | ~TiXmlComment () |
virtual TiXmlNode * | Clone () const |
Returns a copy of this Comment. | |
virtual void | Print (FILE *cfile, int depth) const |
Write this Comment to a FILE stream. | |
virtual const char * | Parse (const char *p, TiXmlParsingData *data, TiXmlEncoding encoding) |
virtual const TiXmlComment * | ToComment () const |
Cast to a more defined type. Will return null not of the requested type. | |
virtual TiXmlComment * | ToComment () |
Cast to a more defined type. Will return null not of the requested type. | |
const char * | Value () const |
The meaning of 'value' changes for the specific type of TiXmlNode. | |
void | SetValue (const char *_value) |
Changes the value of the node. | |
void | Clear () |
Delete all the children of this node. Does not affect 'this'. | |
TiXmlNode * | Parent () |
One step up the DOM. | |
const TiXmlNode * | Parent () const |
const TiXmlNode * | FirstChild () const |
The first child of this node. Will be null if there are no children. | |
TiXmlNode * | FirstChild () |
const TiXmlNode * | FirstChild (const char *value) const |
The first child of this node with the matching 'value'. Will be null if none found. | |
TiXmlNode * | FirstChild (const char *value) |
The first child of this node with the matching 'value'. Will be null if none found. | |
const TiXmlNode * | LastChild () const |
TiXmlNode * | LastChild () |
The last child of this node. Will be null if there are no children. | |
const TiXmlNode * | LastChild (const char *value) const |
TiXmlNode * | LastChild (const char *value) |
The last child of this node matching 'value'. Will be null if there are no children. | |
const TiXmlNode * | IterateChildren (const TiXmlNode *previous) const |
An alternate way to walk the children of a node. | |
TiXmlNode * | IterateChildren (TiXmlNode *previous) |
const TiXmlNode * | IterateChildren (const char *value, const TiXmlNode *previous) const |
This flavor of IterateChildren searches for children with a particular 'value'. | |
TiXmlNode * | IterateChildren (const char *value, TiXmlNode *previous) |
TiXmlNode * | InsertEndChild (const TiXmlNode &addThis) |
Add a new node related to this. | |
TiXmlNode * | LinkEndChild (TiXmlNode *addThis) |
Add a new node related to this. | |
TiXmlNode * | InsertBeforeChild (TiXmlNode *beforeThis, const TiXmlNode &addThis) |
Add a new node related to this. | |
TiXmlNode * | InsertAfterChild (TiXmlNode *afterThis, const TiXmlNode &addThis) |
Add a new node related to this. | |
TiXmlNode * | ReplaceChild (TiXmlNode *replaceThis, const TiXmlNode &withThis) |
Replace a child of this node. | |
bool | RemoveChild (TiXmlNode *removeThis) |
Delete a child of this node. | |
const TiXmlNode * | PreviousSibling () const |
Navigate to a sibling node. | |
TiXmlNode * | PreviousSibling () |
const TiXmlNode * | PreviousSibling (const char *) const |
Navigate to a sibling node. | |
TiXmlNode * | PreviousSibling (const char *) |
const TiXmlNode * | NextSibling () const |
Navigate to a sibling node. | |
TiXmlNode * | NextSibling () |
const TiXmlNode * | NextSibling (const char *) const |
Navigate to a sibling node with the given 'value'. | |
TiXmlNode * | NextSibling (const char *) |
const TiXmlElement * | NextSiblingElement () const |
Convenience function to get through elements. | |
TiXmlElement * | NextSiblingElement () |
const TiXmlElement * | NextSiblingElement (const char *) const |
Convenience function to get through elements. | |
TiXmlElement * | NextSiblingElement (const char *) |
const TiXmlElement * | FirstChildElement () const |
Convenience function to get through elements. | |
TiXmlElement * | FirstChildElement () |
const TiXmlElement * | FirstChildElement (const char *value) const |
Convenience function to get through elements. | |
TiXmlElement * | FirstChildElement (const char *value) |
int | Type () const |
Query the type (as an enumerated value, above) of this node. | |
const TiXmlDocument * | GetDocument () const |
Return a pointer to the Document this node lives in. | |
TiXmlDocument * | GetDocument () |
bool | NoChildren () const |
Returns true if this node has no children. | |
virtual const TiXmlDocument * | ToDocument () const |
Cast to a more defined type. Will return null if not of the requested type. | |
virtual TiXmlDocument * | ToDocument () |
Cast to a more defined type. Will return null if not of the requested type. | |
virtual const TiXmlElement * | ToElement () const |
Cast to a more defined type. Will return null if not of the requested type. | |
virtual TiXmlElement * | ToElement () |
Cast to a more defined type. Will return null if not of the requested type. | |
virtual const TiXmlUnknown * | ToUnknown () const |
Cast to a more defined type. Will return null if not of the requested type. | |
virtual TiXmlUnknown * | ToUnknown () |
Cast to a more defined type. Will return null if not of the requested type. | |
virtual const TiXmlText * | ToText () const |
Cast to a more defined type. Will return null if not of the requested type. | |
virtual TiXmlText * | ToText () |
Cast to a more defined type. Will return null if not of the requested type. | |
virtual const TiXmlDeclaration * | ToDeclaration () const |
Cast to a more defined type. Will return null if not of the requested type. | |
virtual TiXmlDeclaration * | ToDeclaration () |
Cast to a more defined type. Will return null if not of the requested type. | |
int | Row () const |
Return the position, in the original source file, of this node or attribute. | |
int | Column () const |
See Row(). | |
void | SetUserData (void *user) |
void * | GetUserData () |
Static Public Member Functions | |
void | SetCondenseWhiteSpace (bool condense) |
The world does not agree on whether white space should be kept or not. | |
bool | IsWhiteSpaceCondensed () |
Return the current white space setting. | |
Static Public Attributes | |
const int | utf8ByteTable [256] |
Protected Member Functions | |
void | CopyTo (TiXmlComment *target) const |
virtual void | StreamOut (TIXML_OSTREAM *out) const |
void | CopyTo (TiXmlNode *target) const |
TiXmlNode * | Identify (const char *start, TiXmlEncoding encoding) |
Static Protected Member Functions | |
const char * | SkipWhiteSpace (const char *, TiXmlEncoding encoding) |
bool | IsWhiteSpace (char c) |
bool | IsWhiteSpace (int c) |
const char * | ReadName (const char *p, TIXML_STRING *name, TiXmlEncoding encoding) |
const char * | ReadText (const char *in, TIXML_STRING *text, bool ignoreWhiteSpace, const char *endTag, bool ignoreCase, TiXmlEncoding encoding) |
const char * | GetEntity (const char *in, char *value, int *length, TiXmlEncoding encoding) |
const char * | GetChar (const char *p, char *_value, int *length, TiXmlEncoding encoding) |
void | PutString (const TIXML_STRING &str, TIXML_OSTREAM *out) |
void | PutString (const TIXML_STRING &str, TIXML_STRING *out) |
bool | StringEqual (const char *p, const char *endTag, bool ignoreCase, TiXmlEncoding encoding) |
int | IsAlpha (unsigned char anyByte, TiXmlEncoding encoding) |
int | IsAlphaNum (unsigned char anyByte, TiXmlEncoding encoding) |
int | ToLower (int v, TiXmlEncoding encoding) |
void | ConvertUTF32ToUTF8 (unsigned long input, char *output, int *length) |
Protected Attributes | |
TiXmlNode * | parent |
NodeType | type |
TiXmlNode * | firstChild |
TiXmlNode * | lastChild |
TIXML_STRING | value |
TiXmlNode * | prev |
TiXmlNode * | next |
TiXmlCursor | location |
void * | userData |
Field containing a generic user pointer. | |
Static Protected Attributes | |
const char * | errorString [TIXML_ERROR_STRING_COUNT] |
Friends | |
TIXML_OSTREAM & | operator<< (TIXML_OSTREAM &out, const TiXmlNode &base) |
|
|
The types of XML nodes supported by TinyXml. (All the unsupported types are picked up by UNKNOWN.) |
|
Constructs an empty comment.
Definition at line 1012 of file tinyxml.h. Referenced by Clone(). |
|
Definition at line 1345 of file tinyxml.cpp. References CopyTo(). |
|
|
|
Delete all the children of this node. Does not affect 'this'.
Definition at line 177 of file tinyxml.cpp. References TiXmlNode::firstChild, TiXmlNode::lastChild, and TiXmlNode::next. Referenced by TiXmlElement::ClearThis(), TiXmlDocument::LoadFile(), main(), TiXmlDeclaration::operator=(), operator=(), and TiXmlDocument::operator=(). |
|
Returns a copy of this Comment.
Implements TiXmlNode. Definition at line 1382 of file tinyxml.cpp. References CopyTo(), and TiXmlComment(). |
|
See Row().
Definition at line 196 of file tinyxml.h. Referenced by main(). |
|
Definition at line 87 of file tinyxmlparser.cpp. Referenced by TiXmlBase::GetEntity(). |
|
Definition at line 170 of file tinyxml.cpp. References TiXmlNode::SetValue(), TiXmlBase::userData, and TiXmlNode::value. Referenced by TiXmlUnknown::CopyTo(), TiXmlDeclaration::CopyTo(), TiXmlText::CopyTo(), CopyTo(), TiXmlDocument::CopyTo(), and TiXmlElement::CopyTo(). |
|
Definition at line 1376 of file tinyxml.cpp. References TiXmlNode::CopyTo(). Referenced by Clone(), operator=(), and TiXmlComment(). |
|
The first child of this node with the matching 'value'. Will be null if none found.
Definition at line 338 of file tinyxml.cpp. References TiXmlNode::next, and TiXmlNode::Value(). |
|
The first child of this node with the matching 'value'. Will be null if none found.
Definition at line 326 of file tinyxml.cpp. References TiXmlNode::next, and TiXmlNode::Value(). |
|
|
|
The first child of this node. Will be null if there are no children.
Definition at line 485 of file tinyxml.h. Referenced by TiXmlHandle::Child(), TiXmlHandle::FirstChild(), TiXmlNode::FirstChildElement(), TiXmlElement::GetText(), TiXmlNode::IterateChildren(), main(), TiXmlDocument::Print(), and TiXmlDocument::StreamOut(). |
|
Definition at line 521 of file tinyxml.cpp. References TiXmlNode::FirstChild(), TiXmlNode::NextSibling(), and TiXmlNode::ToElement(). |
|
Convenience function to get through elements.
Definition at line 507 of file tinyxml.cpp. References TiXmlNode::FirstChild(), TiXmlNode::NextSibling(), and TiXmlNode::ToElement(). |
|
Definition at line 493 of file tinyxml.cpp. References TiXmlNode::FirstChild(), TiXmlNode::NextSibling(), and TiXmlNode::ToElement(). |
|
Convenience function to get through elements.
Definition at line 479 of file tinyxml.cpp. References TiXmlNode::FirstChild(), TiXmlNode::NextSibling(), and TiXmlNode::ToElement(). Referenced by TiXmlHandle::ChildElement(), TiXmlHandle::FirstChildElement(), main(), and TiXmlDocument::RootElement(). |
|
Definition at line 283 of file tinyxml.h. Referenced by TiXmlBase::ReadText(). |
|
Definition at line 604 of file tinyxml.cpp. References TiXmlNode::parent, and TiXmlNode::ToDocument(). |
|
Return a pointer to the Document this node lives in. Returns null if not in a document. Definition at line 592 of file tinyxml.cpp. References TiXmlNode::parent, and TiXmlNode::ToDocument(). Referenced by TiXmlNode::Identify(), TiXmlNode::LinkEndChild(), TiXmlDeclaration::Parse(), TiXmlText::Parse(), Parse(), TiXmlUnknown::Parse(), TiXmlElement::Parse(), TiXmlElement::ReadValue(), and TiXmlElement::SetAttribute(). |
|
Definition at line 427 of file tinyxmlparser.cpp. References TiXmlBase::Entity::chr, TiXmlBase::ConvertUTF32ToUTF8(), TiXmlBase::entity, TiXmlBase::Entity::strLength, TIXML_STRING, and value. |
|
|
|
Definition at line 803 of file tinyxmlparser.cpp. References TiXmlNode::GetDocument(), TiXmlBase::IsAlpha(), TiXmlNode::parent, TiXmlText::SetCDATA(), TiXmlDocument::SetError(), TiXmlBase::SkipWhiteSpace(), TiXmlBase::StringEqual(), TIXML_ENCODING_UNKNOWN, and TiXmlNode::TiXmlElement. Referenced by TiXmlDocument::Parse(), and TiXmlElement::ReadValue(). |
|
Add a new node related to this. Adds a child after the specified child. Returns a pointer to the new object or NULL if an error occured. Definition at line 250 of file tinyxml.cpp. References TiXmlNode::Clone(), TiXmlNode::lastChild, TiXmlNode::next, TiXmlNode::parent, and TiXmlNode::prev. Referenced by main(). |
|
Add a new node related to this. Adds a child before the specified child. Returns a pointer to the new object or NULL if an error occured. Definition at line 224 of file tinyxml.cpp. References TiXmlNode::Clone(), TiXmlNode::firstChild, TiXmlNode::next, TiXmlNode::parent, and TiXmlNode::prev. Referenced by main(). |
|
Add a new node related to this. Adds a child past the LastChild. Returns a pointer to the new object or NULL if an error occured. Definition at line 214 of file tinyxml.cpp. References TiXmlNode::Clone(), and TiXmlNode::LinkEndChild(). Referenced by main(). |
|
Definition at line 128 of file tinyxmlparser.cpp. Referenced by TiXmlNode::Identify(), and TiXmlBase::ReadName(). |
|
Definition at line 149 of file tinyxmlparser.cpp. Referenced by TiXmlBase::ReadName(). |
|
|
|
Definition at line 244 of file tinyxml.h. Referenced by TiXmlText::Blank(), TiXmlDeclaration::Parse(), TiXmlAttribute::Parse(), TiXmlBase::ReadText(), and TiXmlBase::SkipWhiteSpace(). |
|
Return the current white space setting.
Definition at line 175 of file tinyxml.h. Referenced by TiXmlElement::ReadValue(). |
|
Definition at line 411 of file tinyxml.cpp. References TiXmlNode::FirstChild(), TiXmlNode::NextSibling(), and TiXmlNode::parent. |
|
This flavor of IterateChildren searches for children with a particular 'value'.
Definition at line 398 of file tinyxml.cpp. References TiXmlNode::FirstChild(), TiXmlNode::NextSibling(), and TiXmlNode::parent. |
|
Definition at line 385 of file tinyxml.cpp. References TiXmlNode::FirstChild(), TiXmlNode::NextSibling(), and TiXmlNode::parent. |
|
An alternate way to walk the children of a node. One way to iterate over nodes is: for( child = parent->FirstChild(); child; child = child->NextSibling() ) IterateChildren does the same thing with the syntax: child = 0; while( child = parent->IterateChildren( child ) ) IterateChildren takes the previous child as input and finds the next one. If the previous child is null, it returns the first. IterateChildren will return null when done. Definition at line 372 of file tinyxml.cpp. References TiXmlNode::FirstChild(), TiXmlNode::NextSibling(), and TiXmlNode::parent. Referenced by main(). |
|
The last child of this node matching 'value'. Will be null if there are no children.
Definition at line 361 of file tinyxml.cpp. References TiXmlNode::prev, and TiXmlNode::Value(). |
|
Definition at line 350 of file tinyxml.cpp. References TiXmlNode::prev, and TiXmlNode::Value(). |
|
The last child of this node. Will be null if there are no children.
|
|
Definition at line 490 of file tinyxml.h. Referenced by main(). |
|
Add a new node related to this. Adds a child past the LastChild. NOTE: the node to be added is passed by pointer, and will be henceforth owned (and deleted) by tinyXml. This method is efficient and avoids an extra copy, but should be used with care as it uses a different memory model than the other insert functions.
Definition at line 194 of file tinyxml.cpp. References TiXmlNode::firstChild, TiXmlNode::GetDocument(), TiXmlNode::lastChild, TiXmlNode::next, TiXmlNode::parent, and TiXmlNode::prev. Referenced by TiXmlDocument::CopyTo(), TiXmlElement::CopyTo(), TiXmlNode::InsertEndChild(), TiXmlDocument::Parse(), and TiXmlElement::ReadValue(). |
|
Definition at line 435 of file tinyxml.cpp. References TiXmlNode::next, and TiXmlNode::Value(). |
|
Navigate to a sibling node with the given 'value'.
Definition at line 424 of file tinyxml.cpp. References TiXmlNode::next, and TiXmlNode::Value(). |
|
|
|
Navigate to a sibling node.
Definition at line 581 of file tinyxml.h. Referenced by TiXmlHandle::Child(), TiXmlDocument::CopyTo(), TiXmlElement::CopyTo(), TiXmlNode::FirstChildElement(), TiXmlNode::IterateChildren(), main(), TiXmlNode::NextSiblingElement(), TiXmlDocument::Print(), TiXmlElement::Print(), TiXmlDocument::StreamOut(), and TiXmlElement::StreamOut(). |
|
Definition at line 577 of file tinyxml.cpp. References TiXmlNode::NextSibling(), and TiXmlNode::ToElement(). |
|
Convenience function to get through elements. Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element. Definition at line 563 of file tinyxml.cpp. References TiXmlNode::NextSibling(), and TiXmlNode::ToElement(). |
|
Definition at line 549 of file tinyxml.cpp. References TiXmlNode::NextSibling(), and TiXmlNode::ToElement(). |
|
Convenience function to get through elements. Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element. Definition at line 535 of file tinyxml.cpp. References TiXmlNode::NextSibling(), and TiXmlNode::ToElement(). Referenced by TiXmlHandle::ChildElement(), and main(). |
|
Returns true if this node has no children.
|
|
Definition at line 1351 of file tinyxml.cpp. References TiXmlNode::Clear(), and CopyTo(). |
|
|
|
One step up the DOM.
|
|
Implements TiXmlBase. Definition at line 1300 of file tinyxmlparser.cpp. References TiXmlNode::GetDocument(), TiXmlBase::ReadText(), TiXmlDocument::SetError(), TiXmlBase::SkipWhiteSpace(), and TiXmlBase::StringEqual(). Referenced by main(). |
|
Definition at line 457 of file tinyxml.cpp. References TiXmlNode::prev, and TiXmlNode::Value(). |
|
Navigate to a sibling node.
Definition at line 446 of file tinyxml.cpp. References TiXmlNode::prev, and TiXmlNode::Value(). |
|
|
|
Navigate to a sibling node.
Definition at line 566 of file tinyxml.h. Referenced by main(). |
|
Write this Comment to a FILE stream.
Implements TiXmlBase. Definition at line 1358 of file tinyxml.cpp. |
|
Definition at line 43 of file tinyxml.cpp. References TiXmlBase::entity. |
|
Definition at line 36 of file tinyxml.cpp. References TIXML_STRING. Referenced by TiXmlText::Print(), TiXmlAttribute::Print(), TiXmlDeclaration::StreamOut(), TiXmlText::StreamOut(), and TiXmlAttribute::StreamOut(). |
|
Definition at line 397 of file tinyxmlparser.cpp. References TiXmlBase::IsAlpha(), and TiXmlBase::IsAlphaNum(). Referenced by TiXmlAttribute::Parse(), and TiXmlElement::Parse(). |
|
Definition at line 561 of file tinyxmlparser.cpp. References TiXmlBase::GetChar(), TiXmlBase::IsWhiteSpace(), TiXmlBase::SkipWhiteSpace(), and TiXmlBase::StringEqual(). Referenced by TiXmlText::Parse(), TiXmlAttribute::Parse(), and Parse(). |
|
Delete a child of this node.
Definition at line 304 of file tinyxml.cpp. References TiXmlNode::firstChild, TiXmlNode::lastChild, TiXmlNode::next, TiXmlNode::parent, and TiXmlNode::prev. Referenced by main(). |
|
Replace a child of this node. Returns a pointer to the new object or NULL if an error occured. Definition at line 276 of file tinyxml.cpp. References TiXmlNode::Clone(), TiXmlNode::firstChild, TiXmlNode::lastChild, TiXmlNode::next, TiXmlNode::parent, and TiXmlNode::prev. |
|
Return the position, in the original source file, of this node or attribute. The row and column are 1-based. (That is the first row and first column is 1,1). If the returns values are 0 or less, then the parser does not have a row and column value. Generally, the row and column value will be set when the TiXmlDocument::Load(), TiXmlDocument::LoadFile(), or any TiXmlNode::Parse() is called. It will NOT be set when the DOM was created from operator>>. The values reflect the initial load. Once the DOM is modified programmatically (by adding or changing nodes and attributes) the new values will NOT update to reflect changes in the document. There is a minor performance cost to computing the row and column. Computation can be disabled if TiXmlDocument::SetTabSize() is called with 0 as the value.
Definition at line 195 of file tinyxml.h. Referenced by main(). |
|
The world does not agree on whether white space should be kept or not. In order to make everyone happy, these global, static functions are provided to set whether or not TinyXml will condense all white space into a single space or not. The default is to condense. Note changing this values is not thread safe. Definition at line 172 of file tinyxml.h. Referenced by main(). |
|
|
|
Changes the value of the node. Defined as: Document: filename of the xml file Element: name of the element Comment: the comment text Unknown: the tag contents Text: the text string Definition at line 471 of file tinyxml.h. References TiXmlNode::value. Referenced by TiXmlNode::CopyTo(), and TiXmlText::TiXmlText(). |
|
Definition at line 313 of file tinyxmlparser.cpp. References TiXmlBase::IsWhiteSpace(), TIXML_UTF_LEAD_0, and TIXML_UTF_LEAD_1. Referenced by TiXmlNode::Identify(), TiXmlDeclaration::Parse(), TiXmlAttribute::Parse(), Parse(), TiXmlUnknown::Parse(), TiXmlElement::Parse(), TiXmlDocument::Parse(), TiXmlBase::ReadText(), and TiXmlElement::ReadValue(). |
|
Implements TiXmlBase. Definition at line 1367 of file tinyxml.cpp. |
|
Definition at line 521 of file tinyxmlparser.cpp. References TiXmlBase::ToLower(). Referenced by TiXmlNode::Identify(), TiXmlDeclaration::Parse(), TiXmlText::Parse(), Parse(), TiXmlElement::Parse(), TiXmlDocument::Parse(), TiXmlBase::ReadText(), and TiXmlElement::ReadValue(). |
|
Cast to a more defined type. Will return null not of the requested type.
Reimplemented from TiXmlNode. |
|
Cast to a more defined type. Will return null not of the requested type.
Reimplemented from TiXmlNode. |
|
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlDeclaration. |
|
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlDeclaration. Definition at line 640 of file tinyxml.h. Referenced by main(), and TiXmlDocument::Parse(). |
|
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlDocument. |
|
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlDocument. Definition at line 635 of file tinyxml.h. Referenced by TiXmlNode::GetDocument(). |
|
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlElement. |
|
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlElement. Definition at line 636 of file tinyxml.h. Referenced by TiXmlNode::FirstChildElement(), main(), TiXmlNode::NextSiblingElement(), and TiXmlDocument::StreamOut(). |
|
Definition at line 344 of file tinyxml.h. Referenced by TiXmlBase::StringEqual(). |
|
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlText. |
|
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlText. Definition at line 639 of file tinyxml.h. Referenced by TiXmlElement::GetText(), main(), and TiXmlElement::Print(). |
|
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlUnknown. |
|
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlUnknown. |
|
Query the type (as an enumerated value, above) of this node. The possible types are: DOCUMENT, ELEMENT, COMMENT, UNKNOWN, TEXT, and DECLARATION. |
|
The meaning of 'value' changes for the specific type of TiXmlNode.
Document: filename of the xml file Element: name of the element Comment: the comment text Unknown: the tag contents Text: the text string The subclasses will wrap this function. Definition at line 452 of file tinyxml.h. References TiXmlNode::value. Referenced by TiXmlElement::Clone(), TiXmlNode::FirstChild(), TiXmlElement::GetText(), TiXmlNode::LastChild(), main(), TiXmlNode::NextSibling(), and TiXmlNode::PreviousSibling(). |
|
Definition at line 1660 of file tinyxml.cpp. |
|
Initial value: { "No error", "Error", "Failed to open file", "Memory allocation failed.", "Error parsing Element.", "Failed to read Element name", "Error reading Element value.", "Error reading Attributes.", "Error: empty tag.", "Error reading end tag.", "Error parsing Unknown.", "Error parsing Comment.", "Error parsing Declaration.", "Error document empty.", "Error null (0) or unexpected EOF found in input stream.", "Error parsing CDATA.", } Definition at line 34 of file tinyxmlerror.cpp. |
|
Definition at line 672 of file tinyxml.h. Referenced by TiXmlNode::Clear(), TiXmlNode::InsertBeforeChild(), TiXmlNode::LinkEndChild(), TiXmlNode::RemoveChild(), TiXmlNode::ReplaceChild(), and TiXmlNode::TiXmlNode(). |
|
Definition at line 673 of file tinyxml.h. Referenced by TiXmlNode::Clear(), TiXmlNode::InsertAfterChild(), TiXmlNode::LinkEndChild(), TiXmlNode::RemoveChild(), TiXmlNode::ReplaceChild(), and TiXmlNode::TiXmlNode(). |
|
|
|
Definition at line 678 of file tinyxml.h. Referenced by TiXmlNode::Clear(), TiXmlAttributeSet::First(), TiXmlNode::FirstChild(), TiXmlNode::InsertAfterChild(), TiXmlNode::InsertBeforeChild(), TiXmlNode::LinkEndChild(), TiXmlNode::NextSibling(), TiXmlNode::RemoveChild(), TiXmlNode::ReplaceChild(), TiXmlNode::TiXmlNode(), and TiXmlNode::~TiXmlNode(). |
|
Definition at line 669 of file tinyxml.h. Referenced by TiXmlNode::GetDocument(), TiXmlNode::Identify(), TiXmlNode::InsertAfterChild(), TiXmlNode::InsertBeforeChild(), TiXmlNode::IterateChildren(), TiXmlNode::LinkEndChild(), TiXmlNode::RemoveChild(), TiXmlNode::ReplaceChild(), and TiXmlNode::TiXmlNode(). |
|
Definition at line 677 of file tinyxml.h. Referenced by TiXmlNode::InsertAfterChild(), TiXmlNode::InsertBeforeChild(), TiXmlAttributeSet::Last(), TiXmlNode::LastChild(), TiXmlNode::LinkEndChild(), TiXmlNode::PreviousSibling(), TiXmlNode::RemoveChild(), TiXmlNode::ReplaceChild(), and TiXmlNode::TiXmlNode(). |
|
Definition at line 670 of file tinyxml.h. Referenced by TiXmlNode::TiXmlNode(). |
|
Field containing a generic user pointer.
Definition at line 338 of file tinyxml.h. Referenced by TiXmlNode::CopyTo(). |
|
Initial value: { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } Definition at line 65 of file tinyxmlparser.cpp. |
|
Definition at line 675 of file tinyxml.h. Referenced by TiXmlNode::CopyTo(), TiXmlNode::SetValue(), and TiXmlNode::Value(). |