MCPcopy Create free account
hub / github.com/JayXon/Leanify / PreviousSiblingElement

Method PreviousSiblingElement

lib/tinyxml2/tinyxml2.cpp:837–847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

835
836
837const XMLElement* XMLNode::PreviousSiblingElement( const char* value ) const
838{
839 for( XMLNode* node=_prev; node; node = node->_prev ) {
840 const XMLElement* element = node->ToElement();
841 if ( element
842 && (!value || XMLUtil::StringEqual( value, node->Value() ))) {
843 return element;
844 }
845 }
846 return 0;
847}
848
849
850char* XMLNode::ParseDeep( char* p, StrPair* parentEnd )

Callers 1

PreviousSiblingElementFunction · 0.80

Calls 1

ValueMethod · 0.80

Tested by

no test coverage detected