yat
0.14.5pre
|
#include <yat/utility/ColumnStream.h>
Public Member Functions | |
ColumnStream (std::ostream &os, size_t columns) | |
Constructor. | |
~ColumnStream (void) | |
Destructor. | |
void | flush (void) |
size_t & | margin (size_t c) |
void | next_column (void) |
jump to next column | |
void | print (std::stringstream &) |
print to active column | |
void | set_column (size_t) |
select which column is active | |
size_t & | width (size_t c) |
Related Functions | |
(Note that these are not member functions.) | |
template<typename T > | |
ColumnStream & | operator<< (ColumnStream &s, const T &rhs) |
ColumnStream output operator. More... | |
ostream for sending to multiple columns
void theplu::yat::utility::ColumnStream::flush | ( | void | ) |
flush to ostream, goes to newline and activates first column
size_t& theplu::yat::utility::ColumnStream::margin | ( | size_t | c | ) |
size_t& theplu::yat::utility::ColumnStream::width | ( | size_t | c | ) |
|
related |
ColumnStream output operator.
Requirement: T should have operator operator<<(ostream&, const T&)