Supporting elements and interfaces. More...
Classes | |
class | FormatFloat |
Formatter for float types. More... | |
class | FormatNumber |
Formatter for integral types. More... | |
Functions | |
template<typename OutputStream , typename N > | |
OutputStream & | operator<< (OutputStream &ostream, FormatFloat< N > &formatter) |
template<typename OutputStream , typename N > | |
OutputStream & | operator<< (OutputStream &ostream, FormatNumber< N > &formatter) |
Supporting elements and interfaces.
These provide support for the elements in this package. They are not intended to be directly visible to the user.
OutputStream& ecl::interfaces::operator<< | ( | OutputStream & | ostream, |
FormatFloat< N > & | formatter | ||
) |
Friend function which allows a stream to act on the formatter to produce the formatted result. This works on normal c++ streams as well as TextStreams.
ostream | : the stream. |
formatter | : the formatter with prespecified format parameters and input value. |
Definition at line 453 of file floats.hpp.
OutputStream& ecl::interfaces::operator<< | ( | OutputStream & | ostream, |
FormatNumber< N > & | formatter | ||
) |
Friend function which allows a stream to act on the formatter to produce the formatted result. This works on normal c++ streams as well as TextStreams.
ostream | : the stream. |
formatter | : the formatter with prespecified format parameters and input value. |
StandardException | : throws if the formatter is used multiply in one stream operation [debug mode only]. |
Definition at line 367 of file number.hpp.