Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mbilog::NullStream Class Reference

An object of this class simulates a std::cout stream but does nothing. This class is for dummy objects, bit shift operators are availiable but doing nothing. Should only be used by the macros defined in the file mbilog.h. More...

#include <mbilog.h>

Public Member Functions

template<class T >
NullStreamoperator<< (const T &)
 
template<class T >
NullStreamoperator<< (T &)
 
NullStreamoperator<< (std::ostream &(*)(std::ostream &))
 
NullStreamoperator() (const char *)
 
NullStreamoperator() (bool)
 

Detailed Description

An object of this class simulates a std::cout stream but does nothing. This class is for dummy objects, bit shift operators are availiable but doing nothing. Should only be used by the macros defined in the file mbilog.h.

Definition at line 170 of file mbilog.h.

Member Function Documentation

NullStream& mbilog::NullStream::operator() ( const char *  )
inline

Definition at line 184 of file mbilog.h.

NullStream& mbilog::NullStream::operator() ( bool  )
inline

Definition at line 185 of file mbilog.h.

template<class T >
NullStream& mbilog::NullStream::operator<< ( const T &  )
inline

Definition at line 174 of file mbilog.h.

template<class T >
NullStream& mbilog::NullStream::operator<< ( T &  )
inline

Definition at line 179 of file mbilog.h.

NullStream& mbilog::NullStream::operator<< ( std::ostream &  *)(std::ostream &)
inline

Definition at line 183 of file mbilog.h.


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