MCPcopy Create free account
hub / github.com/crossuo/crossuo / PreviousSiblingElement

Method PreviousSiblingElement

external/tinyxml2.cpp:1008–1017  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1006
1007
1008const XMLElement* XMLNode::PreviousSiblingElement( const char* name ) const
1009{
1010 for( const XMLNode* node = _prev; node; node = node->_prev ) {
1011 const XMLElement* element = node->ToElementWithName( name );
1012 if ( element ) {
1013 return element;
1014 }
1015 }
1016 return 0;
1017}
1018
1019
1020char* XMLNode::ParseDeep( char* p, StrPair* parentEndTag, int* curLineNumPtr )

Callers 1

PreviousSiblingElementFunction · 0.80

Calls 1

ToElementWithNameMethod · 0.80

Tested by

no test coverage detected