bpp-core3  3.0.0
bpp::StdErr Class Reference

Standard error stream. More...

#include <Bpp/Io/OutputStream.h>

+ Inheritance diagram for bpp::StdErr:
+ Collaboration diagram for bpp::StdErr:

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 ()
 
StdErrclone () 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 error stream.

This class wraps the std::cerr stream.

Definition at line 246 of file OutputStream.h.

Member Function Documentation

◆ clone()

StdErr* bpp::StdErr::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 271 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::StdErr::endLine ( )
inlinevirtual

Implements bpp::OutputStream.

Definition at line 268 of file OutputStream.h.

◆ flush()

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

Implements bpp::OutputStream.

Definition at line 269 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::StdErr::operator<< ( const std::string &  message)
inlinevirtual

Implements bpp::OutputStream.

Definition at line 250 of file OutputStream.h.

◆ operator<<() [2/10]

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

Implements bpp::OutputStream.

Definition at line 251 of file OutputStream.h.

◆ operator<<() [3/10]

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

Implements bpp::OutputStream.

Definition at line 252 of file OutputStream.h.

References bpp::OutputStream::getPrecision().

◆ operator<<() [4/10]

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

Implements bpp::OutputStream.

Definition at line 253 of file OutputStream.h.

References bpp::OutputStream::getPrecision().

◆ operator<<() [5/10]

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

Implements bpp::OutputStream.

Definition at line 254 of file OutputStream.h.

◆ operator<<() [6/10]

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

Implements bpp::OutputStream.

Definition at line 255 of file OutputStream.h.

References bpp::OutputStream::getPrecision().

◆ operator<<() [7/10]

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

Implements bpp::OutputStream.

Definition at line 256 of file OutputStream.h.

◆ operator<<() [8/10]

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

◆ operator<<() [9/10]

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

◆ operator<<() [10/10]

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

Implements bpp::OutputStream.

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