dune-fem 2.8.0
|
writes latex tables based on user-defined row structure More...
#include <dune/fem/io/file/latextablewriter.hh>
Public Types | |
typedef AbstractColumnWriter< DataTuple > | ColumnWriterType |
Abstract column type. | |
typedef std::vector< const ColumnWriterType * > | ColumnWriterVectorType |
Abstract column vector type. | |
Public Member Functions | |
LatexTableWriter (const std::string &filename, const ColumnWriterVectorType &columnWriter) | |
~LatexTableWriter () | |
writes "\end{tabular}" to the latex file and removes column vector | |
void | writeRow (const DataTuple &data) |
Write row to the table. | |
void | writeSeparator () |
Adds extra space between two columns in the latex table. | |
writes latex tables based on user-defined row structure
The class LatexTableWriter writes a latex table where each row corresponds to user-provided row structure of the DataTuple type.
typedef AbstractColumnWriter< DataTuple > Dune::Fem::LatexTableWriter< DataTuple >::ColumnWriterType |
Abstract column type.
typedef std::vector< const ColumnWriterType * > Dune::Fem::LatexTableWriter< DataTuple >::ColumnWriterVectorType |
Abstract column vector type.
|
inline |
Constructor
[in] | filename | The name of the latex file |
[in] | columnWriter | Abstract column writer |
|
inline |
writes "\end{tabular}" to the latex file and removes column vector
Destructor
|
inline |
Write row to the table.
|
inline |
Adds extra space between two columns in the latex table.