MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / QueryUnsignedAttribute

Method QueryUnsignedAttribute

engine/source/persistence/tinyXML/tinyxml.cpp:654–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

652
653
654int TiXmlElement::QueryUnsignedAttribute( const char* name, unsigned* value ) const
655{
656 const TiXmlAttribute* node = attributeSet.Find( name );
657 if ( !node )
658 return TIXML_NO_ATTRIBUTE;
659
660 int ival = 0;
661 int result = node->QueryIntValue( &ival );
662 *value = (unsigned)ival;
663 return result;
664}
665
666
667int TiXmlElement::QueryBoolAttribute( const char* name, bool* bval ) const

Callers

nothing calls this directly

Calls 2

FindMethod · 0.80
QueryIntValueMethod · 0.80

Tested by

no test coverage detected