MCPcopy Create free account
hub / github.com/Profactor/cv-plot / SectionTracker

Method SectionTracker

CvPlot/ext/catch2/inc/catch.hpp:14216–14227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14214 }
14215
14216 SectionTracker::SectionTracker( NameAndLocation const& nameAndLocation, TrackerContext& ctx, ITracker* parent )
14217 : TrackerBase( nameAndLocation, ctx, parent ),
14218 m_trimmed_name(trim(nameAndLocation.name))
14219 {
14220 if( parent ) {
14221 while( !parent->isSectionTracker() )
14222 parent = &parent->parent();
14223
14224 SectionTracker& parentSection = static_cast<SectionTracker&>( *parent );
14225 addNextFilters( parentSection.m_filters );
14226 }
14227 }
14228
14229 bool SectionTracker::isComplete() const {
14230 bool complete = true;

Callers

nothing calls this directly

Calls 2

trimFunction · 0.85
isSectionTrackerMethod · 0.80

Tested by

no test coverage detected