MCPcopy Create free account
hub / github.com/DFHack/dfhack / QueryIntAttribute

Method QueryIntAttribute

depends/tinyxml/tinyxml.cpp:661–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659
660
661int TiXmlElement::QueryIntAttribute( const char* name, int* ival ) const
662{
663 const TiXmlAttribute* attrib = attributeSet.Find( name );
664 if ( !attrib )
665 return TIXML_NO_ATTRIBUTE;
666 return attrib->QueryIntValue( ival );
667}
668
669
670int TiXmlElement::QueryUnsignedAttribute( const char* name, unsigned* value ) const

Callers

nothing calls this directly

Calls 2

QueryIntValueMethod · 0.80
FindMethod · 0.45

Tested by

no test coverage detected