MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / QueryUnsignedAttribute

Method QueryUnsignedAttribute

Libraries/tinyxml/tinyxml.cpp:687–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685
686
687int TiXmlElement::QueryUnsignedAttribute( const char* name, unsigned* value ) const
688{
689 const TiXmlAttribute* node = attributeSet.Find( name );
690 if ( !node )
691 return TIXML_NO_ATTRIBUTE;
692
693 int ival = 0;
694 int result = node->QueryIntValue( &ival );
695 *value = (unsigned)ival;
696 return result;
697}
698
699
700int TiXmlElement::QueryBoolAttribute( const char* name, bool* bval ) const

Callers

nothing calls this directly

Calls 2

FindMethod · 0.45
QueryIntValueMethod · 0.45

Tested by

no test coverage detected