MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / FindAttribute

Method FindAttribute

examples/ThirdPartyLibs/tinyxml2/tinyxml2.cpp:1574–1584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1572}
1573
1574const XMLAttribute* XMLElement::FindAttribute(const char* name) const
1575{
1576 for (XMLAttribute* a = _rootAttribute; a; a = a->_next)
1577 {
1578 if (XMLUtil::StringEqual(a->Name(), name))
1579 {
1580 return a;
1581 }
1582 }
1583 return 0;
1584}
1585
1586const char* XMLElement::Attribute(const char* name, const char* value) const
1587{

Callers 1

FindAttributeFunction · 0.80

Calls 2

StringEqualFunction · 0.85
NameMethod · 0.80

Tested by

no test coverage detected