|
dune-fem 2.8.0
|
gets the N th element of a provided tuple assuming its a number More...
#include <dune/fem/io/file/latextablewriter.hh>

Public Types | |
| enum | Alignment { AlignLeft , AlignCenter , AlignRight } |
| The alignment for the data in this column. More... | |
Public Member Functions | |
| NumberColumnWriter (const std::string &header, const int decimals=6, const DataSource &source=DataSource()) | |
| NumberColumnWriter (const std::string &header, const DataSource &source) | |
| Constructor of NumberColumnWriter where decimal default to 6. | |
| BaseType::Alignment | alignment () const |
| set the aligment of the entries for this column in the latex table | |
| std::string | entry (const DataTuple &data) const |
| returns N the element from data tuple | |
| std::string | header () const |
| return Column titles in latex row format | |
Protected Member Functions | |
| template<class Number > | |
| std::string | toString (const Number &number) const |
| converts number to std::string | |
gets the N th element of a provided tuple assuming its a number
This class extracts the N th element of the tuple assuming the N th element is a number
| DataTuple | The type of the data tuple |
| N | Index of the entry in the data tuple tp be extracted |
|
inherited |
|
inlineexplicit |
Constructor
| [in] | header | Column titles in latex row format |
| [in] | decimals | The precision of double for output to latex table |
| [in] | source | The type of the data to be written in column(s) |
|
inline |
Constructor of NumberColumnWriter where decimal default to 6.
Constructor
| [in] | header | Column titles in latex row format |
| [in] | source | The type of the data to be written in column(s) |
|
inlinevirtual |
set the aligment of the entries for this column in the latex table
Reimplemented from Dune::Fem::AbstractColumnWriter< DataTuple >.
|
inlinevirtual |
returns N the element from data tuple
Implements Dune::Fem::AbstractColumnWriter< DataTuple >.
|
inlinevirtual |
return Column titles in latex row format
Implements Dune::Fem::AbstractColumnWriter< DataTuple >.
|
inlineprotected |
converts number to std::string