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

Method LastChildElement

3rdparty/tinyxml2/tinyxml2.cpp:1036–1045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1034
1035
1036const XMLElement* XMLNode::LastChildElement( const char* name ) const
1037{
1038 for( const XMLNode* node = _lastChild; node; node = node->_prev ) {
1039 const XMLElement* element = node->ToElementWithName( name );
1040 if ( element ) {
1041 return element;
1042 }
1043 }
1044 return 0;
1045}
1046
1047
1048const XMLElement* XMLNode::NextSiblingElement( const char* name ) const

Callers 1

LastChildElementFunction · 0.80

Calls 1

ToElementWithNameMethod · 0.80

Tested by

no test coverage detected