41 #ifndef G4FILECOUTDESTINATION_HH_
42 #define G4FILECOUTDESTINATION_HH_
54 std::ios_base::openmode mode = std::ios_base::app )
60 void Open(std::ios_base::openmode mode=std::ios_base::app);
virtual ~G4FilecoutDestination()
virtual G4int ReceiveG4cerr(const G4String &msg) override
virtual G4int ReceiveG4cout(const G4String &msg) override
std::ios_base::openmode m_mode
std::unique_ptr< std::ofstream > m_output
void SetFileName(const G4String &fname)
G4FilecoutDestination(const G4String &fname, std::ios_base::openmode mode=std::ios_base::app)
void Open(std::ios_base::openmode mode=std::ios_base::app)