Geant4  10.02.p02
G4CoutToFile Class Reference

#include <G4ofstreamDestination.hh>

+ Inheritance diagram for G4CoutToFile:
+ Collaboration diagram for G4CoutToFile:

Public Member Functions

 G4CoutToFile (const G4String &deafaultName="Geant4_cout.txt", G4bool append=true)
 
virtual G4int ReceiveG4cout (const G4String &msg)
 
virtual G4int ReceiveG4cerr (const G4String &)
 
- Public Member Functions inherited from G4ofstreamDestinationBase
 G4ofstreamDestinationBase (const G4String &defaultName, G4bool append)
 
virtual ~G4ofstreamDestinationBase ()
 
void SetFileName (const G4String &name, G4bool append=true)
 
void Close ()
 
void Open ()
 
- Public Member Functions inherited from G4coutDestination
 G4coutDestination ()
 
virtual ~G4coutDestination ()
 

Additional Inherited Members

- Protected Attributes inherited from G4ofstreamDestinationBase
std::ofstream g4file
 
- Static Protected Attributes inherited from G4coutDestination
static G4coutDestinationmasterG4coutDestination = 0
 

Detailed Description

Definition at line 76 of file G4ofstreamDestination.hh.

Constructor & Destructor Documentation

G4CoutToFile::G4CoutToFile ( const G4String deafaultName = "Geant4_cout.txt",
G4bool  append = true 
)

Definition at line 82 of file G4ofstreamDestination.cc.

References G4coutbuf, and G4strstreambuf::SetDestination().

+ Here is the call graph for this function:

Member Function Documentation

virtual G4int G4CoutToFile::ReceiveG4cerr ( const G4String )
inlinevirtual

Implements G4ofstreamDestinationBase.

Definition at line 81 of file G4ofstreamDestination.hh.

G4int G4CoutToFile::ReceiveG4cout ( const G4String msg)
virtual

Implements G4ofstreamDestinationBase.

Definition at line 88 of file G4ofstreamDestination.cc.

References G4ofstreamDestinationBase::g4file, and G4ofstreamDestinationBase::Open().

+ Here is the call graph for this function:


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