![]() |
The Simons
|
#include <Value.h>
Inheritance diagram for Value:
The Value class is the root of the value hierarchy, which includes BooleanBox, CharacterBox, NaturalBox, IntegerBox and DecimalBox. Each of these wraps up one of the basic value types: Boolean, Character, Natural, Integer and Decimal, when these need to be treated like an Object. The Value class allows these to be recognised as a special group for input and output.
Public Member Functions | |
Value () | |
Construct a default value. | |
virtual | ~Value () |
Release a Value. Forget my basic value. | |
Protected Member Functions | |
Value (const Value &) | |
Copy a Value. |
|
Copy a Value. Copy my basic value.
|
|
Construct a default value. Initialise my basic value to the default value for my type, such as zero or false.
|
|
Release a Value. Forget my basic value.
|