MCPcopy Create free account
hub / github.com/9miao/CrossApp / FirstChildElement

Method FirstChildElement

CrossApp/support/tinyxml2/tinyxml2.cpp:725–736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723
724
725const XMLElement* XMLNode::FirstChildElement( const char* value ) const
726{
727 for( XMLNode* node=_firstChild; node; node=node->_next ) {
728 XMLElement* element = node->ToElement();
729 if ( element ) {
730 if ( !value || XMLUtil::StringEqual( element->Name(), value ) ) {
731 return element;
732 }
733 }
734 }
735 return 0;
736}
737
738
739const XMLElement* XMLNode::LastChildElement( const char* value ) const

Callers 7

layoutViewFunction · 0.80
parserXmlFunction · 0.80
initWithPathMethod · 0.80
getXMLNodeForKeyFunction · 0.80
CAUserDefault.cppFile · 0.80
FirstChildElementFunction · 0.80

Calls 1

StringEqualFunction · 0.85

Tested by

no test coverage detected