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

Formatter for fixed size float arrays. More...

#include <formatters.hpp>

Inheritance diagram for ecl::formatters::ArrayFormatter< float, 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< float, N >

Formatter for fixed size float arrays.

Allows precision settings for formatting of fixed size float arrays.

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

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


Constructor & Destructor Documentation

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

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

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


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


ecl_containers
Author(s): Daniel Stonier
autogenerated on Wed Aug 26 2015 11:27:29