Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::ReporterConfig Struct Reference

#include <catch_interfaces_reporter.h>

Public Member Functions

 ReporterConfig (IConfigPtr const &_fullConfig)
 
 ReporterConfig (IConfigPtr const &_fullConfig, std::ostream &_stream)
 
std::ostream & stream () const
 
IConfigPtr fullConfig () const
 

Detailed Description

Definition at line 30 of file catch_interfaces_reporter.h.

Constructor & Destructor Documentation

◆ ReporterConfig() [1/2]

Catch::ReporterConfig::ReporterConfig ( IConfigPtr const & _fullConfig)
explicit

Definition at line 13 of file catch_interfaces_reporter.cpp.

14 : m_stream( &_fullConfig->stream() ), m_fullConfig( _fullConfig ) {}

◆ ReporterConfig() [2/2]

Catch::ReporterConfig::ReporterConfig ( IConfigPtr const & _fullConfig,
std::ostream & _stream )

Definition at line 16 of file catch_interfaces_reporter.cpp.

17 : m_stream( &_stream ), m_fullConfig( _fullConfig ) {}

Member Function Documentation

◆ fullConfig()

IConfigPtr Catch::ReporterConfig::fullConfig ( ) const

Definition at line 20 of file catch_interfaces_reporter.cpp.

20{ return m_fullConfig; }

◆ stream()

std::ostream & Catch::ReporterConfig::stream ( ) const

Definition at line 19 of file catch_interfaces_reporter.cpp.

19{ return *m_stream; }

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