54 Table(std::string title=
"",
bool right_justify=
true);
63 void set(std::string row, std::string col,
int value);
66 void set(std::string row, std::string col, std::size_t value);
69 void set(std::string row, std::string col,
double value);
72 void set(std::string row, std::string col, std::string value);
75 std::string
get(std::string row, std::string col)
const;
78 double get_value(std::string row, std::string col)
const;
84 std::string
str(
bool verbose)
const;
92 std::vector<std::string> rows;
93 std::set<std::string> row_set;
96 std::vector<std::string> cols;
97 std::set<std::string> col_set;
100 std::map<std::pair<std::string, std::string>, std::string> values;
103 std::map<std::pair<std::string, std::string>,
double> dvalues;
This class represents an entry in a Table.
Definition Table.h:119
const TableEntry & operator=(std::size_t value)
Assign value to table entry.
Definition Table.cpp:330