Geant4
10.01.p01
|
#include <G4ofstreamDestination.hh>
Public Member Functions | |
G4CerrToFile (const G4String &deafaultName="Geant4_cerr.txt", G4bool append=true) | |
virtual G4int | ReceiveG4cout (const G4String &) |
virtual G4int | ReceiveG4cerr (const G4String &msg) |
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 G4coutDestination * | masterG4coutDestination = 0 |
Definition at line 84 of file G4ofstreamDestination.hh.
G4CerrToFile::G4CerrToFile | ( | const G4String & | deafaultName = "Geant4_cerr.txt" , |
G4bool | append = true |
||
) |
Definition at line 95 of file G4ofstreamDestination.cc.
References G4cerrbuf, and G4strstreambuf::SetDestination().
Implements G4ofstreamDestinationBase.
Definition at line 101 of file G4ofstreamDestination.cc.
References G4ofstreamDestinationBase::g4file, and G4ofstreamDestinationBase::Open().
Implements G4ofstreamDestinationBase.
Definition at line 88 of file G4ofstreamDestination.hh.