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