MCPcopy Create free account
hub / github.com/cirquit/trdrop / SectionTracker

Method SectionTracker

ext/catch.hpp:6109–6119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6107 std::vector<std::string> m_filters;
6108 public:
6109 SectionTracker( NameAndLocation const& nameAndLocation, TrackerContext& ctx, ITracker* parent )
6110 : TrackerBase( nameAndLocation, ctx, parent )
6111 {
6112 if( parent ) {
6113 while( !parent->isSectionTracker() )
6114 parent = &parent->parent();
6115
6116 SectionTracker& parentSection = static_cast<SectionTracker&>( *parent );
6117 addNextFilters( parentSection.m_filters );
6118 }
6119 }
6120 virtual ~SectionTracker();
6121
6122 virtual bool isSectionTracker() const CATCH_OVERRIDE { return true; }

Callers

nothing calls this directly

Calls 1

isSectionTrackerMethod · 0.45

Tested by

no test coverage detected