MCPcopy Create free account
hub / github.com/apache/thrift / SectionTracker

Method SectionTracker

compiler/cpp/tests/catch/catch.hpp:6195–6205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6193 std::vector<std::string> m_filters;
6194 public:
6195 SectionTracker( NameAndLocation const& nameAndLocation, TrackerContext& ctx, ITracker* parent )
6196 : TrackerBase( nameAndLocation, ctx, parent )
6197 {
6198 if( parent ) {
6199 while( !parent->isSectionTracker() )
6200 parent = &parent->parent();
6201
6202 SectionTracker& parentSection = static_cast<SectionTracker&>( *parent );
6203 addNextFilters( parentSection.m_filters );
6204 }
6205 }
6206 virtual ~SectionTracker();
6207
6208 virtual bool isSectionTracker() const CATCH_OVERRIDE { return true; }

Callers

nothing calls this directly

Calls 1

isSectionTrackerMethod · 0.45

Tested by

no test coverage detected