bpp-core3  3.0.0
bpp::NullOutputStream Class Reference

Null output stream (swich off output). More...

#include <Bpp/Io/OutputStream.h>

+ Inheritance diagram for bpp::NullOutputStream:
+ Collaboration diagram for bpp::NullOutputStream:

Public Member Functions

NullOutputStreamoperator<< (const std::string &message)
 
NullOutputStreamoperator<< (const char *message)
 
NullOutputStreamoperator<< (const char &message)
 
NullOutputStreamoperator<< (const int &message)
 
NullOutputStreamoperator<< (const unsigned int &message)
 
NullOutputStreamoperator<< (const long int &message)
 
NullOutputStreamoperator<< (const unsigned long int &message)
 
NullOutputStreamoperator<< (const double &message)
 
NullOutputStreamoperator<< (const long double &message)
 
NullOutputStreamoperator<< (const bool &message)
 
NullOutputStreamendLine ()
 
NullOutputStreamflush ()
 
NullOutputStreamclone () const
 Create a copy of this object and send a pointer to it. More...
 
OutputStreamsetPrecision (int digit)
 
int getPrecision () const
 
virtual OutputStreamenableScientificNotation (bool yn)
 
virtual bool isScientificNotationEnabled () const
 

Detailed Description

Null output stream (swich off output).

Definition at line 89 of file OutputStream.h.

Member Function Documentation

◆ clone()

NullOutputStream* bpp::NullOutputStream::clone ( ) const
inlinevirtual

Create a copy of this object and send a pointer to it.

Returns
A pointer toward the copy object.

Implements bpp::OutputStream.

Definition at line 106 of file OutputStream.h.

◆ enableScientificNotation()

virtual OutputStream& bpp::AbstractOutputStream::enableScientificNotation ( bool  yn)
inlinevirtualinherited

Implements bpp::OutputStream.

Definition at line 81 of file OutputStream.h.

◆ endLine()

NullOutputStream& bpp::NullOutputStream::endLine ( )
inlinevirtual

Implements bpp::OutputStream.

Definition at line 103 of file OutputStream.h.

◆ flush()

NullOutputStream& bpp::NullOutputStream::flush ( )
inlinevirtual

Implements bpp::OutputStream.

Definition at line 104 of file OutputStream.h.

◆ getPrecision()

int bpp::AbstractOutputStream::getPrecision ( ) const
inlinevirtualinherited

Implements bpp::OutputStream.

Definition at line 79 of file OutputStream.h.

◆ isScientificNotationEnabled()

virtual bool bpp::AbstractOutputStream::isScientificNotationEnabled ( ) const
inlinevirtualinherited

Implements bpp::OutputStream.

Definition at line 82 of file OutputStream.h.

◆ operator<<() [1/10]

NullOutputStream& bpp::NullOutputStream::operator<< ( const std::string &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 93 of file OutputStream.h.

◆ operator<<() [2/10]

NullOutputStream& bpp::NullOutputStream::operator<< ( const char *  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 94 of file OutputStream.h.

◆ operator<<() [3/10]

NullOutputStream& bpp::NullOutputStream::operator<< ( const char &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 95 of file OutputStream.h.

◆ operator<<() [4/10]

NullOutputStream& bpp::NullOutputStream::operator<< ( const int &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 96 of file OutputStream.h.

◆ operator<<() [5/10]

NullOutputStream& bpp::NullOutputStream::operator<< ( const unsigned int &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 97 of file OutputStream.h.

◆ operator<<() [6/10]

NullOutputStream& bpp::NullOutputStream::operator<< ( const long int &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 98 of file OutputStream.h.

◆ operator<<() [7/10]

NullOutputStream& bpp::NullOutputStream::operator<< ( const unsigned long int &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 99 of file OutputStream.h.

◆ operator<<() [8/10]

NullOutputStream& bpp::NullOutputStream::operator<< ( const double &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 100 of file OutputStream.h.

◆ operator<<() [9/10]

NullOutputStream& bpp::NullOutputStream::operator<< ( const long double &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 101 of file OutputStream.h.

◆ operator<<() [10/10]

NullOutputStream& bpp::NullOutputStream::operator<< ( const bool &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 102 of file OutputStream.h.

◆ setPrecision()

OutputStream& bpp::AbstractOutputStream::setPrecision ( int  digit)
inlinevirtualinherited

Implements bpp::OutputStream.

Definition at line 74 of file OutputStream.h.


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