TableHandler::Column Struct Reference

List of all members.

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

Detailed Description

Structure encapsulating all the data that is needed to describe one column of a table.


Constructor & Destructor Documentation

TableHandler::Column::Column (  ) 

Constructor needed by STL maps.

TableHandler::Column::Column ( const std::string &  tex_caption  ) 

Constructor.

TableHandler::Column::~Column (  ) 

Destructor.


Member Data Documentation

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.

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(...).

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.


The documentation for this struct was generated from the following file:

deal.II documentation generated on Mon Nov 23 22:58:12 2009 by doxygen 1.6.1