43 #ifndef G4BUFFERCOUTDESTINATION_HH_
44 #define G4BUFFERCOUTDESTINATION_HH_
T max(const T t1, const T t2)
brief Return the largest of the two arguments
size_t GetCurrentSizeErr() const
std::ostringstream m_buffer_err
virtual ~G4BuffercoutDestination()
virtual G4int FlushG4cerr()
G4BuffercoutDestination(size_t maxSize=0)
std::ostringstream m_buffer_out
void SetMaxSize(size_t max)
virtual G4int ReceiveG4cout(const G4String &msg) override
virtual G4int ReceiveG4cerr(const G4String &msg) override
size_t GetMaxSize() const
virtual G4int FlushG4cout()
size_t GetCurrentSizeOut() const