CAPD DynSys Library 5.2.0
capd::auxil::OutputStream::mute Struct Reference

Local mute of the stream. This class defines an object which makes the stream mute by suppressing output to both the screen and the log file and restores its setting when the object is destroyed. More...

#include <capd/auxil/OutputStream.h>

Public Member Functions

 mute (OutputStream &_stream)
 
 ~mute ()
 

Public Attributes

OutputStreamstream
 
bool show
 
bool log
 

Detailed Description

Local mute of the stream. This class defines an object which makes the stream mute by suppressing output to both the screen and the log file and restores its setting when the object is destroyed.

Constructor & Destructor Documentation

◆ mute()

capd::auxil::OutputStream::mute::mute ( OutputStream _stream)
inline

◆ ~mute()

capd::auxil::OutputStream::mute::~mute ( )
inline

Member Data Documentation

◆ log

bool capd::auxil::OutputStream::mute::log

◆ show

bool capd::auxil::OutputStream::mute::show

◆ stream

OutputStream& capd::auxil::OutputStream::mute::stream