MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / PreviousSiblingElement

Method PreviousSiblingElement

sourcecommon/tinyxml2.cpp:772–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770
771
772const XMLElement* XMLNode::PreviousSiblingElement( const char* value ) const
773{
774 for( XMLNode* node=_prev; node; node = node->_prev ) {
775 const XMLElement* element = node->ToElement();
776 if ( element
777 && (!value || XMLUtil::StringEqual( value, node->Value() ))) {
778 return element;
779 }
780 }
781 return 0;
782}
783
784
785char* XMLNode::ParseDeep( char* p, StrPair* parentEnd )

Callers 1

PreviousSiblingElementFunction · 0.80

Calls 1

ValueMethod · 0.80

Tested by

no test coverage detected