Public Member Functions | Public Attributes

TableHandler::Column Struct Reference

List of all members.

Public Member Functions

 Column ()
 Column (const std::string &tex_caption)
void pad_column_below (const unsigned int length)
template<class Archive >
void serialize (Archive &ar, const unsigned int version)

Public Attributes

std::vector< internal::TableEntryentries
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.

Definition at line 528 of file table_handler.h.


Constructor & Destructor Documentation

TableHandler::Column::Column (  )

Constructor needed by STL maps.

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

Constructor.


Member Function Documentation

void TableHandler::Column::pad_column_below ( const unsigned int  length )

Pad this column with default constructed elements to the number of rows given by the argument.

template<class Archive >
void TableHandler::Column::serialize ( Archive &  ar,
const unsigned int  version 
)

Read or write the data of this object to or from a stream for the purpose of serialization.

Definition at line 857 of file table_handler.h.

References entries, flag, precision, scientific, tex_caption, and tex_format.


Member Data Documentation

List of entries within this column. Values are always immediately converted to strings to provide a uniform method of lookup.

Definition at line 562 of file table_handler.h.

Referenced by serialize().

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

Definition at line 574 of file table_handler.h.

Referenced by serialize().

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.

Definition at line 587 of file table_handler.h.

Referenced by serialize().

Double or float entries are written with this precision (set by the user). The default is 4.

Definition at line 595 of file table_handler.h.

Referenced by serialize().

scientific=false means fixed point notation.

Definition at line 601 of file table_handler.h.

Referenced by serialize().

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.

Definition at line 615 of file table_handler.h.

Referenced by serialize().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:12 by doxygen 1.7.2