See QueryIntAttribute()
| 1255 | } |
| 1256 | /// See QueryIntAttribute() |
| 1257 | XMLError QueryFloatAttribute( const char* name, float* value ) const { |
| 1258 | const XMLAttribute* a = FindAttribute( name ); |
| 1259 | if ( !a ) { |
| 1260 | return XML_NO_ATTRIBUTE; |
| 1261 | } |
| 1262 | return a->QueryFloatValue( value ); |
| 1263 | } |
| 1264 | |
| 1265 | |
| 1266 | /** Given an attribute name, QueryAttribute() returns |
no test coverage detected