bpp-core3  3.0.0
bpp::StdOut Class Reference

Standard output stream. More...

#include <Bpp/Io/OutputStream.h>

+ Inheritance diagram for bpp::StdOut:
+ Collaboration diagram for bpp::StdOut:

Public Member Functions

OutputStreamoperator<< (const std::string &message)
 
OutputStreamoperator<< (const char *message)
 
OutputStreamoperator<< (const char &message)
 
OutputStreamoperator<< (const int &message)
 
OutputStreamoperator<< (const unsigned int &message)
 
OutputStreamoperator<< (const long int &message)
 
OutputStreamoperator<< (const unsigned long int &message)
 
OutputStreamoperator<< (const double &message)
 
OutputStreamoperator<< (const long double &message)
 
OutputStreamoperator<< (const bool &message)
 
OutputStreamendLine ()
 
OutputStreamflush ()
 
StdOutclone () 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

Standard output stream.

This class wraps the std::cout stream.

Definition at line 212 of file OutputStream.h.

Member Function Documentation

◆ clone()

StdOut* bpp::StdOut::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 237 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()

OutputStream& bpp::StdOut::endLine ( )
inlinevirtual

Implements bpp::OutputStream.

Definition at line 234 of file OutputStream.h.

◆ flush()

OutputStream& bpp::StdOut::flush ( )
inlinevirtual

Implements bpp::OutputStream.

Definition at line 235 of file OutputStream.h.

References bpp::OutputStream::flush().

◆ 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]

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

Implements bpp::OutputStream.

Definition at line 216 of file OutputStream.h.

◆ operator<<() [2/10]

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

Implements bpp::OutputStream.

Definition at line 217 of file OutputStream.h.

◆ operator<<() [3/10]

OutputStream& bpp::StdOut::operator<< ( const char &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 218 of file OutputStream.h.

◆ operator<<() [4/10]

OutputStream& bpp::StdOut::operator<< ( const int &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 219 of file OutputStream.h.

◆ operator<<() [5/10]

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

Implements bpp::OutputStream.

Definition at line 220 of file OutputStream.h.

◆ operator<<() [6/10]

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

Implements bpp::OutputStream.

Definition at line 221 of file OutputStream.h.

◆ operator<<() [7/10]

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

Implements bpp::OutputStream.

Definition at line 222 of file OutputStream.h.

◆ operator<<() [8/10]

OutputStream& bpp::StdOut::operator<< ( const double &  message)
inlinevirtual

◆ operator<<() [9/10]

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

◆ operator<<() [10/10]

OutputStream& bpp::StdOut::operator<< ( const bool &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 233 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: