MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / FindAttribute

Method FindAttribute

3rdparty/tinyxml2/tinyxml2.cpp:1616–1624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1614
1615
1616const XMLAttribute* XMLElement::FindAttribute( const char* name ) const
1617{
1618 for( XMLAttribute* a = _rootAttribute; a; a = a->_next ) {
1619 if ( XMLUtil::StringEqual( a->Name(), name ) ) {
1620 return a;
1621 }
1622 }
1623 return 0;
1624}
1625
1626
1627const char* XMLElement::Attribute( const char* name, const char* value ) const

Callers

nothing calls this directly

Calls 2

StringEqualFunction · 0.85
NameMethod · 0.80

Tested by

no test coverage detected