MCPcopy Create free account
hub / github.com/SOCI/soci / SectionTracker

Method SectionTracker

tests/catch.hpp:14507–14518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14505 }
14506
14507 SectionTracker::SectionTracker( NameAndLocation const& nameAndLocation, TrackerContext& ctx, ITracker* parent )
14508 : TrackerBase( nameAndLocation, ctx, parent ),
14509 m_trimmed_name(trim(nameAndLocation.name))
14510 {
14511 if( parent ) {
14512 while( !parent->isSectionTracker() )
14513 parent = &parent->parent();
14514
14515 SectionTracker& parentSection = static_cast<SectionTracker&>( *parent );
14516 addNextFilters( parentSection.m_filters );
14517 }
14518 }
14519
14520 bool SectionTracker::isComplete() const {
14521 bool complete = true;

Callers

nothing calls this directly

Calls 2

trimFunction · 0.85
isSectionTrackerMethod · 0.80

Tested by

no test coverage detected