Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::RedirectedStreams Class Reference

#include <catch_output_redirect.h>

Public Member Functions

 RedirectedStreams (RedirectedStreams const &)=delete
 
RedirectedStreamsoperator= (RedirectedStreams const &)=delete
 
 RedirectedStreams (RedirectedStreams &&)=delete
 
RedirectedStreamsoperator= (RedirectedStreams &&)=delete
 
 RedirectedStreams (std::string &redirectedCout, std::string &redirectedCerr)
 
 ~RedirectedStreams ()
 

Detailed Description

Definition at line 49 of file catch_output_redirect.h.

Constructor & Destructor Documentation

◆ RedirectedStreams() [1/3]

Catch::RedirectedStreams::RedirectedStreams ( RedirectedStreams const & )
delete

◆ RedirectedStreams() [2/3]

Catch::RedirectedStreams::RedirectedStreams ( RedirectedStreams && )
delete

◆ RedirectedStreams() [3/3]

Catch::RedirectedStreams::RedirectedStreams ( std::string & redirectedCout,
std::string & redirectedCerr )

Definition at line 52 of file catch_output_redirect.cpp.

53 : m_redirectedCout(redirectedCout),
54 m_redirectedCerr(redirectedCerr)
55 {}

◆ ~RedirectedStreams()

Catch::RedirectedStreams::~RedirectedStreams ( )

Definition at line 57 of file catch_output_redirect.cpp.

57 {
58 m_redirectedCout += m_redirectedStdOut.str();
59 m_redirectedCerr += m_redirectedStdErr.str();
60 }
auto str() const -> std::string
auto str() const -> std::string
Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

RedirectedStreams & Catch::RedirectedStreams::operator= ( RedirectedStreams && )
delete

◆ operator=() [2/2]

RedirectedStreams & Catch::RedirectedStreams::operator= ( RedirectedStreams const & )
delete

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