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

ValueID is a strongly typed, reference counting pointer that refers to a Value. ValueID variables may be initialised to Value* objects and all subtypes. ValueID variables may alias objects held by other ValueID variables, or any subtype. When a ValueID acquires an object, it increments the object's reference count. When a ValueID releases an object, it decrements the object's reference count. If the reference count reaches zero, the object is automatically deleted.
A ValueID may be initialised with a Value object, or with literal Boolean, Character, Natural, Integer and Decimal values. In the latter cases, a Value is automatically constructed to wrap the value.
Public Member Functions | |
| ValueID () | |
| Declare a ValueID. | |
| ~ValueID () | |
| Release a ValueID. | |
| ValueID (const Null *) | |
| Initialise a ValueID explicitly to null. | |
| ValueID (const Value *) | |
| Initialise a ValueID to refer to a Value. | |
| ValueID (const ValueID &) | |
| Initialise a ValueID to alias another ValueID. | |
| ValueID (Boolean) | |
| Initialise a ValueID to refer to a Boolean value. | |
| ValueID (Character) | |
| Initialise a ValueID to refer to a Character value. | |
| ValueID (Natural) | |
| Initialise a ValueID to refer to a Natural number. | |
| ValueID (Integer) | |
| Initialise a ValueID to refer to an Integer number. | |
| ValueID (Decimal) | |
| Initialise a ValueID to refer to a Decimal number. | |
| ValueID & | operator= (const Value *) |
| Reassign this ValueID to refer to a Value. | |
| ValueID & | operator= (const ValueID &) |
| Reassign this ValueID to alias another ValueID. | |
| Value * | operator-> () const |
| Invoke a method on this ValueID. | |
|
|
Declare a ValueID.
|
|
|
Release a ValueID.
|
|
|
Initialise a ValueID explicitly to null.
|
|
|
Initialise a ValueID to refer to a Value.
|
|
|
Initialise a ValueID to alias another ValueID.
|
|
|
Initialise a ValueID to refer to a Boolean value.
|
|
|
Initialise a ValueID to refer to a Character value.
|
|
|
Initialise a ValueID to refer to a Natural number.
|
|
|
Initialise a ValueID to refer to an Integer number.
|
|
|
Initialise a ValueID to refer to a Decimal number.
|
|
|
Invoke a method on this ValueID.
Reimplemented from ObjectID. |
|
|
Reassign this ValueID to alias another ValueID.
|
|
|
Reassign this ValueID to refer to a Value.
|
1.3