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