Formatter for long types. It is a specialisation of the Format<IntegralNumber> class. More...
#include <number.hpp>

Public Member Functions | |
| Format (int w=-1, Alignment a=NoAlign, IntegralBase b=Dec) | |
| virtual | ~Format () |
Public Member Functions inherited from ecl::interfaces::FormatNumber< long > | |
| FormatNumber< long > & | align (ecl::Alignment a) |
| FormatNumber< long > & | base (ecl::IntegralBase b) |
| FormatNumber (int w=-1, ecl::Alignment a=NoAlign, ecl::IntegralBase b=Dec) | |
| FormatNumber< long > & | operator() (int w, ecl::Alignment a, ecl::IntegralBase b) |
| FormatNumber< long > & | operator() (long n) |
| FormatNumber< long > & | operator() (long n, int w, ecl::Alignment a, ecl::IntegralBase b) |
| FormatNumber< long > & | operator() (long n, int w, ecl::IntegralBase b) |
| FormatNumber< long > & | width (int w) |
| virtual | ~FormatNumber () |
Additional Inherited Members | |
Protected Member Functions inherited from ecl::interfaces::FormatNumber< long > | |
| void | formatBin (OutputStream &ostream) const |
| void | formatDec (OutputStream &ostream) const |
| void | formatHex (OutputStream &ostream) const |
| void | pad (int n, OutputStream &ostream) const |
| void | postPad (int n, OutputStream &ostream) const |
| void | prePad (int n, OutputStream &ostream) const |
Protected Attributes inherited from ecl::interfaces::FormatNumber< long > | |
| ecl::Alignment * | alignment_ |
| IntegralBase * | base_ |
| ecl::Alignment | prm_alignment |
| ecl::IntegralBase | prm_base |
| int | prm_width |
| bool | ready_to_format |
| ecl::Alignment | tmp_alignment |
| ecl::IntegralBase | tmp_base |
| int | tmp_width |
| long | value_ |
| int * | width_ |
Formatter for long types. It is a specialisation of the Format<IntegralNumber> class.
Definition at line 448 of file number.hpp.
|
inline |
Default constructor.
| w | : the total width of the text output. |
| a | : the aligning property for the output text. |
| b | : the base representation used for the output. |
Definition at line 457 of file number.hpp.
|
inlinevirtual |
Definition at line 458 of file number.hpp.