65 std::ios::openmode mode = std::ios::out;
67 mode |= std::ios::app;
68 g4file.open(fileName,mode);
virtual G4int ReceiveG4cerr(const G4String &msg)
G4CerrToFile(const G4String &deafaultName="Geant4_cerr.txt", G4bool append=true)
G4GLOB_DLL G4strstreambuf G4coutbuf
G4GLOB_DLL G4strstreambuf G4cerrbuf
G4ofstreamDestinationBase(const G4String &defaultName, G4bool append)
virtual ~G4ofstreamDestinationBase()
void SetFileName(const G4String &name, G4bool append=true)
G4CoutToFile(const G4String &deafaultName="Geant4_cout.txt", G4bool append=true)
void SetDestination(G4coutDestination *dest)
virtual G4int ReceiveG4cout(const G4String &msg)