MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / LastChildElement

Method LastChildElement

src/xml/tinyxml2.cpp:751–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749
750
751const XMLElement* XMLNode::LastChildElement( const char* value ) const {
752 for( XMLNode* node=_lastChild; node; node=node->_prev ) {
753 XMLElement* element = node->ToElement();
754 if ( element ) {
755 if ( !value || XMLUtil::StringEqual( element->Name(), value ) ) {
756 return element;
757 }
758 }
759 }
760 return 0;
761}
762
763
764const XMLElement* XMLNode::NextSiblingElement( const char* value ) const {

Callers 1

LastChildElementFunction · 0.80

Calls 1

NameMethod · 0.80

Tested by

no test coverage detected