Public Member Functions
ecl::Format< float > Class Template Reference

Formatter for float types. More...

#include <floats.hpp>

Inheritance diagram for ecl::Format< float >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Format (int w=-1, int p=4, Alignment a=NoAlign, FloatBase b=Fixed)
virtual ~Format ()

Detailed Description

template<>
class ecl::Format< float >

Formatter for float types.

It is a specialisation of the Format<T> template family. Its entire functionality is inherited from FormatFloat (this class simply provides a convenient handle in the Format<T> family).

Definition at line 496 of file floats.hpp.


Constructor & Destructor Documentation

ecl::Format< float >::Format ( int  w = -1,
int  p = 4,
Alignment  a = NoAlign,
FloatBase  b = Fixed 
) [inline]

Default constructor. Initialises the format tags for width, precision, alignment and base.

Parameters:
w: width (default - no width constraints)
p: the number of decimal places of precision (default - 4)
a: the textual alignment (default - no alignment constraints)
b: the base format for the floating point representation (default - fixed)

Definition at line 506 of file floats.hpp.

virtual ecl::Format< float >::~Format ( ) [inline, virtual]

Definition at line 509 of file floats.hpp.


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


ecl_formatters
Author(s): Daniel Stonier
autogenerated on Sun Oct 5 2014 23:35:27