ensmallen
mlpack
fast, flexible C++ machine learning library
NullOutStream Class Reference

Used for Log::Debug when not compiled with debugging symbols. More...

Public Member Functions

 NullOutStream ()
 Does nothing. More...

 
 NullOutStream (const NullOutStream &)
 Does nothing. More...

 
NullOutStreamoperator<< (bool)
 Does nothing. More...

 
NullOutStreamoperator<< (short)
 Does nothing. More...

 
NullOutStreamoperator<< (unsigned short)
 Does nothing. More...

 
NullOutStreamoperator<< (int)
 Does nothing. More...

 
NullOutStreamoperator<< (unsigned int)
 Does nothing. More...

 
NullOutStreamoperator<< (long)
 Does nothing. More...

 
NullOutStreamoperator<< (unsigned long)
 Does nothing. More...

 
NullOutStreamoperator<< (float)
 Does nothing. More...

 
NullOutStreamoperator<< (double)
 Does nothing. More...

 
NullOutStreamoperator<< (long double)
 Does nothing. More...

 
NullOutStreamoperator<< (void *)
 Does nothing. More...

 
NullOutStreamoperator<< (const char *)
 Does nothing. More...

 
NullOutStreamoperator<< (std::string &)
 Does nothing. More...

 
NullOutStreamoperator<< (std::streambuf *)
 Does nothing. More...

 
NullOutStreamoperator<< (std::ostream &(*)(std::ostream &))
 Does nothing. More...

 
NullOutStreamoperator<< (std::ios &(*)(std::ios &))
 Does nothing. More...

 
NullOutStreamoperator<< (std::ios_base &(*)(std::ios_base &))
 Does nothing. More...

 
template
<
typename
T
>
NullOutStreamoperator<< (const T &)
 Does nothing. More...

 

Detailed Description

Used for Log::Debug when not compiled with debugging symbols.

This class does nothing and should be optimized out entirely by the compiler.

Definition at line 27 of file nulloutstream.hpp.

Constructor & Destructor Documentation

◆ NullOutStream() [1/2]

NullOutStream ( )
inline

Does nothing.

Definition at line 33 of file nulloutstream.hpp.

◆ NullOutStream() [2/2]

NullOutStream ( const NullOutStream )
inline

Does nothing.

Definition at line 38 of file nulloutstream.hpp.

Member Function Documentation

◆ operator<<() [1/18]

NullOutStream& operator<< ( bool  )
inline

Does nothing.

Definition at line 41 of file nulloutstream.hpp.

◆ operator<<() [2/18]

NullOutStream& operator<< ( short  )
inline

Does nothing.

Definition at line 43 of file nulloutstream.hpp.

◆ operator<<() [3/18]

NullOutStream& operator<< ( unsigned  short)
inline

Does nothing.

Definition at line 45 of file nulloutstream.hpp.

◆ operator<<() [4/18]

NullOutStream& operator<< ( int  )
inline

Does nothing.

Definition at line 47 of file nulloutstream.hpp.

◆ operator<<() [5/18]

NullOutStream& operator<< ( unsigned  int)
inline

Does nothing.

Definition at line 49 of file nulloutstream.hpp.

◆ operator<<() [6/18]

NullOutStream& operator<< ( long  )
inline

Does nothing.

Definition at line 51 of file nulloutstream.hpp.

◆ operator<<() [7/18]

NullOutStream& operator<< ( unsigned  long)
inline

Does nothing.

Definition at line 53 of file nulloutstream.hpp.

◆ operator<<() [8/18]

NullOutStream& operator<< ( float  )
inline

Does nothing.

Definition at line 55 of file nulloutstream.hpp.

◆ operator<<() [9/18]

NullOutStream& operator<< ( double  )
inline

Does nothing.

Definition at line 57 of file nulloutstream.hpp.

◆ operator<<() [10/18]

NullOutStream& operator<< ( long  double)
inline

Does nothing.

Definition at line 59 of file nulloutstream.hpp.

◆ operator<<() [11/18]

NullOutStream& operator<< ( void *  )
inline

Does nothing.

Definition at line 61 of file nulloutstream.hpp.

◆ operator<<() [12/18]

NullOutStream& operator<< ( const char *  )
inline

Does nothing.

Definition at line 63 of file nulloutstream.hpp.

◆ operator<<() [13/18]

NullOutStream& operator<< ( std::string &  )
inline

Does nothing.

Definition at line 65 of file nulloutstream.hpp.

◆ operator<<() [14/18]

NullOutStream& operator<< ( std::streambuf *  )
inline

Does nothing.

Definition at line 67 of file nulloutstream.hpp.

◆ operator<<() [15/18]

NullOutStream& operator<< ( std::ostream &  *)(std::ostream &)
inline

Does nothing.

Definition at line 69 of file nulloutstream.hpp.

◆ operator<<() [16/18]

NullOutStream& operator<< ( std::ios &  *)(std::ios &)
inline

Does nothing.

Definition at line 71 of file nulloutstream.hpp.

◆ operator<<() [17/18]

NullOutStream& operator<< ( std::ios_base &  *)(std::ios_base &)
inline

Does nothing.

Definition at line 73 of file nulloutstream.hpp.

◆ operator<<() [18/18]

NullOutStream& operator<< ( const T &  )
inline

Does nothing.

Definition at line 78 of file nulloutstream.hpp.


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