Public Member Functions | List of all members
ecl::Format< unsigned long > Class Template Reference

Formatter for unsigned long types. It is a specialisation of the Format<IntegralNumber> class. More...

#include <number.hpp>

Inheritance diagram for ecl::Format< unsigned long >:
Inheritance graph
[legend]

Public Member Functions

 Format (int w=-1, Alignment a=NoAlign, IntegralBase b=Dec)
 
virtual ~Format ()
 
- Public Member Functions inherited from ecl::interfaces::FormatNumber< unsigned long >
FormatNumber< unsigned long > & align (ecl::Alignment a)
 
FormatNumber< unsigned long > & base (ecl::IntegralBase b)
 
 FormatNumber (int w=-1, ecl::Alignment a=NoAlign, ecl::IntegralBase b=Dec)
 
FormatNumber< unsigned long > & operator() (int w, ecl::Alignment a, ecl::IntegralBase b)
 
FormatNumber< unsigned long > & operator() (unsigned longn)
 
FormatNumber< unsigned long > & operator() (unsigned longn, int w, ecl::IntegralBase b)
 
FormatNumber< unsigned long > & operator() (unsigned longn, int w, ecl::Alignment a, ecl::IntegralBase b)
 
FormatNumber< unsigned long > & width (int w)
 
virtual ~FormatNumber ()
 

Additional Inherited Members

- Protected Member Functions inherited from ecl::interfaces::FormatNumber< unsigned 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< unsigned long >
ecl::Alignmentalignment_
 
IntegralBasebase_
 
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
 
unsigned long value_
 
int * width_
 

Detailed Description

template<>
class ecl::Format< unsigned long >

Formatter for unsigned long types. It is a specialisation of the Format<IntegralNumber> class.

Definition at line 531 of file number.hpp.

Constructor & Destructor Documentation

ecl::Format< unsigned long >::Format ( int  w = -1,
Alignment  a = NoAlign,
IntegralBase  b = Dec 
)
inline

Default constructor.

Parameters
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 540 of file number.hpp.

virtual ecl::Format< unsigned long >::~Format ( )
inlinevirtual

Definition at line 541 of file number.hpp.


The documentation for this class was generated from the following file:


ecl_formatters
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:24