Formatter for float types. More...
#include <floats.hpp>
Public Member Functions | |
Format (int w=-1, int p=4, Alignment a=NoAlign, FloatBase b=Fixed) | |
virtual | ~Format () |
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.
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.
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.