Lines Matching refs:TiXmlNode
154 friend class TiXmlNode;
186 TiXmlDocument::LoadFile(), or any TiXmlNode::Parse() is called. It will NOT be set
379 in a document, or stand on its own. The type of a TiXmlNode
382 class TiXmlNode : public TiXmlBase
393 friend std::istream& operator >> (std::istream& in, TiXmlNode& base);
411 friend std::ostream& operator<< (std::ostream& out, const TiXmlNode& base);
414 friend std::string& operator<< (std::string& out, const TiXmlNode& base );
418 friend TIXML_OSTREAM& operator<< (TIXML_OSTREAM& out, const TiXmlNode& base);
435 virtual ~TiXmlNode();
438 TiXmlNode.
483 TiXmlNode* Parent() { return parent; }
484 const TiXmlNode* Parent() const { return parent; }
486 const TiXmlNode* FirstChild() const { return firstChild; } ///< The first child of this node. Will be null if there are no children.
487 TiXmlNode* FirstChild() { return firstChild; }
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.
492 TiXmlNode* LastChild() { return lastChild; }
493 const TiXmlNode* LastChild( const char * value ) const; /// The last child of this node matching 'value'. Will be null if there are no children.
494 TiXmlNode* LastChild( const char * value );
497 const TiXmlNode* FirstChild( const std::string& _value ) const { return FirstChild (_value.c_str ()); } ///< STL std::string form.
498 TiXmlNode* FirstChild( const std::string& _value ) { return FirstChild (_value.c_str ()); } ///< STL std::string form.
499 const TiXmlNode* LastChild( const std::string& _value ) const { return LastChild (_value.c_str ()); } ///< STL std::string form.
500 TiXmlNode* LastChild( const std::string& _value ) { return LastChild (_value.c_str ()); } ///< STL std::string form.
519 const TiXmlNode* IterateChildren( const TiXmlNode* previous ) const;
520 TiXmlNode* IterateChildren( TiXmlNode* previous );
523 const TiXmlNode* IterateChildren( const char * value, const TiXmlNode
524 TiXmlNode* IterateChildren( const char * value, TiXmlNode* previous );
527 const TiXmlNode* IterateChildren( const std::string& _value, const TiXmlNode* previous ) const { return IterateChildren (_value.c_str (), previous); } ///< STL std::string form.
528 TiXmlNode* IterateChildren( const std::string& _value, TiXmlNode* previous ) { return IterateChildren (_value.c_str (), previous); } ///< STL std::string form.
534 TiXmlNode* InsertEndChild( const TiXmlNode& addThis );
546 TiXmlNode* LinkEndChild( TiXmlNode* addThis );
551 TiXmlNode* InsertBeforeChild( TiXmlNode* beforeThis, const TiXmlNode& addThis );
556 TiXmlNode* InsertAfterChild( TiXmlNode* afterThis, const TiXmlNode& addThis );
561 TiXmlNode* ReplaceChild( TiXmlNode* replaceThis, const TiXmlNode& withThis );
564 bool RemoveChild( TiXmlNode* removeThis );
567 const TiXmlNode* PreviousSibling() const { return prev; }
568 TiXmlNode* PreviousSibling() { return prev; }
571 const TiXmlNode* PreviousSibling( const char * ) const;
572 TiXmlNode* PreviousSibling( const char * );
575 const TiXmlNode* PreviousSibling( const std::string& _value ) const { return PreviousSibling (_value.c_str ()); } ///< STL std::string form.
576 TiXmlNode* PreviousSibling( const std::string& _value ) { return PreviousSibling (_value.c_str ()); } ///< STL std::string form.
577 const TiXmlNode* NextSibling( const std::string& _value) const { return NextSibling (_value.c_str ()); } ///< STL std::string form.
578 TiXmlNode* NextSibling( const std::string& _value) { return NextSibling (_value.c_str ()); } ///< STL std::string form.
582 const TiXmlNode* NextSibling() const { return next; }
583 TiXmlNode* NextSibling() { return next; }
586 const TiXmlNode* NextSibling( const char * ) const;
587 TiXmlNode* NextSibling( const char * );
653 virtual TiXmlNode* Clone() const = 0;
656 TiXmlNode( NodeType _type );
660 void CopyTo( TiXmlNode* target ) const;
668 TiXmlNode* Identify( const char* start, TiXmlEncoding encoding );
670 TiXmlNode* parent;
673 TiXmlNode* firstChild;
674 TiXmlNode* lastChild;
678 TiXmlNode* prev;
679 TiXmlNode* next;
682 TiXmlNode( const TiXmlNode& ); // not implemented.
683 void operator=( const TiXmlNode& base ); // not allowed.
844 class TiXmlElement : public TiXmlNode
982 similarly named TiXmlHandle::Text() and TiXmlNode::ToText() which are
988 virtual TiXmlNode* Clone() const;
1022 class TiXmlComment : public TiXmlNode
1026 TiXmlComment() : TiXmlNode( TiXmlNode::COMMENT ) {}
1033 virtual TiXmlNode* Clone() const;
1061 class TiXmlText : public TiXmlNode
1069 TiXmlText (const char * initValue ) : TiXmlNode (TiXmlNode::TEXT)
1078 TiXmlText( const std::string& initValue ) : TiXmlNode (TiXmlNode::TEXT)
1085 TiXmlText( const TiXmlText& copy ) : TiXmlNode( TiXmlNode::TEXT ) { copy.CopyTo( this ); }
1100 virtual TiXmlNode* Clone() const;
1128 class TiXmlDeclaration : public TiXmlNode
1132 TiXmlDeclaration() : TiXmlNode( TiXmlNode::DECLARATION ) {}
1159 virtual TiXmlNode* Clone() const;
1188 class TiXmlUnknown : public TiXmlNode
1191 TiXmlUnknown() : TiXmlNode( TiXmlNode::UNKNOWN ) {}
1194 TiXmlUnknown( const TiXmlUnknown& copy ) : TiXmlNode( TiXmlNode::UNKNOWN ) { copy.CopyTo( this ); }
1198 virtual TiXmlNode* Clone() const;
1221 class TiXmlDocument : public TiXmlNode
1351 virtual TiXmlNode* Clone() const;
1452 TiXmlHandle( TiXmlNode* _node ) { this->node = _node; }
1493 /// Return the handle as a TiXmlNode. This may return null.
1494 TiXmlNode* Node() const { return node; }
1503 TiXmlNode* node;