CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 44 of file cxLogIOStreamRedirecter.cpp.

Constructor & Destructor Documentation

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

Definition at line 47 of file cxLogIOStreamRedirecter.cpp.

Member Function Documentation

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

Definition at line 55 of file cxLogIOStreamRedirecter.cpp.

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

Definition at line 92 of file cxLogIOStreamRedirecter.cpp.

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

Definition at line 86 of file cxLogIOStreamRedirecter.cpp.

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

Definition at line 51 of file cxLogIOStreamRedirecter.cpp.


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