MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / QueryStringAttribute

Method QueryStringAttribute

Libraries/tinyxml/tinyxml.h:1007–1014  ·  view source on GitHub ↗

QueryStringAttribute examines the attribute - see QueryIntAttribute().

Source from the content-addressed store, hash-verified

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

Callers 2

LoadActorFromXMLFunction · 0.80

Calls 1

AttributeClass · 0.85

Tested by

no test coverage detected