Public Member Functions | Public Attributes

chomp::homology::outputstream::mute Struct Reference

Local mute of the stream. More...

#include <textfile.h>

List of all members.

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.

Definition at line 113 of file textfile.h.


Constructor & Destructor Documentation

chomp::homology::outputstream::mute::mute ( outputstream _stream  )  [inline]

Definition at line 115 of file textfile.h.

References log, show, and stream.

                                            : stream (_stream),
                        show (_stream. show), log (_stream. log)
                        {stream. show = false; stream. log = false; return;}

chomp::homology::outputstream::mute::~mute (  )  [inline]

Definition at line 118 of file textfile.h.

References log, show, and stream.

                         {stream. show = show;
                        stream. log = log; return;}


Member Data Documentation

Definition at line 122 of file textfile.h.

Referenced by mute(), and ~mute().

Definition at line 121 of file textfile.h.

Referenced by mute(), and ~mute().

Definition at line 120 of file textfile.h.

Referenced by mute(), and ~mute().


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