DUNE-FEM (unstable)

Dune::Fem::LatexTableWriter< DataTuple > Class Template Reference

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 More...
 
void writeRow (const DataTuple &data)
 Write row to the table.
 
void writeSeparator ()
 Adds extra space between two columns in the latex table.
 

Detailed Description

template<class DataTuple>
class Dune::Fem::LatexTableWriter< DataTuple >

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.

Constructor & Destructor Documentation

◆ LatexTableWriter()

template<class DataTuple >
Dune::Fem::LatexTableWriter< DataTuple >::LatexTableWriter ( const std::string &  filename,
const ColumnWriterVectorType columnWriter 
)
inline

Constructor

Parameters
[in]filenameThe name of the latex file
[in]columnWriterAbstract column writer

References DUNE_THROW, and Dune::Fem::LatexTableWriter< DataTuple >::writeSeparator().

◆ ~LatexTableWriter()

template<class DataTuple >
Dune::Fem::LatexTableWriter< DataTuple >::~LatexTableWriter
inline

writes "\end{tabular}" to the latex file and removes column vector

Destructor


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)