MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / FindAttribute

Method FindAttribute

ReClass/tinyxml2.cpp:1507–1515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1505
1506
1507const XMLAttribute* XMLElement::FindAttribute( const char* name ) const
1508{
1509 for( XMLAttribute* a = _rootAttribute; a; a = a->_next ) {
1510 if ( XMLUtil::StringEqual( a->Name(), name ) ) {
1511 return a;
1512 }
1513 }
1514 return 0;
1515}
1516
1517
1518const char* XMLElement::Attribute( const char* name, const char* value ) const

Callers 1

FindAttributeFunction · 0.80

Calls 2

StringEqualFunction · 0.85
NameMethod · 0.80

Tested by

no test coverage detected