51 throw std::ios_base::failure(
"No output file name specified");
55 m_output.reset(
new std::ofstream(
m_name , std::ios_base::out|mode) );
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 Open(std::ios_base::openmode mode=std::ios_base::app)