|
The Simons
|
#include <Value.h>
Inheritance diagram for DecimalBox:

Public Member Functions | |
| DecimalBox () | |
| Construct a default DecimalBox. | |
| ~DecimalBox () | |
| Release a DecimalBox. | |
| DecimalBox (Decimal) | |
| Initialise a DecimalBox to a Decimal value. | |
| virtual ObjectID | clone () const |
| Clone a deep copy of this DecimalBox. | |
| virtual TypeID | type () const |
| Return the Type of this DecimalBox. | |
| virtual Natural | hash () const |
| Return a quasi-unique hash code for this DecimalBox. | |
| virtual Order | compare (ObjectID) const |
| Compare this DecimalBox with another. | |
| Void | readOn (ReaderID) |
| Read this DecimalBox on a Reader stream. | |
| Void | writeOn (WriterID) const |
| Write this DecimalBox on a Writer stream. | |
| virtual Decimal | toDecimal () const |
| Convert this DecimalBox to a Decimal value. | |
|
|
Construct a default DecimalBox.
|
|
|
Release a DecimalBox.
|
|
|
Initialise a DecimalBox to a Decimal value.
|
|
|
Clone a deep copy of this DecimalBox.
Reimplemented from Object. |
|
|
Compare this DecimalBox with another. Two Decimal numbers x, y are considered EQUAL if 1 + (x - y) - 1 is indistinguishable from zero.
Reimplemented from Object. |
|
|
Return a quasi-unique hash code for this DecimalBox. A folding hash which treats the Decimal as a block of two Natural numbers and returns the XOR of these.
Reimplemented from Object. |
|
|
Read this DecimalBox on a Reader stream. Read in the wrapped Decimal value. Reimplemented from Object. |
|
|
Convert this DecimalBox to a Decimal value.
Reimplemented from Object. |
|
|
Return the Type of this DecimalBox.
Reimplemented from Object. |
|
|
Write this DecimalBox on a Writer stream. Write out the wrapped Decimal value. Reimplemented from Object. |
1.3