MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / QueryFloatAttribute

Method QueryFloatAttribute

tinyxml/include/tinyxml.h:996–1003  ·  view source on GitHub ↗

QueryFloatAttribute examines the attribute - see QueryIntAttribute().

Source from the content-addressed store, hash-verified

994 int QueryDoubleAttribute( const char* name, double* _value ) const;
995 /// QueryFloatAttribute examines the attribute - see QueryIntAttribute().
996 int QueryFloatAttribute( const char* name, float* _value ) const {
997 double d;
998 int result = QueryDoubleAttribute( name, &d );
999 if ( result == TIXML_SUCCESS ) {
1000 *_value = (float)d;
1001 }
1002 return result;
1003 }
1004
1005 #ifdef TIXML_USE_STL
1006 /// QueryStringAttribute examines the attribute - see QueryIntAttribute().

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected