MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / Accept

Method Accept

Dependencies/tinyxml2/src/tinyxml2.cpp:726–737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724
725
726bool XMLDocument::Accept( XMLVisitor* visitor ) const
727{
728 TIXMLASSERT( visitor );
729 if ( visitor->VisitEnter( *this ) ) {
730 for ( const XMLNode* node=FirstChild(); node; node=node->NextSibling() ) {
731 if ( !node->Accept( visitor ) ) {
732 break;
733 }
734 }
735 }
736 return visitor->VisitExit( *this );
737}
738
739
740// --------- XMLNode ----------- //

Callers

nothing calls this directly

Calls 4

FirstChildFunction · 0.85
VisitEnterMethod · 0.80
VisitExitMethod · 0.80
VisitMethod · 0.80

Tested by

no test coverage detected