MCPcopy Create free account
hub / github.com/Norbyte/bg3se / FirstChildElement

Method FirstChildElement

CoreLib/tinyxml2.cpp:994–1003  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

992
993
994const XMLElement* XMLNode::FirstChildElement( const char* name ) const
995{
996 for( const XMLNode* node = _firstChild; node; node = node->_next ) {
997 const XMLElement* element = node->ToElementWithName( name );
998 if ( element ) {
999 return element;
1000 }
1001 }
1002 return 0;
1003}
1004
1005
1006const XMLElement* XMLNode::LastChildElement( const char* name ) const

Callers 4

FirstChildElementFunction · 0.45
LoadMappingsMethod · 0.45
LoadMappingsNodeMethod · 0.45
LoadMappingMethod · 0.45

Calls 1

ToElementWithNameMethod · 0.45

Tested by

no test coverage detected