MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / PreviousSiblingElement

Method PreviousSiblingElement

Source/ThirdParty/tinyxml2/tinyxml2.cpp:976–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

974
975
976const XMLElement* XMLNode::PreviousSiblingElement( const char* name ) const
977{
978 for( const XMLNode* node = _prev; node; node = node->_prev ) {
979 const XMLElement* element = node->ToElementWithName( name );
980 if ( element ) {
981 return element;
982 }
983 }
984 return 0;
985}
986
987
988char* XMLNode::ParseDeep( char* p, StrPair* parentEndTag, int* curLineNumPtr )

Callers 1

PreviousSiblingElementFunction · 0.80

Calls 1

ToElementWithNameMethod · 0.80

Tested by

no test coverage detected