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