bpp-core
2.2.0
|
Helper implementation of the OutputStream interface. More...
#include <Bpp/Io/OutputStream.h>
Public Member Functions | |
AbstractOutputStream () | |
OutputStream & | setPrecision (int digit) |
int | getPrecision () const |
virtual OutputStream & | enableScientificNotation (bool yn) |
virtual bool | isScientificNotationEnabled () const |
virtual OutputStream & | operator<< (const std::string &message)=0 |
virtual OutputStream & | operator<< (const char *message)=0 |
virtual OutputStream & | operator<< (const char &message)=0 |
virtual OutputStream & | operator<< (const int &message)=0 |
virtual OutputStream & | operator<< (const unsigned int &message)=0 |
virtual OutputStream & | operator<< (const long int &message)=0 |
virtual OutputStream & | operator<< (const unsigned long int &message)=0 |
virtual OutputStream & | operator<< (const double &message)=0 |
virtual OutputStream & | operator<< (const long double &message)=0 |
virtual OutputStream & | operator<< (const bool &message)=0 |
virtual OutputStream & | endLine ()=0 |
virtual OutputStream & | flush ()=0 |
The Clonable interface. | |
OutputStream * | clone () const =0 |
Create a copy of this object and send a pointer to it. More... | |
Private Attributes | |
int | precision_ |
bool | scienceNotation_ |
Helper implementation of the OutputStream interface.
Definition at line 104 of file OutputStream.h.
|
inline |
Definition at line 112 of file OutputStream.h.
|
pure virtualinherited |
Create a copy of this object and send a pointer to it.
Implements bpp::Clonable.
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 122 of file OutputStream.h.
References scienceNotation_.
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
Referenced by bpp::MetaOptimizer::doStep(), bpp::ParameterList::printParameters(), and bpp::DataTable::write().
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
Referenced by bpp::MetaOptimizer::doStep(), bpp::StdOut::flush(), and bpp::StdErr::flush().
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 120 of file OutputStream.h.
References precision_.
Referenced by bpp::StlOutputStream::operator<<(), bpp::StlOutputStreamWrapper::operator<<(), bpp::StdOut::operator<<(), and bpp::StdErr::operator<<().
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 123 of file OutputStream.h.
References scienceNotation_.
Referenced by bpp::StlOutputStream::operator<<(), bpp::StlOutputStreamWrapper::operator<<(), bpp::StdOut::operator<<(), and bpp::StdErr::operator<<().
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
|
pure virtualinherited |
Implemented in bpp::StdErr, bpp::StdOut, bpp::StlOutputStreamWrapper, bpp::StlOutputStream, and bpp::NullOutputStream.
|
inlinevirtual |
|
private |
Definition at line 108 of file OutputStream.h.
Referenced by getPrecision(), and setPrecision().
|
private |
Definition at line 109 of file OutputStream.h.
Referenced by enableScientificNotation(), and isScientificNotationEnabled().