![]() |
The Simons
|
#include <VectorID.h>
Inheritance diagram for VectorID:
VectorID is a strongly typed, reference counting pointer that refers to a Vector. VectorID variables may be initialised to Vector* objects and all subtypes. VectorID variables may alias objects held by other VectorID variables, or any subtype. When a VectorID acquires an object, it increments the object's reference count. When a VectorID releases an object, it decrements the object's reference count. If the reference count reaches zero, the object is automatically deleted.
Public Member Functions | |
VectorID () | |
Declare a VectorID. | |
~VectorID () | |
Release a VectorID. | |
VectorID (const Null *) | |
Initialise a VectorID to refer explicitly to null. | |
VectorID (const Vector *) | |
Initialise a VectorID to refer to a Vector. | |
VectorID (const VectorID &) | |
Initialise a VectorID to alias another VectorID. | |
VectorID & | operator= (const Vector *) |
Reassign this VectorID to refer to a Vector. | |
VectorID & | operator= (const VectorID &) |
Reassign this VectorID to alias another VectorID. | |
Vector * | operator-> () const |
Invoke a method on this VectorID. |
|
Declare a VectorID.
|
|
Release a VectorID.
|
|
Initialise a VectorID to refer explicitly to null.
|
|
Initialise a VectorID to refer to a Vector.
|
|
Initialise a VectorID to alias another VectorID.
|
|
Invoke a method on this VectorID.
Reimplemented from SequenceID. |
|
Reassign this VectorID to alias another VectorID.
|
|
Reassign this VectorID to refer to a Vector.
|