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

Method LastChildElement

sourcecommon/tinyxml2.cpp:745–756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743
744
745const XMLElement* XMLNode::LastChildElement( const char* value ) const
746{
747 for( XMLNode* node=_lastChild; node; node=node->_prev ) {
748 XMLElement* element = node->ToElement();
749 if ( element ) {
750 if ( !value || XMLUtil::StringEqual( element->Name(), value ) ) {
751 return element;
752 }
753 }
754 }
755 return 0;
756}
757
758
759const XMLElement* XMLNode::NextSiblingElement( const char* value ) const

Callers 1

LastChildElementFunction · 0.80

Calls 1

NameMethod · 0.80

Tested by

no test coverage detected