Geant4.10
|
#include <G4ofstreamDestination.hh>
Public Member Functions | |
G4ofstreamDestinationBase (const G4String &defaultName, G4bool append) | |
virtual | ~G4ofstreamDestinationBase () |
virtual G4int | ReceiveG4cout (const G4String &)=0 |
virtual G4int | ReceiveG4cerr (const G4String &)=0 |
void | SetFileName (const G4String &name, G4bool append=true) |
void | Close () |
void | Open () |
![]() | |
G4coutDestination () | |
virtual | ~G4coutDestination () |
Protected Attributes | |
std::ofstream | g4file |
Definition at line 57 of file G4ofstreamDestination.hh.
G4ofstreamDestinationBase::G4ofstreamDestinationBase | ( | const G4String & | defaultName, |
G4bool | append | ||
) |
Definition at line 42 of file G4ofstreamDestination.cc.
|
virtual |
void G4ofstreamDestinationBase::Close | ( | ) |
Definition at line 72 of file G4ofstreamDestination.cc.
References g4file.
Referenced by ~G4ofstreamDestinationBase().
void G4ofstreamDestinationBase::Open | ( | ) |
Definition at line 61 of file G4ofstreamDestination.cc.
References testem0::app, and g4file.
Referenced by G4CerrToFile::ReceiveG4cerr(), and G4CoutToFile::ReceiveG4cout().
Reimplemented from G4coutDestination.
Implemented in G4CerrToFile, and G4CoutToFile.
Reimplemented from G4coutDestination.
Implemented in G4CerrToFile, and G4CoutToFile.
Definition at line 55 of file G4ofstreamDestination.cc.
|
protected |
Definition at line 73 of file G4ofstreamDestination.hh.
Referenced by Close(), Open(), G4CerrToFile::ReceiveG4cerr(), and G4CoutToFile::ReceiveG4cout().