IDecimalUtil


IDecimalUtil - Member Functions and Data by Group

Constructors & Destructor

Construct and destruct decimal utility objects.


[view class]
IDecimalUtil
Construct an IDecimalUtil object.


Overload 1
public:
IDecimalUtil()
Default constructor.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
IDecimalUtil(unsigned long auLong)
Construct from an unsigned long.

auLong
The unsigned long to construct from.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
public:
IDecimalUtil(double aDouble)
Construct from a double.

aDouble
The double to construct from.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 4
public:
IDecimalUtil(unsigned int auInt)
Construct from an unsigned int.

auInt
The unsigned int to construct from.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 5
public:
IDecimalUtil(int anInt)
Construct from an int.

anInt
The int to construct from.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 6
public:
IDecimalUtil(const IBinaryCodedDecimal& bcd)
Copy constructor.

bcd
The object to copy from.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 7
public:
IDecimalUtil(long double alDouble)
Construct from a long double.

alDouble
The long double to construct from.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 8
public:
IDecimalUtil(float afloat)
Construct from a float.

aFloat
The float to construct from.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 9
public:
IDecimalUtil(long aLong)
Construct from a long.

aLong
The long to construct from.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Conversion Operators

These operators convert the value to C fundamental type formats.


[view class]
operator IBinaryCodedDecimal
public:
operator IBinaryCodedDecimal() const
Implicit conversion operator to pull out an IBinaryCodedDecimal object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Equality Operators

These operators compare decimal utility objects for equality and/or relative magnitude.


[view class]
operator !=
public:
int operator !=(const IDecimalUtil& dut) const
Compares one decimal util object to another for inequality.

dut
The other object to compare to.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator <
public:
int operator <(const IDecimalUtil& dut) const
Compares one decimal util object to another for relative magnitude.

dut
The other object to compare to.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator <=
public:
int operator <=(const IDecimalUtil& dut) const
Compares one decimal util object to another for relative magnitude or equality.

dut
The other object to compare to.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator ==
public:
int operator ==(const IDecimalUtil& dut) const
Compares one decimal util object to another for equality.

dut
The other object to compare to.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator >
public:
int operator >(const IDecimalUtil& dut) const
Compares one decimal util object to another for relative magnitude.

dut
The other object to compare to.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator >=
public:
int operator >=(const IDecimalUtil& dut) const
Compares one decimal util object to another for relative magnitude or equality.

dut
The other object to compare to.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IDecimalUtil - Associated Globals


operator *
IDecimalUtil operator *(const IDecimalUtil& lv, const IDecimalUtil& rv)


operator +
IDecimalUtil operator +(const IDecimalUtil& lv, const IDecimalUtil& rv)


operator -
IDecimalUtil operator -(const IDecimalUtil& lv, const IDecimalUtil& rv)


operator /
IDecimalUtil operator /(const IDecimalUtil& lv, const IDecimalUtil& rv)


operator <<
ostream& operator <<(ostream& os, const IBinaryCodedDecimal& bcd)


operator <<
ostream & operator <<(ostream& os, const IDecimalUtil& dut)


operator >>
istream& operator >>(istream& is, IBinaryCodedDecimal& bcd)


IDecimalUtil - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data