MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / FirstChildElement

Method FirstChildElement

3rdparty/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 9

FirstChildElementFunction · 0.80
parseSubtreeModelPortsFunction · 0.80
loadSubtreeModelMethod · 0.80
loadDocImplMethod · 0.80
VerifyXMLFunction · 0.80
getPortsRecursivelyMethod · 0.80
writeTreeXSDFunction · 0.80
detectMainTreeIdFunction · 0.80

Calls 1

ToElementWithNameMethod · 0.80

Tested by

no test coverage detected