39 m_buffer_out(
"") , m_buffer_err(
""), m_currentSize_out(0) ,
40 m_currentSize_err(0), m_maxSize(max) {}
T max(const T t1, const T t2)
brief Return the largest of the two arguments
std::ostringstream m_buffer_err
virtual ~G4BuffercoutDestination()
virtual G4int FlushG4cerr()
G4BuffercoutDestination(size_t maxSize=0)
std::ostringstream m_buffer_out
virtual G4int ReceiveG4cout(const G4String &msg) override
virtual G4int ReceiveG4cerr(const G4String &msg) override
virtual G4int FlushG4cout()