Home | History | Annotate | Download | only in tinyxml

Lines Matching refs:TiXmlNode

126 	@sa TiXmlNode::Accept()
196 friend class TiXmlNode;
232 TiXmlDocument::LoadFile(), or any TiXmlNode::Parse() is called. It will NOT be set
420 in a document, or stand on its own. The type of a TiXmlNode
423 class TiXmlNode : public TiXmlBase
434 friend std::istream& operator >> (std::istream& in, TiXmlNode& base);
452 friend std::ostream& operator<< (std::ostream& out, const TiXmlNode& base);
455 friend std::string& operator<< (std::string& out, const TiXmlNode& base );
473 virtual ~TiXmlNode();
476 TiXmlNode.
519 TiXmlNode* Parent() { return parent; }
520 const TiXmlNode* Parent() const { return parent; }
522 const TiXmlNode* FirstChild() const { return firstChild; } ///< The first child of this node. Will be null if there are no children.
523 TiXmlNode* FirstChild() { return firstChild; }
524 const TiXmlNode* FirstChild( const char * value ) const; ///< The first child of this node with the matching 'value'. Will be null if none found.
526 TiXmlNode* FirstChild( const char * _value ) {
529 return const_cast< TiXmlNode* > ((const_cast< const TiXmlNode* >(this))->FirstChild( _value ));
531 const TiXmlNode* LastChild() const { return lastChild; } /// The last child of this node. Will be null if there are no children.
532 TiXmlNode* LastChild() { return lastChild; }
534 const TiXmlNode* LastChild( const char * value ) const; /// The last child of this node matching 'value'. Will be null if there are no children.
535 TiXmlNode* LastChild( const char * _value ) {
536 return const_cast< TiXmlNode* > ((const_cast< const TiXmlNode* >(this))->LastChild( _value ));
540 const TiXmlNode* FirstChild( const std::string& _value ) const { return FirstChild (_value.c_str ()); } ///< STL std::string form.
541 TiXmlNode* FirstChild( const std::string& _value ) { return FirstChild (_value.c_str ()); } ///< STL std::string form.
542 const TiXmlNode* LastChild( const std::string& _value ) const { return LastChild (_value.c_str ()); } ///< STL std::string form.
543 TiXmlNode* LastChild( const std::string& _value ) { return LastChild (_value.c_str ()); } ///< STL std::string form.
562 const TiXmlNode* IterateChildren( const TiXmlNode* previous ) const;
563 TiXmlNode* IterateChildren( const TiXmlNode* previous ) {
564 return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->IterateChildren( previous ) );
568 const TiXmlNode* IterateChildren( const char * value, const TiXmlNode* previous ) const;
569 TiXmlNode* IterateChildren( const char * _value, const TiXmlNode* previous ) {
570 return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->IterateChildren( _value, previous ) );
574 const TiXmlNode* IterateChildren( const std::string& _value, const TiXmlNode* previous ) const { return IterateChildren (_value.c_str (), previous); } ///< STL std::string form.
575 TiXmlNode* IterateChildren( const std::string& _value, const TiXmlNode* previous ) { return IterateChildren (_value.c_str (), previous); } ///< STL std::string form.
581 TiXmlNode* InsertEndChild( const TiXmlNode& addThis );
593 TiXmlNode* LinkEndChild( TiXmlNode* addThis );
598 TiXmlNode* InsertBeforeChild( TiXmlNode* beforeThis, const TiXmlNode& addThis );
603 TiXmlNode* InsertAfterChild( TiXmlNode* afterThis, const TiXmlNode& addThis );
608 TiXmlNode* ReplaceChild( TiXmlNode* replaceThis, const TiXmlNode& withThis );
611 bool RemoveChild( TiXmlNode* removeThis );
614 const TiXmlNode* PreviousSibling() const { return prev; }
615 TiXmlNode* PreviousSibling() { return prev; }
618 const TiXmlNode* PreviousSibling( const char * ) const;
619 TiXmlNode* PreviousSibling( const char *_prev ) {
620 return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->PreviousSibling( _prev ) );
624 const TiXmlNode* PreviousSibling( const std::string& _value ) const { return PreviousSibling (_value.c_str ()); } ///< STL std::string form.
625 TiXmlNode* PreviousSibling( const std::string& _value ) { return PreviousSibling (_value.c_str ()); } ///< STL std::string form.
626 const TiXmlNode* NextSibling( const std::string& _value) const { return NextSibling (_value.c_str ()); } ///< STL std::string form.
627 TiXmlNode* NextSibling( const std::string& _value) { return NextSibling (_value.c_str ()); } ///< STL std::string form.
631 const TiXmlNode* NextSibling() const { return next; }
632 TiXmlNode* NextSibling() { return next; }
635 const TiXmlNode* NextSibling( const char * ) const;
636 TiXmlNode* NextSibling( const char* _next ) {
637 return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->NextSibling( _next ) );
646 return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->NextSiblingElement() );
655 return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->NextSiblingElement( _next ) );
666 return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->FirstChildElement() );
672 return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->FirstChildElement( _value ) );
691 return const_cast< TiXmlDocument* >( (const_cast< const TiXmlNode* >(this))->GetDocument() );
714 virtual TiXmlNode* Clone() const = 0;
741 TiXmlNode( NodeType _type );
745 void CopyTo( TiXmlNode* target ) const;
753 TiXmlNode* Identify( const char* start, TiXmlEncoding encoding );
755 TiXmlNode* parent;
758 TiXmlNode* firstChild;
759 TiXmlNode* lastChild;
763 TiXmlNode* prev;
764 TiXmlNode* next;
767 TiXmlNode( const TiXmlNode& ); // not implemented.
768 void operator=( const TiXmlNode& base ); // not allowed.
940 class TiXmlElement : public TiXmlNode
1118 similarly named TiXmlHandle::Text() and TiXmlNode::ToText() which are
1124 virtual TiXmlNode* Clone() const;
1162 class TiXmlComment : public TiXmlNode
1166 TiXmlComment() : TiXmlNode( TiXmlNode::TINYXML_COMMENT ) {}
1168 TiXmlComment( const char* _value ) : TiXmlNode( TiXmlNode::TINYXML_COMMENT ) {
1177 virtual TiXmlNode* Clone() const;
1212 class TiXmlText : public TiXmlNode
1220 TiXmlText (const char * initValue ) : TiXmlNode (TiXmlNode::TINYXML_TEXT)
1229 TiXmlText( const std::string& initValue ) : TiXmlNode (TiXmlNode::TINYXML_TEXT)
1236 TiXmlText( const TiXmlText& copy ) : TiXmlNode( TiXmlNode::TINYXML_TEXT ) { copy.CopyTo( this ); }
1258 virtual TiXmlNode* Clone() const;
1285 class TiXmlDeclaration : public TiXmlNode
1289 TiXmlDeclaration() : TiXmlNode( TiXmlNode::TINYXML_DECLARATION ) {}
1316 virtual TiXmlNode* Clone() const;
1354 class TiXmlUnknown : public TiXmlNode
1357 TiXmlUnknown() : TiXmlNode( TiXmlNode::TINYXML_UNKNOWN ) {}
1360 TiXmlUnknown( const TiXmlUnknown& copy ) : TiXmlNode( TiXmlNode::TINYXML_UNKNOWN ) { copy.CopyTo( this ); }
1364 virtual TiXmlNode* Clone() const;
1393 class TiXmlDocument : public TiXmlNode
1541 virtual TiXmlNode* Clone() const;
1642 TiXmlHandle( TiXmlNode* _node ) { this->node = _node; }
1683 /** Return the handle as a TiXmlNode. This may return null.
1685 TiXmlNode* ToNode() const { return node; }
1697 Return the handle as a TiXmlNode. This may return null.
1699 TiXmlNode* Node() const { return ToNode(); }
1714 TiXmlNode* node;
1725 of the XML document. After TiXmlNode::Accept() is called, the printed document can