MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / QueryIntValue

Method QueryIntValue

lesson7-Detection/src/utils/tinyxml.cpp:1236–1241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1234
1235
1236int TiXmlAttribute::QueryIntValue( int* ival ) const
1237{
1238 if ( TIXML_SSCANF( value.c_str(), "%d", ival ) == 1 )
1239 return TIXML_SUCCESS;
1240 return TIXML_WRONG_TYPE;
1241}
1242
1243int TiXmlAttribute::QueryDoubleValue( double* dval ) const
1244{

Callers 3

AttributeMethod · 0.80
QueryIntAttributeMethod · 0.80

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected