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

Method NextSiblingElement

externals/tinyxml2/tinyxml2.cpp:1048–1057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1046
1047
1048const XMLElement* XMLNode::NextSiblingElement( const char* name ) const
1049{
1050 for( const XMLNode* node = _next; node; node = node->_next ) {
1051 const XMLElement* element = node->ToElementWithName( name );
1052 if ( element ) {
1053 return element;
1054 }
1055 }
1056 return 0;
1057}
1058
1059
1060const XMLElement* XMLNode::PreviousSiblingElement( 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

no test coverage detected