MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / PreviousSiblingElement

Method PreviousSiblingElement

Source/3rdParty/tinyxml2/tinyxml2.cpp:674–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672}
673
674const XMLElement* XMLNode::PreviousSiblingElement(const char* value) const {
675 for (XMLNode* element = _prev; element; element = element->_prev) {
676 if (element->ToElement()
677 && (!value || XMLUtil::StringEqual(value, element->Value()))) {
678 return element->ToElement();
679 }
680 }
681 return 0;
682}
683
684char* XMLNode::ParseDeep(char* p, StrPair* parentEnd) {
685 // This is a recursive method, but thinking about it "at the current level"

Callers

nothing calls this directly

Calls 3

StringEqualFunction · 0.85
ValueMethod · 0.65
ToElementMethod · 0.45

Tested by

no test coverage detected