| 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; } |
nothing calls this directly
no test coverage detected