$search

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 300 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 311 of file array/formatters.hpp.

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

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


ecl_containers
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Fri Mar 1 15:21:08 2013