MCPcopy Create free account
hub / github.com/JayXon/Leanify / LastChildElement

Method LastChildElement

lib/tinyxml2/tinyxml2.cpp:810–821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

808
809
810const XMLElement* XMLNode::LastChildElement( const char* value ) const
811{
812 for( XMLNode* node=_lastChild; node; node=node->_prev ) {
813 XMLElement* element = node->ToElement();
814 if ( element ) {
815 if ( !value || XMLUtil::StringEqual( element->Name(), value ) ) {
816 return element;
817 }
818 }
819 }
820 return 0;
821}
822
823
824const XMLElement* XMLNode::NextSiblingElement( const char* value ) const

Callers 1

LastChildElementFunction · 0.80

Calls 1

NameMethod · 0.80

Tested by

no test coverage detected