Public Member Functions
ecl::formatters::StencilFormatter< ValueType, Container, ecl::enable_if< ecl::is_float< ValueType > >::type > Class Template Reference

Partial specialisation of the stencil formatter for float containers. More...

#include <formatters.hpp>

Inheritance diagram for ecl::formatters::StencilFormatter< ValueType, Container, ecl::enable_if< ecl::is_float< ValueType > >::type >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 StencilFormatter (const int p=2, const int w=-1)
 Default constructor.
virtual ~StencilFormatter ()

Detailed Description

template<typename ValueType, typename Container>
class ecl::formatters::StencilFormatter< ValueType, Container, ecl::enable_if< ecl::is_float< ValueType > >::type >

Partial specialisation of the stencil formatter for float containers.

Allows precision settings for formatting of float stencils.

Template Parameters:
N: the size of the fixed size float array to be formatted.
See also:
FloatContainerFormatter.

Definition at line 103 of file stencil/formatters.hpp.


Constructor & Destructor Documentation

template<typename ValueType , typename Container >
ecl::formatters::StencilFormatter< ValueType, Container, ecl::enable_if< ecl::is_float< ValueType > >::type >::StencilFormatter ( const int  p = 2,
const int  w = -1 
) [inline]

Default constructor.

Optionally accepts a precision setting for the contents of the array.

Parameters:
p: the number of decimal places of precision [default : 2].
w: width [default : no width constraint]

Definition at line 114 of file stencil/formatters.hpp.

template<typename ValueType , typename Container >
virtual ecl::formatters::StencilFormatter< ValueType, Container, ecl::enable_if< ecl::is_float< ValueType > >::type >::~StencilFormatter ( ) [inline, virtual]

Definition at line 115 of file stencil/formatters.hpp.


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


ecl_containers
Author(s): Daniel Stonier
autogenerated on Mon Jul 3 2017 02:21:42