bpp-core  2.1.0
bpp::OutputStream Class Reference

OutputStream interface. More...

#include <Bpp/Io/OutputStream.h>

+ Inheritance diagram for bpp::OutputStream:
+ Collaboration diagram for bpp::OutputStream:

List of all members.

Public Member Functions

virtual OutputStreamoperator<< (const std::string &message)=0
virtual OutputStreamoperator<< (const char *message)=0
virtual OutputStreamoperator<< (const char &message)=0
virtual OutputStreamoperator<< (const int &message)=0
virtual OutputStreamoperator<< (const unsigned int &message)=0
virtual OutputStreamoperator<< (const long int &message)=0
virtual OutputStreamoperator<< (const unsigned long int &message)=0
virtual OutputStreamoperator<< (const double &message)=0
virtual OutputStreamoperator<< (const long double &message)=0
virtual OutputStreamoperator<< (const bool &message)=0
virtual OutputStreamendLine ()=0
virtual OutputStreamflush ()=0
virtual OutputStreamsetPrecision (unsigned int digit)=0
virtual unsigned int getPrecision () const =0
virtual OutputStreamenableScientificNotation (bool yn)=0
virtual bool isScientificNotationEnabled () const =0
The Clonable interface.
OutputStreamclone () const =0
 Create a copy of this object and send a pointer to it.

Detailed Description

OutputStream interface.

This interface define several << operators for outputing messages. Wrapper classes for the STL streams are available as special implementations, but this interface can be used to redirect the output to files or to graphical components for instance.

Definition at line 64 of file OutputStream.h.


Member Function Documentation

OutputStream* bpp::OutputStream::clone ( ) const [pure virtual]

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

Returns:
A pointer toward the copy object.

Implements bpp::Clonable.

Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.

virtual OutputStream& bpp::OutputStream::enableScientificNotation ( bool  yn) [pure virtual]

Implemented in bpp::AbstractOutputStream.

virtual unsigned int bpp::OutputStream::getPrecision ( ) const [pure virtual]
virtual bool bpp::OutputStream::isScientificNotationEnabled ( ) const [pure virtual]

Implemented in bpp::AbstractOutputStream.

virtual OutputStream& bpp::OutputStream::operator<< ( const std::string &  message) [pure virtual]
virtual OutputStream& bpp::OutputStream::operator<< ( const char *  message) [pure virtual]
virtual OutputStream& bpp::OutputStream::operator<< ( const char &  message) [pure virtual]
virtual OutputStream& bpp::OutputStream::operator<< ( const int &  message) [pure virtual]
virtual OutputStream& bpp::OutputStream::operator<< ( const unsigned int &  message) [pure virtual]
virtual OutputStream& bpp::OutputStream::operator<< ( const long int &  message) [pure virtual]
virtual OutputStream& bpp::OutputStream::operator<< ( const unsigned long int &  message) [pure virtual]
virtual OutputStream& bpp::OutputStream::operator<< ( const double &  message) [pure virtual]
virtual OutputStream& bpp::OutputStream::operator<< ( const long double &  message) [pure virtual]
virtual OutputStream& bpp::OutputStream::operator<< ( const bool &  message) [pure virtual]
virtual OutputStream& bpp::OutputStream::setPrecision ( unsigned int  digit) [pure virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends