Geant4
10.02
|
#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 () |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination () | |
virtual | ~G4coutDestination () |
Protected Attributes | |
std::ofstream | g4file |
Private Attributes | |
G4String | fileName |
G4bool | appendFlag |
Additional Inherited Members | |
Static Protected Attributes inherited from G4coutDestination | |
static G4coutDestination * | masterG4coutDestination = 0 |
Definition at line 57 of file G4ofstreamDestination.hh.
G4ofstreamDestinationBase::G4ofstreamDestinationBase | ( | const G4String & | defaultName, |
G4bool | append | ||
) |
Definition at line 42 of file G4ofstreamDestination.cc.
|
virtual |
Definition at line 50 of file G4ofstreamDestination.cc.
References Close().
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 appendFlag, fileName, 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.
References appendFlag, and fileName.
|
private |
Definition at line 71 of file G4ofstreamDestination.hh.
Referenced by Open(), and SetFileName().
|
private |
Definition at line 70 of file G4ofstreamDestination.hh.
Referenced by Open(), and SetFileName().
|
protected |
Definition at line 73 of file G4ofstreamDestination.hh.
Referenced by Close(), Open(), G4CerrToFile::ReceiveG4cerr(), and G4CoutToFile::ReceiveG4cout().