CustusX  22.04-rc5
An IGT application
cx::MyStreamBuf Class Reference
Inheritance diagram for cx::MyStreamBuf:

Public Member Functions

 MyStreamBuf (MESSAGE_LEVEL level)
 
void setOriginal (std::streambuf *orig)
 
virtual int_type overflow (int_type meta=traits_type::eof())
 
void setEnableRedirect (bool on)
 
void sendUnredirected (const QString &sequence)
 

Detailed Description

streambuf subclass: used to override either cout or cerr and reroute text to both Reporter and original stream.

Definition at line 25 of file cxLogIOStreamRedirecter.cpp.

Constructor & Destructor Documentation

cx::MyStreamBuf::MyStreamBuf ( MESSAGE_LEVEL  level)
inline

Definition at line 28 of file cxLogIOStreamRedirecter.cpp.

Member Function Documentation

virtual int_type cx::MyStreamBuf::overflow ( int_type  meta = traits_type::eof())
inlinevirtual

Definition at line 36 of file cxLogIOStreamRedirecter.cpp.

void cx::MyStreamBuf::sendUnredirected ( const QString &  sequence)
inline

Definition at line 73 of file cxLogIOStreamRedirecter.cpp.

void cx::MyStreamBuf::setEnableRedirect ( bool  on)
inline

Definition at line 67 of file cxLogIOStreamRedirecter.cpp.

void cx::MyStreamBuf::setOriginal ( std::streambuf *  orig)
inline

Definition at line 32 of file cxLogIOStreamRedirecter.cpp.


The documentation for this class was generated from the following file: