QueryStringAttribute examines the attribute - see QueryIntAttribute().
| 1005 | #ifdef TIXML_USE_STL |
| 1006 | /// QueryStringAttribute examines the attribute - see QueryIntAttribute(). |
| 1007 | int QueryStringAttribute( const char* name, std::string* _value ) const { |
| 1008 | const char* cstr = Attribute( name ); |
| 1009 | if ( cstr ) { |
| 1010 | *_value = std::string( cstr ); |
| 1011 | return TIXML_SUCCESS; |
| 1012 | } |
| 1013 | return TIXML_NO_ATTRIBUTE; |
| 1014 | } |
| 1015 | |
| 1016 | /** Template form of the attribute query which will try to read the |
| 1017 | attribute into the specified type. Very easy, very powerful, but |
nothing calls this directly
no outgoing calls
no test coverage detected