1 #ifndef _theplu_yat__utility_column_stream_
2 #define _theplu_yat__utility_column_stream_
69 void print(std::stringstream&);
79 size_t&
width(
size_t c);
87 void fill(
size_t,
size_t);
88 bool writeline(
size_t i);
89 size_t columns(
void)
const;
92 std::vector<size_t> margins_;
94 std::vector<std::stringstream*> buffer_;
95 std::vector<size_t> width_;
107 template <
typename T>
110 std::stringstream ss;
Definition: ColumnStream.h:37
void next_column(void)
jump to next column
~ColumnStream(void)
Destructor.
void set_column(size_t)
select which column is active
size_t & margin(size_t c)
ColumnStream & operator<<(ColumnStream &s, const T &rhs)
ColumnStream output operator.
Definition: ColumnStream.h:108
ColumnStream(std::ostream &os, size_t columns)
Constructor.
void print(std::stringstream &)
print to active column