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

Method FirstChildElement

sourcecommon/tinyxml2.cpp:731–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729
730
731const XMLElement* XMLNode::FirstChildElement( const char* value ) const
732{
733 for( XMLNode* node=_firstChild; node; node=node->_next ) {
734 XMLElement* element = node->ToElement();
735 if ( element ) {
736 if ( !value || XMLUtil::StringEqual( element->Name(), value ) ) {
737 return element;
738 }
739 }
740 }
741 return 0;
742}
743
744
745const XMLElement* XMLNode::LastChildElement( const char* value ) const

Callers 5

FirstChildElementFunction · 0.80
LoadMethod · 0.80
LoadMethod · 0.80
LoadMethod · 0.80
LoadMethod · 0.80

Calls 1

NameMethod · 0.80

Tested by

no test coverage detected