17#ifndef COLUMN_PRINTER_GUARD
18#define COLUMN_PRINTER_GUARD
33 const string& prefix =
" ",
const string& suffix =
"");
ostream & operator<<(ostream &out, const ColumnPrinter &printer)
void print(FILE *out, const ColumnPrinter &pr)
void nameFactoryRegister(NameFactory< AbstractProduct > &factory)
Registers the string returned by ConcreteProduct::getStaticName() to a function that default-construc...
ostream & operator[](size_t col)
void print(ostream &out) const
size_t getColumnCount() const
void addColumn(bool flushLeft=true, const string &prefix=" ", const string &suffix="")
ElementDeleter< vector< Col * > > _colsDeleter
void setPrefix(const string &prefix)
A replacement for stringstream.