Home | History | Annotate | Download | only in tinyxml

Lines Matching refs:TiXmlElement

84 class TiXmlElement;
139 virtual bool VisitEnter( const TiXmlElement& /*element*/, const TiXmlAttribute* /*firstAttribute*/ ) { return true; }
141 virtual bool VisitExit( const TiXmlElement& /*element*/ ) { return true; }
197 friend class TiXmlElement;
426 friend class TiXmlElement;
445 a TiXmlElement (for example) and read that from an input stream,
644 const TiXmlElement* NextSiblingElement() const;
645 TiXmlElement* NextSiblingElement() {
646 return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->NextSiblingElement() );
653 const TiXmlElement* NextSiblingElement( const char * ) const;
654 TiXmlElement* NextSiblingElement( const char *_next ) {
655 return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->NextSiblingElement( _next ) );
659 const TiXmlElement* NextSiblingElement( const std::string& _value) const { return NextSiblingElement (_value.c_str ()); } ///< STL std::string form.
660 TiXmlElement* NextSiblingElement( const std::string& _value) { return NextSiblingElement (_value.c_str ()); } ///< STL std::string form.
664 const TiXmlElement* FirstChildElement() const;
665 TiXmlElement* FirstChildElement() {
666 return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->FirstChildElement() );
670 const TiXmlElement* FirstChildElement( const char * _value ) const;
671 TiXmlElement* FirstChildElement( const char * _value ) {
672 return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->FirstChildElement( _value ) );
676 const TiXmlElement* FirstChildElement( const std::string& _value ) const { return FirstChildElement (_value.c_str ()); } ///< STL std::string form.
677 TiXmlElement* FirstChildElement( const std::string& _value ) { return FirstChildElement (_value.c_str ()); } ///< STL std::string form.
698 virtual const TiXmlElement* ToElement() const { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type.
705 virtual TiXmlElement* ToElement() { return 0; } ///< Cast to a more defined type. Will return null if not of the requested type.
940 class TiXmlElement : public TiXmlNode
944 TiXmlElement (const char * in_value);
948 TiXmlElement( const std::string& _value );
951 TiXmlElement( const TiXmlElement& );
953 TiXmlElement& operator=( const TiXmlElement& base );
955 virtual ~TiXmlElement();
1133 virtual const TiXmlElement* ToElement() const { return this; } ///< Cast to a more defined type. Will return null not of the requested type.
1134 virtual TiXmlElement* ToElement() { return this; } ///< Cast to a more defined type. Will return null not of the requested type.
1142 void CopyTo( TiXmlElement* target ) const;
1214 friend class TiXmlElement;
1452 const TiXmlElement* RootElement() const { return FirstChildElement(); }
1453 TiXmlElement* RootElement() { return FirstChildElement(); }
1577 TiXmlElement* root = document.FirstChildElement( "Document" );
1580 TiXmlElement* element = root->FirstChildElement( "Element" );
1583 TiXmlElement* child = element->FirstChildElement( "Child" );
1586 TiXmlElement* child2 = child->NextSiblingElement( "Child" );
1598 TiXmlElement* child2 = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", 1 ).ToElement();
1617 TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", i ).ToElement();
1630 TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).FirstChild( "Child" ).ToElement();
1686 /** Return the handle as a TiXmlElement. This may return null.
1688 TiXmlElement* ToElement() const { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); }
1701 Return the handle as a TiXmlElement. This may return null.
1703 TiXmlElement* Element() const { return ToElement(); }
1746 virtual bool VisitEnter( const TiXmlElement& element, const TiXmlAttribute* firstAttribute );
1747 virtual bool VisitExit( const TiXmlElement& element );