JANA2
C++ framework for multi-threaded data processing
|
Classes | |
struct | Column |
Public Types | |
enum class | Justify { Left , Center , Right } |
enum class | RuleStyle { Across , Broken , None } |
Public Member Functions | |
JTablePrinter::Column & | AddColumn (std::string header, Justify justify=Justify::Left, int desired_width=0) |
void | FormatLine (std::ostream &os, std::string contents, int max_width, Justify justify) const |
void | Render (std::ostream &os) const |
std::string | Render () const |
template<typename T > | |
JTablePrinter & | operator| (T) |
template<> | |
JTablePrinter & | operator| (std::string cell) |
Public Attributes | |
std::string | title |
std::vector< Column > | columns |
RuleStyle | top_rule = RuleStyle::Across |
RuleStyle | header_rule = RuleStyle::Broken |
RuleStyle | bottom_rule = RuleStyle::Across |
int | indent = 2 |
int | cell_margin = 2 |
bool | vertical_padding = 0 |