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

Method PreviousSiblingElement

examples/ThirdPartyLibs/tinyxml2/tinyxml2.cpp:1033–1044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1031}
1032
1033const XMLElement* XMLNode::PreviousSiblingElement(const char* name) const
1034{
1035 for (const XMLNode* node = _prev; node; node = node->_prev)
1036 {
1037 const XMLElement* element = node->ToElementWithName(name);
1038 if (element)
1039 {
1040 return element;
1041 }
1042 }
1043 return 0;
1044}
1045
1046char* XMLNode::ParseDeep(char* p, StrPair* parentEndTag, int* curLineNumPtr)
1047{

Callers 1

PreviousSiblingElementFunction · 0.80

Calls 1

ToElementWithNameMethod · 0.80

Tested by

no test coverage detected