MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / FindAttribute

Method FindAttribute

sourcecommon/tinyxml2.cpp:1223–1231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221
1222
1223XMLAttribute* XMLElement::FindAttribute( const char* name )
1224{
1225 for( XMLAttribute* a = _rootAttribute; a; a = a->_next ) {
1226 if ( XMLUtil::StringEqual( a->Name(), name ) ) {
1227 return a;
1228 }
1229 }
1230 return 0;
1231}
1232
1233
1234const XMLAttribute* XMLElement::FindAttribute( const char* name ) const

Callers

nothing calls this directly

Calls 1

NameMethod · 0.80

Tested by

no test coverage detected