Template Class Format< float >
Defined in File floats.hpp
Inheritance Relationships
Base Type
public ecl::interfaces::FormatFloat< float >
(Template Class FormatFloat)
Class Documentation
-
template<>
class Format<float> : public ecl::interfaces::FormatFloat<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).
Public Functions
-
inline Format(int w = -1, int p = 4, Alignment a = NoAlign, FloatBase b = Fixed)
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)
-
inline virtual ~Format()
-
inline Format(int w = -1, int p = 4, Alignment a = NoAlign, FloatBase b = Fixed)