MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / Accept

Method Accept

ReClass/tinyxml2.cpp:727–738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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