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

Method FirstChildElement

examples/ThirdPartyLibs/tinyxml2/tinyxml2.cpp:994–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

992}
993
994const XMLElement* XMLNode::FirstChildElement(const char* name) const
995{
996 for (const XMLNode* node = _firstChild; node; node = node->_next)
997 {
998 const XMLElement* element = node->ToElementWithName(name);
999 if (element)
1000 {
1001 return element;
1002 }
1003 }
1004 return 0;
1005}
1006
1007const XMLElement* XMLNode::LastChildElement(const char* name) const
1008{

Calls 1

ToElementWithNameMethod · 0.80

Tested by

no test coverage detected