Medical Imaging Interaction Toolkit  2023.04.00
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 161 of file mbilog.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 176 of file mbilog.h.

◆ operator()() [2/2]

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

Definition at line 175 of file mbilog.h.

◆ operator<<() [1/3]

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

Definition at line 165 of file mbilog.h.

◆ operator<<() [2/3]

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

Definition at line 174 of file mbilog.h.

◆ operator<<() [3/3]

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

Definition at line 170 of file mbilog.h.


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