MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / FindAttribute

Method FindAttribute

Dependencies/tinyxml2/src/tinyxml2.cpp:1512–1520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1510
1511
1512const XMLAttribute* XMLElement::FindAttribute( const char* name ) const
1513{
1514 for( XMLAttribute* a = _rootAttribute; a; a = a->_next ) {
1515 if ( XMLUtil::StringEqual( a->Name(), name ) ) {
1516 return a;
1517 }
1518 }
1519 return 0;
1520}
1521
1522
1523const char* XMLElement::Attribute( const char* name, const char* value ) const

Callers

nothing calls this directly

Calls 2

StringEqualFunction · 0.85
NameMethod · 0.45

Tested by

no test coverage detected