QueryFloatAttribute examines the attribute - see QueryIntAttribute().
| 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(). |
nothing calls this directly
no outgoing calls
no test coverage detected