Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::CumulativeReporterBase< DerivedT >::BySectionInfo Struct Reference

#include <catch_reporter_bases.hpp>

Public Member Functions

 BySectionInfo (SectionInfo const &other)
 
 BySectionInfo (BySectionInfo const &other)
 
bool operator() (std::shared_ptr< SectionNode > const &node) const
 
void operator= (BySectionInfo const &)=delete
 

Detailed Description

template<typename DerivedT>
struct Catch::CumulativeReporterBase< DerivedT >::BySectionInfo

Definition at line 131 of file catch_reporter_bases.hpp.

Constructor & Destructor Documentation

◆ BySectionInfo() [1/2]

template<typename DerivedT >
Catch::CumulativeReporterBase< DerivedT >::BySectionInfo::BySectionInfo ( SectionInfo const & other)
inline

Definition at line 132 of file catch_reporter_bases.hpp.

132: m_other( other ) {}

◆ BySectionInfo() [2/2]

template<typename DerivedT >
Catch::CumulativeReporterBase< DerivedT >::BySectionInfo::BySectionInfo ( BySectionInfo const & other)
inline

Definition at line 133 of file catch_reporter_bases.hpp.

133: m_other( other.m_other ) {}

Member Function Documentation

◆ operator()()

template<typename DerivedT >
bool Catch::CumulativeReporterBase< DerivedT >::BySectionInfo::operator() ( std::shared_ptr< SectionNode > const & node) const
inline

Definition at line 134 of file catch_reporter_bases.hpp.

134 {
135 return ((node->stats.sectionInfo.name == m_other.name) &&
136 (node->stats.sectionInfo.lineInfo == m_other.lineInfo));
137 }
SourceLineInfo lineInfo

◆ operator=()

template<typename DerivedT >
void Catch::CumulativeReporterBase< DerivedT >::BySectionInfo::operator= ( BySectionInfo const & )
delete

The documentation for this struct was generated from the following file: