36#ifndef G4FILECOUTDESTINATION_HH
37#define G4FILECOUTDESTINATION_HH
48 const G4String& fname, std::ios_base::openmode mode = std::ios_base::app)
57 void Open(std::ios_base::openmode mode = std::ios_base::app);
66 std::ios_base::openmode m_mode;
67 std::unique_ptr<std::ofstream> m_output;
G4FilecoutDestination(const G4String &fname, std::ios_base::openmode mode=std::ios_base::app)
void Open(std::ios_base::openmode mode=std::ios_base::app)
virtual G4int ReceiveG4cout(const G4String &msg) override
virtual G4int ReceiveG4cerr(const G4String &msg) override
virtual ~G4FilecoutDestination()
void SetFileName(const G4String &fname)