Template Class Format< double >

Inheritance Relationships

Base Types

Class Documentation

template<> ecl::Format< double > : public double::Formatter , public ecl::interfaces::FormatFloat< double >

Formatter for double 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()