MCPcopy Create free account
hub / github.com/Norbyte/bg3se / LastChildElement

Method LastChildElement

CoreLib/tinyxml2.cpp:1006–1015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1004
1005
1006const XMLElement* XMLNode::LastChildElement( const char* name ) const
1007{
1008 for( const XMLNode* node = _lastChild; node; node = node->_prev ) {
1009 const XMLElement* element = node->ToElementWithName( name );
1010 if ( element ) {
1011 return element;
1012 }
1013 }
1014 return 0;
1015}
1016
1017
1018const XMLElement* XMLNode::NextSiblingElement( const char* name ) const

Callers 1

LastChildElementFunction · 0.45

Calls 1

ToElementWithNameMethod · 0.45

Tested by

no test coverage detected