Home | History | Annotate | Download | only in tinyxml2

Lines Matching refs:XMLElement

708         returnNode =  CreateUnlinkedNode<XMLElement>( _elementPool );

940 const XMLElement* XMLNode::FirstChildElement( const char* name ) const
943 const XMLElement* element = node->ToElementWithName( name );
952 const XMLElement* XMLNode::LastChildElement( const char* name ) const
955 const XMLElement* element = node->ToElementWithName( name );
964 const XMLElement* XMLNode::NextSiblingElement( const char* name ) const
967 const XMLElement* element = node->ToElementWithName( name );
976 const XMLElement* XMLNode::PreviousSiblingElement( const char* name ) const
979 const XMLElement* element = node->ToElementWithName( name );
1049 XMLElement* ele = node->ToElement();
1052 if ( ele->ClosingType() == XMLElement::CLOSING ) {
1065 if ( ele->ClosingType() == XMLElement::OPEN ) {
1070 if ( ele->ClosingType() != XMLElement::OPEN ) {
1078 _document->SetError( XML_ERROR_MISMATCHED_ELEMENT, initialLineNum, "XMLElement name=%s", ele->Name());
1117 const XMLElement* XMLNode::ToElementWithName( const char* name ) const
1119 const XMLElement* element = this->ToElement();
1483 // --------- XMLElement ---------- //
1484 XMLElement::XMLElement( XMLDocument* doc ) : XMLNode( doc ),
1491 XMLElement::~XMLElement()
1501 const XMLAttribute* XMLElement::FindAttribute( const char* name ) const
1512 const char* XMLElement::Attribute( const char* name, const char* value ) const
1524 int XMLElement::IntAttribute(const char* name, int defaultValue) const
1531 unsigned XMLElement::UnsignedAttribute(const char* name, unsigned defaultValue) const
1538 int64_t XMLElement::Int64Attribute(const char* name, int64_t defaultValue) const
1545 bool XMLElement::BoolAttribute(const char* name, bool defaultValue) const
1552 double XMLElement::DoubleAttribute(const char* name, double defaultValue) const
1559 float XMLElement::FloatAttribute(const char* name, float defaultValue) const
1566 const char* XMLElement::GetText() const
1575 void XMLElement::SetText( const char* inText )
1586 void XMLElement::SetText( int v )
1594 void XMLElement::SetText( unsigned v )
1602 void XMLElement::SetText(int64_t v)
1610 void XMLElement::SetText( bool v )
1618 void XMLElement::SetText( float v )
1626 void XMLElement::SetText( double v )
1634 XMLError XMLElement::QueryIntText( int* ival ) const
1647 XMLError XMLElement::QueryUnsignedText( unsigned* uval ) const
1660 XMLError XMLElement::QueryInt64Text(int64_t* ival) const
1673 XMLError XMLElement::QueryBoolText( bool* bval ) const
1686 XMLError XMLElement::QueryDoubleText( double* dval ) const
1699 XMLError XMLElement::QueryFloatText( float* fval ) const
1711 int XMLElement::IntText(int defaultValue) const
1718 unsigned XMLElement::UnsignedText(unsigned defaultValue) const
1725 int64_t XMLElement::Int64Text(int64_t defaultValue) const
1732 bool XMLElement::BoolText(bool defaultValue) const
1739 double XMLElement::DoubleText(double defaultValue) const
1746 float XMLElement::FloatText(float defaultValue) const
1754 XMLAttribute* XMLElement::FindOrCreateAttribute( const char* name )
1782 void XMLElement::DeleteAttribute( const char* name )
1801 char* XMLElement::ParseAttributes( char* p, int* curLineNumPtr )
1809 _document->SetError( XML_ERROR_PARSING_ELEMENT, _parseLineNum, "XMLElement name=%s", Name() );
1824 _document->SetError( XML_ERROR_PARSING_ATTRIBUTE, attrLineNum, "XMLElement name=%s", Name() );
1860 void XMLElement::DeleteAttribute( XMLAttribute* attribute )
1870 XMLElement::CreateAttribute()
1884 char* XMLElement::ParseDeep( char* p, StrPair* parentEndTag, int* curLineNumPtr )
1913 XMLNode* XMLElement::ShallowClone( XMLDocument* doc ) const
1918 XMLElement* element = doc->NewElement( Value() ); // fixme: this will always allocate memory. Intern?
1926 bool XMLElement::ShallowEqual( const XMLNode* compare ) const
1929 const XMLElement* other = compare->ToElement();
1952 bool XMLElement::Accept( XMLVisitor* visitor ) const
2079 XMLElement* XMLDocument::NewElement( const char* name )
2081 XMLElement* ele = CreateUnlinkedNode<XMLElement>( _elementPool );
2741 bool XMLPrinter::VisitEnter( const XMLElement& element, const XMLAttribute* attribute )
2743 const XMLElement* parentElem = 0;
2757 bool XMLPrinter::VisitExit( const XMLElement& element )