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

Method QueryDoubleValue

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

Source from the content-addressed store, hash-verified

1241}
1242
1243int TiXmlAttribute::QueryDoubleValue( double* dval ) const
1244{
1245 if ( TIXML_SSCANF( value.c_str(), "%lf", dval ) == 1 )
1246 return TIXML_SUCCESS;
1247 return TIXML_WRONG_TYPE;
1248}
1249
1250void TiXmlAttribute::SetIntValue( int _value )
1251{

Callers 2

AttributeMethod · 0.80
QueryDoubleAttributeMethod · 0.80

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected