![]() |
The Simons
|
#include <Value.h>
Inheritance diagram for NaturalBox:
Public Member Functions | |
NaturalBox () | |
Construct a default NaturalBox. | |
~NaturalBox () | |
Release a NaturalBox. | |
NaturalBox (Natural) | |
Initialise a NaturalBox to a Natural value. | |
virtual ObjectID | clone () const |
Clone a deep copy of this NaturalBox. | |
virtual TypeID | type () const |
Return the Type of this NaturalBox. | |
virtual Natural | hash () const |
Return a quasi-unique hash code for this NaturalBox. | |
virtual Order | compare (ObjectID) const |
Compare this NaturalBox with another. | |
Void | readOn (ReaderID) |
Read this NaturalBox on a Reader stream. | |
Void | writeOn (WriterID) const |
Write this NaturalBox on a Writer stream. | |
virtual Natural | toNatural () const |
Convert this NaturalBox to a Natural value. |
|
Construct a default NaturalBox.
|
|
Release a NaturalBox.
|
|
Initialise a NaturalBox to a Natural value.
|
|
Clone a deep copy of this NaturalBox.
Reimplemented from Object. |
|
Compare this NaturalBox with another.
Reimplemented from Object. |
|
Return a quasi-unique hash code for this NaturalBox.
Reimplemented from Object. |
|
Read this NaturalBox on a Reader stream. Read in the wrapped Natural value. Reimplemented from Object. |
|
Convert this NaturalBox to a Natural value.
Reimplemented from Object. |
|
Return the Type of this NaturalBox.
Reimplemented from Object. |
|
Write this NaturalBox on a Writer stream. Write out the wrapped Natural value. Reimplemented from Object. |