17 #ifndef COLUMN_PRINTER_GUARD
18 #define COLUMN_PRINTER_GUARD
33 const string& prefix =
" ",
const string& suffix =
"");
38 void print(ostream& out)
const;
void print(FILE *out, const ColumnPrinter &pr)
ostream & operator<<(ostream &out, const ColumnPrinter &printer)
ostream & operator[](size_t col)
void print(ostream &out) const
size_t getColumnCount() const
ColumnPrinter(size_t columnCount=0)
void addColumn(bool flushLeft=true, const string &prefix=" ", const string &suffix="")
ElementDeleter< vector< Col * > > _colsDeleter
void setPrefix(const string &prefix)
A replacement for stringstream.