Home | History | Annotate | Download | only in tinyxml2

Lines Matching refs:node

321     false, <b>no children of this node or its sibilings</b> will be visited.

349 /// Visit a text node.
351 /// Visit a comment node.
353 /// Visit an unknown node.
411 be navigated. A node is always in a XMLDocument.
468 /** Set the Value of an XML node.
473 /// Get the parent of this node on the DOM.
477 /// Returns true if this node has no children.
480 /// Get the first child node, or null if none exists.
489 /// Get the last child node, or null if none exists.
499 /// Get the previous (left) sibling node of this node.
503 /// Get the previous (left) sibling element of this node, with an opitionally supplied name.
507 /// Get the next (right) sibling node of this node.
511 /// Get the next (right) sibling element of this node, with an opitionally supplied name.
516 Add a child node as the last (right) child.
522 Add a child node as the first (left) child.
526 Add a node after the specified child node.
531 Delete all the children of this node.
536 Delete a child of this node.
538 void DeleteChild( XMLNode* node );
541 Make a copy of this node, but not its children.
543 the owner of the new Node. If the 'document' is
544 null, then the node returned will be allocated
559 /** Accept a hierarchical visit of the nodes in the TinyXML DOM. Every node in the
610 Note that a text node can have child element nodes, for example:
615 A text node can have 2 ways to output the next. "normal" output
845 /// Get the name of an element (which is the Value() of the node.)
943 returns the character string of the Text node, else null is returned.
959 then the value of str would be null. The first child node isn't a text node, it is
969 Convenience method to query the value of a child text node. This is probably best
1100 To get the first node, use FirstChild().
1160 Delete a node associated with this document.
1163 void DeleteNode( XMLNode* node ) { node->parent->DeleteChild( node ); }
1179 char* Identify( char* p, XMLNode** node );
1204 A XMLHandle is a class that wraps a node pointer with null checks; this is
1251 It is also safe to copy handles - internally they are nothing more than node pointers.
1261 /// Create a handle from any node (at any depth of the tree.) This can be a null pointer.
1262 XMLHandle( XMLNode* _node ) { node = _node; }
1263 /// Create a handle from a node.
1264 XMLHandle( XMLNode& _node ) { node = &_node; }
1266 XMLHandle( const XMLHandle& ref ) { node = ref.node; }
1268 XMLHandle& operator=( const XMLHandle& ref ) { node = ref.node; return *this; }
1271 XMLHandle FirstChild() { return XMLHandle( node ? node->FirstChild() : 0 ); }
1273 XMLHandle FirstChildElement( const char* value=0 ) { return XMLHandle( node ? node->FirstChildElement( value ) : 0 ); }
1275 XMLHandle LastChild() { return XMLHandle( node ? node->LastChild() : 0 ); }
1277 XMLHandle LastChildElement( const char* _value=0 ) { return XMLHandle( node ? node->LastChildElement( _value ) : 0 ); }
1279 XMLHandle PreviousSibling() { return XMLHandle( node ? node->PreviousSibling() : 0 ); }
1281 XMLHandle PreviousSiblingElement( const char* _value=0 ) { return XMLHandle( node ? node->PreviousSiblingElement( _value ) : 0 ); }
1283 XMLHandle NextSibling() { return XMLHandle( node ? node->NextSibling() : 0 ); }
1285 XMLHandle NextSiblingElement( const char* _value=0 ) { return XMLHandle( node ? node->NextSiblingElement( _value ) : 0 ); }
1288 XMLNode* ToNode() { return node; }
1290 XMLElement* ToElement() { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); }
1292 XMLText* ToText() { return ( ( node && node->ToText() ) ? node->ToText() : 0 ); }
1294 XMLUnknown* ToUnknown() { return ( ( node && node->ToUnknown() ) ? node->ToUnknown() : 0 ); }
1296 XMLDeclaration* ToDeclaration() { return ( ( node && node->ToDeclaration() ) ? node->ToDeclaration() : 0 ); }
1299 XMLNode* node;
1310 node = _node; }
1311 XMLConstHandle( const XMLNode& _node ) { node = &_node; }
1312 XMLConstHandle( const XMLConstHandle& ref ) { node = ref.node; }
1314 XMLConstHandle& operator=( const XMLConstHandle& ref ) { node = ref.node; return *this; }
1316 const XMLConstHandle FirstChild() const { return XMLConstHandle( node ? node->FirstChild() : 0 ); }
1317 const XMLConstHandle FirstChildElement( const char* value=0 ) const { return XMLConstHandle( node ? node->FirstChildElement( value ) : 0 ); }
1318 const XMLConstHandle LastChild() const { return XMLConstHandle( node ? node->LastChild() : 0 ); }
1319 const XMLConstHandle LastChildElement( const char* _value=0 ) const { return XMLConstHandle( node ? node->LastChildElement( _value ) : 0 ); }
1320 const XMLConstHandle PreviousSibling() const { return XMLConstHandle( node ? node->PreviousSibling() : 0 ); }
1321 const XMLConstHandle PreviousSiblingElement( const char* _value=0 ) const { return XMLConstHandle( node ? node->PreviousSiblingElement( _value ) : 0 ); }
1322 const XMLConstHandle NextSibling() const { return XMLConstHandle( node ? node->NextSibling() : 0 ); }
1323 const XMLConstHandle NextSiblingElement( const char* _value=0 ) const { return XMLConstHandle( node ? node->NextSiblingElement( _value ) : 0 ); }
1326 const XMLNode* ToNode() const { return node; }
1327 const XMLElement* ToElement() const { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); }
1328 const XMLText* ToText() const { return ( ( node && node->ToText() ) ? node->ToText() : 0 ); }
1329 const XMLUnknown* ToUnknown() const { return ( ( node && node->ToUnknown() ) ? node->ToUnknown() : 0 ); }
1330 const XMLDeclaration* ToDeclaration() const { return ( ( node && node->ToDeclaration() ) ? node->ToDeclaration() : 0 ); }
1333 const XMLNode* node;
1406 /// Add a text node.
1408 /// Add a text node from an integer.
1410 /// Add a text node from an unsigned.
1412 /// Add a text node from a bool.
1414 /// Add a text node from a float.
1416 /// Add a text node from a double.