MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / FindAttribute

Method FindAttribute

Source/ThirdParty/tinyxml2/tinyxml2.cpp:1432–1440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1430
1431
1432const XMLAttribute* XMLElement::FindAttribute( const char* name ) const
1433{
1434 for( XMLAttribute* a = _rootAttribute; a; a = a->_next ) {
1435 if ( XMLUtil::StringEqual( a->Name(), name ) ) {
1436 return a;
1437 }
1438 }
1439 return 0;
1440}
1441
1442
1443const char* XMLElement::Attribute( const char* name, const char* value ) const

Callers 1

FindAttributeFunction · 0.80

Calls 1

NameMethod · 0.45

Tested by

no test coverage detected