bpp-core3
3.0.0
|
STL output stream. More...
#include <Bpp/Io/OutputStream.h>
Public Member Functions | |
StlOutputStream (std::unique_ptr< std::ostream > stream) | |
StlOutputStream (const StlOutputStream &stlos) | |
StlOutputStream & | operator= (const StlOutputStream &stlos) |
StlOutputStream & | operator<< (const std::string &message) |
StlOutputStream & | operator<< (const char *message) |
StlOutputStream & | operator<< (const char &message) |
StlOutputStream & | operator<< (const int &message) |
StlOutputStream & | operator<< (const unsigned int &message) |
StlOutputStream & | operator<< (const long int &message) |
StlOutputStream & | operator<< (const unsigned long int &message) |
StlOutputStream & | operator<< (const double &message) |
StlOutputStream & | operator<< (const long double &message) |
StlOutputStream & | operator<< (const bool &message) |
StlOutputStream & | endLine () |
StlOutputStream & | flush () |
StlOutputStream * | clone () const |
Create a copy of this object and send a pointer to it. More... | |
OutputStream & | setPrecision (int digit) |
int | getPrecision () const |
virtual OutputStream & | enableScientificNotation (bool yn) |
virtual bool | isScientificNotationEnabled () const |
Private Attributes | |
std::unique_ptr< std::ostream > | stream_ |
STL output stream.
This class wraps the std::ostream class. It takes as input a pointer toward an existing stream that will then be owned by the wrapper, as a smart pointer. Any copy of this class will then result in an inactivation of the original version (in other word, you can't have two wrappers for the same stream).
Definition at line 119 of file OutputStream.h.
|
inline |
Definition at line 126 of file OutputStream.h.
|
inline |
Definition at line 127 of file OutputStream.h.
References stream_.
|
inlinevirtual |
Create a copy of this object and send a pointer to it.
Implements bpp::OutputStream.
Definition at line 158 of file OutputStream.h.
|
inlinevirtualinherited |
Implements bpp::OutputStream.
Definition at line 81 of file OutputStream.h.
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 155 of file OutputStream.h.
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 156 of file OutputStream.h.
|
inlinevirtualinherited |
Implements bpp::OutputStream.
Definition at line 79 of file OutputStream.h.
|
inlinevirtualinherited |
Implements bpp::OutputStream.
Definition at line 82 of file OutputStream.h.
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 135 of file OutputStream.h.
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 136 of file OutputStream.h.
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 137 of file OutputStream.h.
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 138 of file OutputStream.h.
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 139 of file OutputStream.h.
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 140 of file OutputStream.h.
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 141 of file OutputStream.h.
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 142 of file OutputStream.h.
References bpp::OutputStream::getPrecision(), and bpp::OutputStream::isScientificNotationEnabled().
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 148 of file OutputStream.h.
References bpp::OutputStream::getPrecision(), and bpp::OutputStream::isScientificNotationEnabled().
|
inlinevirtual |
Implements bpp::OutputStream.
Definition at line 154 of file OutputStream.h.
|
inline |
Definition at line 128 of file OutputStream.h.
References stream_.
|
inlinevirtualinherited |
Implements bpp::OutputStream.
Definition at line 74 of file OutputStream.h.
|
mutableprivate |
Definition at line 123 of file OutputStream.h.
Referenced by operator=(), and StlOutputStream().