MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / FirstChildElement

Method FirstChildElement

externals/tinyxml2/tinyxml2.cpp:1024–1033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1022
1023
1024const XMLElement* XMLNode::FirstChildElement( const char* name ) const
1025{
1026 for( const XMLNode* node = _firstChild; node; node = node->_next ) {
1027 const XMLElement* element = node->ToElementWithName( name );
1028 if ( element ) {
1029 return element;
1030 }
1031 }
1032 return 0;
1033}
1034
1035
1036const XMLElement* XMLNode::LastChildElement( const char* name ) const

Callers 15

loadFromXmlDocumentMethod · 0.80
loadFileInfoFromXmlMethod · 0.80
loadMethod · 0.80
loadFunctionMethod · 0.80
parseXmlFileMethod · 0.80
ErrorMessageMethod · 0.80
analyseWholeProgramMethod · 0.80
loadFromXmlMethod · 0.80
importSlnxMethod · 0.80
ProjectConfigurationMethod · 0.80
ItemDefinitionGroupMethod · 0.80

Calls 1

ToElementWithNameMethod · 0.80

Tested by 1

FromXmlV2Method · 0.64