ThePEG::CurrentGenerator::Redirect Class Reference

Class used to temporarily redirect a given ostream to the misc() stream of the current EventGenerator. More...

#include <CurrentGenerator.h>

List of all members.

Public Member Functions

 Redirect (ostream &os)
 Constructor taking the stream to be redirected as input.
 ~Redirect ()
 The destructor which restores the original destination of the stream.

Public Attributes

ostream * theStream
 The stream which is redirected.
std::streambuf * theBuffer
 The original buffer of the redirected stream.


Detailed Description

Class used to temporarily redirect a given ostream to the misc() stream of the current EventGenerator.

Definition at line 166 of file CurrentGenerator.h.


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

Generated on Thu Apr 29 12:43:21 2010 for ThePEG by  doxygen 1.5.5