Home | History | Annotate | Download | only in tinyxml

Lines Matching defs:node

117 	false, <b>no children of this node or its sibilings</b> will be Visited.
145 /// Visit a text node
147 /// Visit a comment node
149 /// Visit an unknown node
226 /** Return the position, in the original source file, of this node or attribute.
419 Nodes have siblings, a parent, and children. A node can be
441 a node to a stream is very well defined. You'll get a nice stream
454 /// Appends the XML node or attribute to a std::string.
499 /** Changes the value of the node. Defined as:
515 /// Delete all the children of this node. Does not affect 'this'.
522 const TiXmlNode* FirstChild() const { return firstChild; } ///< The first child of this node. Will be null if there are no children.
524 const TiXmlNode* FirstChild( const char * value ) const; ///< The first child of this node with the matching 'value'. Will be null if none found.
525 /// The first child of this node with the matching 'value'. Will be null if none found.
531 const TiXmlNode* LastChild() const { return lastChild; } /// The last child of this node. Will be null if there are no children.
534 const TiXmlNode* LastChild( const char * value ) const; /// The last child of this node matching 'value'. Will be null if there are no children.
546 /** An alternate way to walk the children of a node.
578 /** Add a new node related to this. Adds a child past the LastChild.
584 /** Add a new node related to this. Adds a child past the LastChild.
586 NOTE: the node to be added is passed by pointer, and will be
595 /** Add a new node related to this. Adds a child before the specified child.
600 /** Add a new node related to this. Adds a child after the specified child.
605 /** Replace a child of this node.
610 /// Delete a child of this node.
613 /// Navigate to a sibling node.
617 /// Navigate to a sibling node.
630 /// Navigate to a sibling node.
634 /// Navigate to a sibling node with the given 'value'.
680 /** Query the type (as an enumerated value, above) of this node.
686 /** Return a pointer to the Document this node lives in.
694 /// Returns true if this node has no children.
711 /** Create an exact duplicate of this node and return it. The memory must be deleted
716 /** Accept a hierchical visit the nodes in the TinyXML DOM. Every node in the
752 // Figure out what is at *p, and parse it. Returns null if it is not an xml node.
1026 const TiXmlAttribute* node = attributeSet.Find( name );
1027 if ( !node )
1030 std::stringstream sstream( node->ValueStr() );
1039 const TiXmlAttribute* node = attributeSet.Find( name );
1040 if ( !node )
1042 *outValue = node->ValueStr();
1094 returns the character string of the Text node, else null is returned.
1110 then the value of str would be null. The first child node isn't a text node, it is
1117 WARNING: GetText() accesses a child node - don't become confused with the
1119 safe type casts on the referenced node.
1136 /** Walk the XML tree visiting this node and all of its children.
1189 /** Walk the XML tree visiting this node and all of its children.
1207 /** XML text. A text node can have 2 ways to output the next. "normal" output
1252 /** Walk the XML tree visiting this node and all of its children.
1328 /** Walk the XML tree visiting this node and all of its children.
1373 /** Walk the XML tree visiting this node and all of its children.
1389 /** Always the top level node. A document binds together all the
1391 The 'value' of a document node is the xml file name.
1485 greater than 0, the row and column of each node and attribute is stored
1535 /** Walk the XML tree visiting this node and all of its children.
1559 A TiXmlHandle is a class that wraps a node pointer with null checks; this is
1606 It is also safe to copy handles - internally they are nothing more than node pointers.
1641 /// Create a handle from any node (at any depth of the tree.) This can be a null pointer.
1642 TiXmlHandle( TiXmlNode* _node ) { this->node = _node; }
1644 TiXmlHandle( const TiXmlHandle& ref ) { this->node = ref.node; }
1645 TiXmlHandle operator=( const TiXmlHandle& ref ) { if ( &ref != this ) this->node = ref.node; return *this; }
1647 /// Return a handle to the first child node.
1649 /// Return a handle to the first child node with the given name.
1685 TiXmlNode* ToNode() const { return node; }
1688 TiXmlElement* ToElement() const { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); }
1691 TiXmlText* ToText() const { return ( ( node && node->ToText() ) ? node->ToText() : 0 ); }
1694 TiXmlUnknown* ToUnknown() const { return ( ( node && node->ToUnknown() ) ? node->ToUnknown() : 0 ); }
1699 TiXmlNode* Node() const { return ToNode(); }
1714 TiXmlNode* node;