Public Member Functions | |
Column () | |
Column (const std::string &tex_caption) | |
~Column () | |
Public Attributes | |
std::vector< TableEntryBase * > | entries |
std::string | tex_caption |
std::string | tex_format |
unsigned int | precision |
bool | scientific |
unsigned int | flag |
TableHandler::Column::Column | ( | ) |
Constructor needed by STL maps.
TableHandler::Column::Column | ( | const std::string & | tex_caption | ) |
Constructor.
TableHandler::Column::~Column | ( | ) |
Destructor.
std::vector<TableEntryBase *> TableHandler::Column::entries |
List of entries within this column. They may actually be of very different type, since we use the templated TableEntry<T>
class for actual values, which is only a wrapper for T
, but is derived from TableEntryBase
.
std::string TableHandler::Column::tex_caption |
The caption of the column in tex output. By default, this is the key string that is given to the TableHandler
by TableHandler::add_value(...)
. This may be changed by calling TableHandler::set_tex_caption(...)
.
std::string TableHandler::Column::tex_format |
The column format in tex output. By default, this is "c"
, meaning `centered'. This may be changed by calling TableHandler::set_tex_format(...)
with "c", "r", "l"
for centered, right or left.
Double or float entries are written with this precision (set by the user). The default is 4.
scientific
=false means fixed point notation.
Flag that may be used by derived classes for arbitrary purposes.
In particular, the ConvergenceTable class uses the flag to denote columns for which convergence information has already been computed, or should not be computed at all.