Public Member Functions
ecl::formatters::ArrayFormatter< double, N > Class Template Reference

Formatter for fixed size double arrays. More...

#include <formatters.hpp>

Inheritance diagram for ecl::formatters::ArrayFormatter< double, N >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

template<size_t N>
class ecl::formatters::ArrayFormatter< double, N >

Formatter for fixed size double arrays.

Allows precision settings for formatting of fixed size double arrays.

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

Definition at line 308 of file array/formatters.hpp.


Constructor & Destructor Documentation

template<size_t N>
ecl::formatters::ArrayFormatter< double, N >::ArrayFormatter ( 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 319 of file array/formatters.hpp.

template<size_t N>
virtual ecl::formatters::ArrayFormatter< double, N >::~ArrayFormatter ( ) [inline, virtual]

Definition at line 321 of file array/formatters.hpp.


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


ecl_containers
Author(s): Daniel Stonier
autogenerated on Sun Oct 5 2014 23:35:46