$search

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 486 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 496 of file floats.hpp.

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

Definition at line 499 of file floats.hpp.


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


ecl_formatters
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Fri Mar 1 15:20:51 2013