MCPcopy Create free account
hub / github.com/JayXon/Leanify / FindAttribute

Method FindAttribute

lib/tinyxml2/tinyxml2.cpp:1302–1310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1300
1301
1302const XMLAttribute* XMLElement::FindAttribute( const char* name ) const
1303{
1304 for( XMLAttribute* a = _rootAttribute; a; a = a->_next ) {
1305 if ( XMLUtil::StringEqual( a->Name(), name ) ) {
1306 return a;
1307 }
1308 }
1309 return 0;
1310}
1311
1312
1313const char* XMLElement::Attribute( const char* name, const char* value ) const

Callers 1

FindAttributeFunction · 0.80

Calls 1

NameMethod · 0.80

Tested by

no test coverage detected