CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | Protected Attributes | List of all members
ctkLogStream Class Reference

#include <Libs/PluginFramework/service/log/ctkLogStream.h>

Inheritance diagram for ctkLogStream:
Inheritance graph
[legend]
Collaboration diagram for ctkLogStream:
Collaboration graph
[legend]

Public Member Functions

 ctkLogStream (ctkLogService *logService, int level, const std::exception *exc=0, const char *file=0, const char *function=0, int line=-1)
 
 ctkLogStream (const ctkLogStream &logStream)
 
template<class T >
ctkLogStreamoperator<< (const T &t)
 
ctkLogStreamoperator<< (const char *c)
 
ctkLogStreamoperator<< (bool b)
 
virtual ~ctkLogStream ()
 

Protected Attributes

const std::exception * exc
 
const char * file
 
const char * function
 
int level
 
const int line
 
bool logged
 
ctkLogServicelogService
 
QString msg
 
QTextStream ts
 

Detailed Description

Definition at line 35 of file ctkLogStream.h.

Constructor & Destructor Documentation

ctkLogStream::ctkLogStream ( ctkLogService logService,
int  level,
const std::exception *  exc = 0,
const char *  file = 0,
const char *  function = 0,
int  line = -1 
)
ctkLogStream::ctkLogStream ( const ctkLogStream logStream)
virtual ctkLogStream::~ctkLogStream ( )
virtual

Member Function Documentation

template<class T >
ctkLogStream& ctkLogStream::operator<< ( const T &  t)
inline

Definition at line 46 of file ctkLogStream.h.

ctkLogStream& ctkLogStream::operator<< ( const char *  c)
inline

Definition at line 52 of file ctkLogStream.h.

ctkLogStream& ctkLogStream::operator<< ( bool  b)
inline

Definition at line 58 of file ctkLogStream.h.

Member Data Documentation

const std::exception* ctkLogStream::exc
protected

Definition at line 72 of file ctkLogStream.h.

const char* ctkLogStream::file
protected

Definition at line 74 of file ctkLogStream.h.

const char* ctkLogStream::function
protected

Definition at line 75 of file ctkLogStream.h.

int ctkLogStream::level
protected

Definition at line 71 of file ctkLogStream.h.

const int ctkLogStream::line
protected

Definition at line 76 of file ctkLogStream.h.

bool ctkLogStream::logged
protected

Definition at line 68 of file ctkLogStream.h.

ctkLogService* ctkLogStream::logService
protected

Definition at line 70 of file ctkLogStream.h.

QString ctkLogStream::msg
protected

Definition at line 66 of file ctkLogStream.h.

QTextStream ctkLogStream::ts
protected

Definition at line 67 of file ctkLogStream.h.


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