Logo Search packages:      
Sourcecode: rarian version File versions

const char * TiXmlElement::Attribute ( const char *  name  )  const

Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists.

Definition at line 667 of file tinyxml.cpp.

References TiXmlAttribute::Value().

Referenced by Attribute().

{
      TIXML_STRING str( name );
      const TiXmlAttribute* node = attributeSet.Find( str );

      if ( node )
            return node->Value();

      return 0;
}


Generated by  Doxygen 1.6.0   Back to index