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);
67 std::ios_base::openmode m_mode;
68 std::unique_ptr<std::ofstream> m_output;
G4FilecoutDestination(const G4String &fname, std::ios_base::openmode mode=std::ios_base::app)
~G4FilecoutDestination() override
void Open(std::ios_base::openmode mode=std::ios_base::app)
G4int ReceiveG4cout(const G4String &msg) override
G4int ReceiveG4debug(const G4String &msg) override
G4int ReceiveG4cerr(const G4String &msg) override
void SetFileName(const G4String &fname)