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

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