Lines Matching refs:XMLElement
93 class XMLElement;
343 virtual bool VisitEnter( const XMLElement& /*element*/, const XMLAttribute* /*firstAttribute*/ ) { return true; }
345 virtual bool VisitExit( const XMLElement& /*element*/ ) { return true; }
436 friend class XMLElement;
444 virtual XMLElement* ToElement() { return 0; } ///< Safely cast to an Element, or null.
451 virtual const XMLElement* ToElement() const { return 0; }
486 const XMLElement* FirstChildElement( const char* value=0 ) const;
487 XMLElement* FirstChildElement( const char* _value=0 ) { return const_cast<XMLElement*>(const_cast<const XMLNode*>(this)->FirstChildElement( _value )); }
496 const XMLElement* LastChildElement( const char* value=0 ) const;
497 XMLElement* LastChildElement( const char* _value=0 ) { return const_cast<XMLElement*>(const_cast<const XMLNode*>(this)->LastChildElement(_value) ); }
504 const XMLElement* PreviousSiblingElement( const char* value=0 ) const ;
505 XMLElement* PreviousSiblingElement( const char* _value=0 ) { return const_cast<XMLElement*>(const_cast<const XMLNode*>(this)->PreviousSiblingElement( _value ) ); }
512 const XMLElement* NextSiblingElement( const char* value=0 ) const;
513 XMLElement* NextSiblingElement( const char* _value=0 ) { return const_cast<XMLElement*>(const_cast<const XMLNode*>(this)->NextSiblingElement( _value ) ); }
771 friend class XMLElement;
840 class XMLElement : public XMLNode
850 virtual XMLElement* ToElement() { return this; }
851 virtual const XMLElement* ToElement() const { return this; }
984 const XMLElement* xElement = pointElement->FirstChildElement( "x" );
985 const XMLElement* yElement = pointElement->FirstChildElement( "y" );
1016 XMLElement( XMLDocument* doc );
1017 virtual ~XMLElement();
1018 XMLElement( const XMLElement& ); // not supported
1019 void operator=( const XMLElement& ); // not supported
1041 friend class XMLElement;
1102 XMLElement* RootElement() { return FirstChildElement(); }
1103 const XMLElement* RootElement() const { return FirstChildElement(); }
1127 XMLElement* NewElement( const char* name );
1196 MemPoolT< sizeof(XMLElement) > elementPool;
1222 XMLElement* root = document.FirstChildElement( "Document" );
1225 XMLElement* element = root->FirstChildElement( "Element" );
1228 XMLElement* child = element->FirstChildElement( "Child" );
1231 XMLElement* child2 = child->NextSiblingElement( "Child" );
1243 XMLElement* child2 = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).FirstChild().NextSibling().ToElement();
1289 /// Safe cast to XMLElement. This can return null.
1290 XMLElement* ToElement() { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); }
1327 const XMLElement* ToElement() const { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); }
1428 virtual bool VisitEnter( const XMLElement& element, const XMLAttribute* attribute );
1429 virtual bool VisitExit( const XMLElement& element );