Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
TiXmlDocument Class Reference
Always the top level node. More...
#include <tinyxml.h>
Inherits TiXmlNode.
Public Types | |
| enum | NodeType |
The types of XML nodes supported by TinyXml. More... | |
Public Member Functions | |
| TiXmlDocument () | |
| Create an empty document, that has no name. | |
| TiXmlDocument (const char *documentName) | |
| Create a document with a name. The name of the document is also the filename of the xml. | |
| TiXmlDocument (const std::string &documentName) | |
| Constructor. | |
| bool | LoadFile (TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING) |
| Load a file using the current document value. | |
| bool | SaveFile () const |
| Save a file using the current document value. Returns true if successful. | |
| bool | LoadFile (const char *filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING) |
| Load a file using the given filename. Returns true if successful. | |
| bool | SaveFile (const char *filename) const |
| Save a file using the given filename. Returns true if successful. | |
| bool | LoadFile (FILE *, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING) |
| Load a file using the given FILE*. | |
| bool | SaveFile (FILE *) const |
| Save a file using the given FILE*. Returns true if successful. | |
| bool | LoadFile (const std::string &filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING) |
| bool | SaveFile (const std::string &filename) const |
| < STL std::string version. | |
| virtual const char * | Parse (const char *p, TiXmlParsingData *data=0, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING) |
| Parse the given null terminated block of xml data. | |
| const TiXmlElement * | RootElement () const |
| Get the root element -- the only top level element -- of the document. | |
| bool | Error () const |
| If an error occurs, Error will be set to true. | |
| const char * | ErrorDesc () const |
| Contains a textual (english) description of the error if one occurs. | |
| int | ErrorId () const |
| Generally, you probably want the error string ( ErrorDesc() ). | |
| int | ErrorRow () const |
| Returns the location (if known) of the error. | |
| int | ErrorCol () const |
| The column where the error occured. See ErrorRow() | |
| void | SetTabSize (int _tabsize) |
| SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to report the correct values for row and column. | |
| void | ClearError () |
| If you have handled the error, it can be reset with this call. | |
| void | Print () const |
| Write the document to standard out using formatted printing ("pretty print"). | |
| virtual void | Print (FILE *cfile, int depth=0) const |
| Print this Document to a FILE stream. | |
| virtual const TiXmlDocument * | ToDocument () const |
| Cast to a more defined type. Will return null not of the requested type. | |
| virtual TiXmlDocument * | ToDocument () |
| Cast to a more defined type. Will return null not of the requested type. | |
| virtual bool | Accept (TiXmlVisitor *content) const |
| Walk the XML tree visiting this node and all of its children. | |
| const char * | Value () const |
| The meaning of 'value' changes for the specific type of TiXmlNode. | |
| const std::string & | ValueStr () const |
| Return Value() as a std::string. | |
| void | SetValue (const char *_value) |
| Changes the value of the node. | |
| void | SetValue (const std::string &_value) |
| STL std::string form. | |
| void | Clear () |
| Delete all the children of this node. Does not affect 'this'. | |
| TiXmlNode * | Parent () |
| One step up the DOM. | |
| const TiXmlNode * | FirstChild () const |
| The first child of this node. Will be null if there are no children. | |
| const TiXmlNode * | FirstChild (const char *value) const |
| The first child of this node with the matching 'value'. | |
| TiXmlNode * | FirstChild (const char *_value) |
| The first child of this node with the matching 'value'. Will be null if none found. | |
| const TiXmlNode * | FirstChild (const std::string &_value) const |
| STL std::string form. | |
| TiXmlNode * | FirstChild (const std::string &_value) |
| STL std::string form. | |
| TiXmlNode * | LastChild () |
| The last child of this node. Will be null if there are no children. | |
| TiXmlNode * | LastChild (const char *_value) |
| The last child of this node matching 'value'. Will be null if there are no children. | |
| const TiXmlNode * | LastChild (const std::string &_value) const |
| STL std::string form. | |
| TiXmlNode * | LastChild (const std::string &_value) |
| STL std::string form. | |
| const TiXmlNode * | IterateChildren (const TiXmlNode *previous) const |
| An alternate way to walk the children of a node. | |
| const TiXmlNode * | IterateChildren (const char *value, const TiXmlNode *previous) const |
| This flavor of IterateChildren searches for children with a particular 'value'. | |
| const TiXmlNode * | IterateChildren (const std::string &_value, const TiXmlNode *previous) const |
| STL std::string form. | |
| TiXmlNode * | IterateChildren (const std::string &_value, const TiXmlNode *previous) |
| STL std::string form. | |
| 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. | |
| const TiXmlNode * | PreviousSibling (const char *) const |
| Navigate to a sibling node. | |
| const TiXmlNode * | PreviousSibling (const std::string &_value) const |
| STL std::string form. | |
| TiXmlNode * | PreviousSibling (const std::string &_value) |
| STL std::string form. | |
| const TiXmlNode * | NextSibling (const std::string &_value) const |
| STL std::string form. | |
| TiXmlNode * | NextSibling (const std::string &_value) |
| STL std::string form. | |
| const TiXmlNode * | NextSibling () const |
| Navigate to a sibling node. | |
| const TiXmlNode * | NextSibling (const char *) const |
| Navigate to a sibling node with the given 'value'. | |
| const TiXmlElement * | NextSiblingElement () const |
| Convenience function to get through elements. | |
| const TiXmlElement * | NextSiblingElement (const char *) const |
| Convenience function to get through elements. | |
| const TiXmlElement * | NextSiblingElement (const std::string &_value) const |
| STL std::string form. | |
| TiXmlElement * | NextSiblingElement (const std::string &_value) |
| STL std::string form. | |
| const TiXmlElement * | FirstChildElement () const |
| Convenience function to get through elements. | |
| const TiXmlElement * | FirstChildElement (const char *_value) const |
| Convenience function to get through elements. | |
| const TiXmlElement * | FirstChildElement (const std::string &_value) const |
| STL std::string form. | |
| TiXmlElement * | FirstChildElement (const std::string &_value) |
| STL std::string form. | |
| 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. | |
| bool | NoChildren () const |
| Returns true if this node has no children. | |
| 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 TiXmlComment * | ToComment () const |
| Cast to a more defined type. Will return null if not of the requested type. | |
| virtual TiXmlComment * | ToComment () |
| 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) |
| Set a pointer to arbitrary user data. | |
| void * | GetUserData () |
| Get a pointer to arbitrary user data. | |
| const void * | GetUserData () const |
| Get a pointer to arbitrary user data. | |
Static Public Member Functions | |
| static void | SetCondenseWhiteSpace (bool condense) |
| The world does not agree on whether white space should be kept or not. | |
| static bool | IsWhiteSpaceCondensed () |
| Return the current white space setting. | |
| static void | EncodeString (const TIXML_STRING &str, TIXML_STRING *out) |
| Expands entities in a string. | |
Protected Member Functions | |
| virtual TiXmlNode * | Clone () const |
| Create an exact duplicate of this node and return it. | |
Protected Attributes | |
| void * | userData |
| Field containing a generic user pointer. | |
Friends | |
| std::istream & | operator>> (std::istream &in, TiXmlNode &base) |
| An input stream operator, for every class. | |
| std::ostream & | operator<< (std::ostream &out, const TiXmlNode &base) |
| An output stream operator, for every class. | |
| std::string & | operator<< (std::string &out, const TiXmlNode &base) |
| Appends the XML node or attribute to a std::string. | |
Detailed Description
Always the top level node.
A document binds together all the XML pieces. It can be saved, loaded, and printed to the screen. The 'value' of a document node is the xml file name.
Definition at line 1388 of file tinyxml.h.
Member Enumeration Documentation
enum NodeType [inherited] |
Constructor & Destructor Documentation
| TiXmlDocument | ( | ) |
Create an empty document, that has no name.
Definition at line 868 of file tinyxml.cpp.
| TiXmlDocument | ( | const char * | documentName ) |
Create a document with a name. The name of the document is also the filename of the xml.
Definition at line 875 of file tinyxml.cpp.
| TiXmlDocument | ( | const std::string & | documentName ) |
Constructor.
Definition at line 885 of file tinyxml.cpp.
Member Function Documentation
| bool Accept | ( | TiXmlVisitor * | content ) | const [virtual] |
Walk the XML tree visiting this node and all of its children.
Implements TiXmlNode.
Definition at line 1110 of file tinyxml.cpp.
| void Clear | ( | ) | [inherited] |
Delete all the children of this node. Does not affect 'this'.
Definition at line 168 of file tinyxml.cpp.
| void ClearError | ( | ) |
| TiXmlNode * Clone | ( | ) | const [protected, virtual] |
Create an exact duplicate of this node and return it.
The memory must be deleted by the caller.
Implements TiXmlNode.
Definition at line 1088 of file tinyxml.cpp.
| void EncodeString | ( | const TIXML_STRING & | str, |
| TIXML_STRING * | out | ||
| ) | [static, inherited] |
Expands entities in a string.
Note this should not contian the tag's '<', '>', etc, or they will be transformed into entities!
Definition at line 51 of file tinyxml.cpp.
| bool Error | ( | ) | const |
If an error occurs, Error will be set to true.
Also,
- The ErrorId() will contain the integer identifier of the error (not generally useful)
- The ErrorDesc() method will return the name of the error. (very useful)
- The ErrorRow() and ErrorCol() will return the location of the error (if known)
| int ErrorCol | ( | ) | const |
The column where the error occured. See ErrorRow()
| const char* ErrorDesc | ( | ) | const |
| int ErrorId | ( | ) | const |
Generally, you probably want the error string ( ErrorDesc() ).
But if you prefer the ErrorId, this function will fetch it.
| int ErrorRow | ( | ) | const |
Returns the location (if known) of the error.
The first column is column 1, and the first row is row 1. A value of 0 means the row and column wasn't applicable (memory errors, for example, have no row/column) or the parser lost the error. (An error in the error reporting, in that case.)
- See also:
- SetTabSize, Row, Column
| const TiXmlNode* FirstChild | ( | ) | const [inherited] |
| const TiXmlNode * FirstChild | ( | const char * | value ) | const [inherited] |
The first child of this node with the matching 'value'.
Will be null if none found.
Definition at line 356 of file tinyxml.cpp.
| TiXmlNode* FirstChild | ( | const char * | _value ) | [inherited] |
| const TiXmlNode* FirstChild | ( | const std::string & | _value ) | const [inherited] |
| TiXmlNode* FirstChild | ( | const std::string & | _value ) | [inherited] |
| const TiXmlElement * FirstChildElement | ( | ) | const [inherited] |
Convenience function to get through elements.
Definition at line 447 of file tinyxml.cpp.
| const TiXmlElement * FirstChildElement | ( | const char * | _value ) | const [inherited] |
Convenience function to get through elements.
Definition at line 462 of file tinyxml.cpp.
| const TiXmlElement* FirstChildElement | ( | const std::string & | _value ) | const [inherited] |
| TiXmlElement* FirstChildElement | ( | const std::string & | _value ) | [inherited] |
| const TiXmlDocument * GetDocument | ( | ) | const [inherited] |
Return a pointer to the Document this node lives in.
Returns null if not in a document.
Definition at line 507 of file tinyxml.cpp.
| void* GetUserData | ( | ) | [inherited] |
| const void* GetUserData | ( | ) | const [inherited] |
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 259 of file tinyxml.cpp.
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 227 of file tinyxml.cpp.
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 212 of file tinyxml.cpp.
| static bool IsWhiteSpaceCondensed | ( | ) | [static, inherited] |
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 380 of file tinyxml.cpp.
| const TiXmlNode * IterateChildren | ( | const char * | value, |
| const TiXmlNode * | previous | ||
| ) | const [inherited] |
This flavor of IterateChildren searches for children with a particular 'value'.
Definition at line 394 of file tinyxml.cpp.
| TiXmlNode* LastChild | ( | ) | [inherited] |
| TiXmlNode* LastChild | ( | const char * | _value ) | [inherited] |
| const TiXmlNode* LastChild | ( | const std::string & | _value ) | const [inherited] |
| TiXmlNode* LastChild | ( | const std::string & | _value ) | [inherited] |
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.
- See also:
- InsertEndChild
Definition at line 185 of file tinyxml.cpp.
| bool LoadFile | ( | const char * | filename, |
| TiXmlEncoding | encoding = TIXML_DEFAULT_ENCODING |
||
| ) |
Load a file using the given filename. Returns true if successful.
Definition at line 919 of file tinyxml.cpp.
| bool LoadFile | ( | const std::string & | filename, |
| TiXmlEncoding | encoding = TIXML_DEFAULT_ENCODING |
||
| ) |
| bool LoadFile | ( | FILE * | file, |
| TiXmlEncoding | encoding = TIXML_DEFAULT_ENCODING |
||
| ) |
Load a file using the given FILE*.
Returns true if successful. Note that this method doesn't stream - the entire object pointed at by the FILE* will be interpreted as an XML file. TinyXML doesn't stream in XML from the current file location. Streaming may be added in the future.
Definition at line 940 of file tinyxml.cpp.
| bool LoadFile | ( | TiXmlEncoding | encoding = TIXML_DEFAULT_ENCODING ) |
Load a file using the current document value.
Returns true if successful. Will delete any existing document data before loading.
Definition at line 908 of file tinyxml.cpp.
| const TiXmlNode* NextSibling | ( | const std::string & | _value ) | const [inherited] |
| TiXmlNode* NextSibling | ( | const std::string & | _value ) | [inherited] |
| const TiXmlNode* NextSibling | ( | ) | const [inherited] |
| const TiXmlNode * NextSibling | ( | const char * | _value ) | const [inherited] |
Navigate to a sibling node with the given 'value'.
Definition at line 408 of file tinyxml.cpp.
| const TiXmlElement * NextSiblingElement | ( | ) | const [inherited] |
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 477 of file tinyxml.cpp.
| const TiXmlElement* NextSiblingElement | ( | const std::string & | _value ) | const [inherited] |
| TiXmlElement* NextSiblingElement | ( | const std::string & | _value ) | [inherited] |
| const TiXmlElement * NextSiblingElement | ( | const char * | _value ) | const [inherited] |
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 492 of file tinyxml.cpp.
| bool NoChildren | ( | ) | const [inherited] |
| const char * Parse | ( | const char * | p, |
| TiXmlParsingData * | data = 0, |
||
| TiXmlEncoding | encoding = TIXML_DEFAULT_ENCODING |
||
| ) | [virtual] |
Parse the given null terminated block of xml data.
Passing in an encoding to this method (either TIXML_ENCODING_LEGACY or TIXML_ENCODING_UTF8 will force TinyXml to use that encoding, regardless of what TinyXml might otherwise try to detect.
Implements TiXmlBase.
Definition at line 704 of file tinyxmlparser.cpp.
| const TiXmlNode* PreviousSibling | ( | const std::string & | _value ) | const [inherited] |
| TiXmlNode* PreviousSibling | ( | const std::string & | _value ) | [inherited] |
| const TiXmlNode* PreviousSibling | ( | ) | const [inherited] |
| const TiXmlNode * PreviousSibling | ( | const char * | _value ) | const [inherited] |
Navigate to a sibling node.
Definition at line 420 of file tinyxml.cpp.
| void Print | ( | ) | const |
| void Print | ( | FILE * | cfile, |
| int | depth = 0 |
||
| ) | const [virtual] |
Print this Document to a FILE stream.
Implements TiXmlBase.
Definition at line 1099 of file tinyxml.cpp.
| bool RemoveChild | ( | TiXmlNode * | removeThis ) | [inherited] |
Delete a child of this node.
Definition at line 330 of file tinyxml.cpp.
Replace a child of this node.
Returns a pointer to the new object or NULL if an error occured.
Definition at line 291 of file tinyxml.cpp.
| const TiXmlElement* RootElement | ( | ) | const |
| int Row | ( | ) | const [inherited] |
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.
- See also:
- TiXmlDocument::SetTabSize()
| bool SaveFile | ( | const char * | filename ) | const |
Save a file using the given filename. Returns true if successful.
Definition at line 1038 of file tinyxml.cpp.
| bool SaveFile | ( | ) | const |
Save a file using the current document value. Returns true if successful.
Definition at line 914 of file tinyxml.cpp.
| bool SaveFile | ( | const std::string & | filename ) | const |
| bool SaveFile | ( | FILE * | fp ) | const |
Save a file using the given FILE*. Returns true if successful.
Definition at line 1052 of file tinyxml.cpp.
| static void SetCondenseWhiteSpace | ( | bool | condense ) | [static, inherited] |
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 value is not thread safe.
| void SetTabSize | ( | int | _tabsize ) |
SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to report the correct values for row and column.
It does not change the output or input in any way.
By calling this method, with a tab size greater than 0, the row and column of each node and attribute is stored when the file is loaded. Very useful for tracking the DOM back in to the source file.
The tab size is required for calculating the location of nodes. If not set, the default of 4 is used. The tabsize is set per document. Setting the tabsize to 0 disables row/column tracking.
Note that row and column tracking is not supported when using operator>>.
The tab size needs to be enabled before the parse or load. Correct usage:
TiXmlDocument doc;
doc.SetTabSize( 8 );
doc.Load( "myfile.xml" );
| void SetUserData | ( | void * | user ) | [inherited] |
| void SetValue | ( | const std::string & | _value ) | [inherited] |
| void SetValue | ( | const char * | _value ) | [inherited] |
| virtual TiXmlComment* ToComment | ( | ) | [virtual, inherited] |
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlComment.
| virtual const TiXmlComment* ToComment | ( | ) | const [virtual, inherited] |
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlComment.
| virtual TiXmlDeclaration* ToDeclaration | ( | ) | [virtual, inherited] |
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlDeclaration.
| virtual const TiXmlDeclaration* ToDeclaration | ( | ) | const [virtual, inherited] |
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlDeclaration.
| virtual const TiXmlDocument* ToDocument | ( | ) | const [virtual] |
| virtual TiXmlDocument* ToDocument | ( | ) | [virtual] |
| virtual TiXmlElement* ToElement | ( | ) | [virtual, inherited] |
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlElement.
| virtual const TiXmlElement* ToElement | ( | ) | const [virtual, inherited] |
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlElement.
| virtual const TiXmlText* ToText | ( | ) | const [virtual, inherited] |
| virtual TiXmlText* ToText | ( | ) | [virtual, inherited] |
| virtual const TiXmlUnknown* ToUnknown | ( | ) | const [virtual, inherited] |
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlUnknown.
| virtual TiXmlUnknown* ToUnknown | ( | ) | [virtual, inherited] |
Cast to a more defined type. Will return null if not of the requested type.
Reimplemented in TiXmlUnknown.
| int Type | ( | ) | const [inherited] |
| const char* Value | ( | ) | const [inherited] |
| const std::string& ValueStr | ( | ) | const [inherited] |
Friends And Related Function Documentation
| std::ostream& operator<< | ( | std::ostream & | out, |
| const TiXmlNode & | base | ||
| ) | [friend, inherited] |
An output stream operator, for every class.
Note that this outputs without any newlines or formatting, as opposed to Print(), which includes tabs and new lines.
The operator<< and operator>> are not completely symmetric. Writing a node to a stream is very well defined. You'll get a nice stream of output, without any extra whitespace or newlines.
But reading is not as well defined. (As it always is.) If you create a TiXmlElement (for example) and read that from an input stream, the text needs to define an element or junk will result. This is true of all input streams, but it's worth keeping in mind.
A TiXmlDocument will read nodes until it reads a root element, and all the children of that root element.
Definition at line 1561 of file tinyxml.cpp.
| std::string& operator<< | ( | std::string & | out, |
| const TiXmlNode & | base | ||
| ) | [friend, inherited] |
Appends the XML node or attribute to a std::string.
Definition at line 1572 of file tinyxml.cpp.
| std::istream& operator>> | ( | std::istream & | in, |
| TiXmlNode & | base | ||
| ) | [friend, inherited] |
An input stream operator, for every class.
Tolerant of newlines and formatting, but doesn't expect them.
Definition at line 1548 of file tinyxml.cpp.
Field Documentation
Generated on Tue Jul 12 2022 20:43:31 by
1.7.2