Home | History | Annotate | Download | only in tinyxml

Lines Matching defs:node

180 	/** Return the position, in the original source file, of this node or attribute.
378 Nodes have siblings, a parent, and children. A node can be
400 a node to a stream is very well defined. You'll get a nice stream
413 /// Appends the XML node or attribute to a std::string.
459 /** Changes the value of the node. Defined as:
479 /// Delete all the children of this node. Does not affect 'this'.
486 const TiXmlNode* FirstChild() const { return firstChild; } ///< The first child of this node. Will be null if there are no children.
488 const TiXmlNode* FirstChild( const char * value ) const; ///< The first child of this node with the matching 'value'. Will be null if none found.
489 TiXmlNode* FirstChild( const char * value ); ///< The first child of this node with the matching 'value'. Will be null if none found.
491 const TiXmlNode* LastChild() const { return lastChild; } /// The last child of this node. Will be null if there are no children.
493 const TiXmlNode* LastChild( const char * value ) const; /// The last child of this node matching 'value'. Will be null if there are no children.
503 /** An alternate way to walk the children of a node.
531 /** Add a new node related to this. Adds a child past the LastChild.
537 /** Add a new node related to this. Adds a child past the LastChild.
539 NOTE: the node to be added is passed by pointer, and will be
548 /** Add a new node related to this. Adds a child before the specified child.
553 /** Add a new node related to this. Adds a child after the specified child.
558 /** Replace a child of this node.
563 /// Delete a child of this node.
566 /// Navigate to a sibling node.
570 /// Navigate to a sibling node.
581 /// Navigate to a sibling node.
585 /// Navigate to a sibling node with the given 'value'.
621 /** Query the type (as an enumerated value, above) of this node.
627 /** Return a pointer to the Document this node lives in.
633 /// Returns true if this node has no children.
650 /** Create an exact duplicate of this node and return it. The memory must be deleted
667 // Figure out what is at *p, and parse it. Returns null if it is not an xml node.
958 returs the character string of the Text node, else null is returned.
974 then the value of str would be null. The first child node isn't a text node, it is
981 WARNING: GetText() accesses a child node - don't become confused with the
983 safe type casts on the referenced node.
1056 /** XML text. A text node can have 2 ways to output the next. "normal" output
1217 /** Always the top level node. A document binds together all the
1219 The 'value' of a document node is the xml file name.
1307 greater than 0, the row and column of each node and attribute is stored
1369 A TiXmlHandle is a class that wraps a node pointer with null checks; this is
1416 It is also safe to copy handles - internally they are nothing more than node pointers.
1451 /// Create a handle from any node (at any depth of the tree.) This can be a null pointer.
1452 TiXmlHandle( TiXmlNode* _node ) { this->node = _node; }
1454 TiXmlHandle( const TiXmlHandle& ref ) { this->node = ref.node; }
1455 TiXmlHandle operator=( const TiXmlHandle& ref ) { this->node = ref.node; return *this; }
1457 /// Return a handle to the first child node.
1459 /// Return a handle to the first child node with the given name.
1494 TiXmlNode* Node() const { return node; }
1496 TiXmlElement* Element() const { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); }
1498 TiXmlText* Text() const { return ( ( node && node->ToText() ) ? node->ToText() : 0 ); }
1500 TiXmlUnknown* Unknown() const { return ( ( node && node->ToUnknown() ) ? node->ToUnknown() : 0 ); }
1503 TiXmlNode* node;