Inheritance diagram for CP_M_RefCounted:
Public Member Functions | |
operators | |
CP_M_RefCounted & | operator= (const CP_M_RefCounted &inRefCounted) |
Protected Member Functions | |
Constructor / Destructor | |
CP_M_RefCounted () | |
Constructor. | |
CP_M_RefCounted (CP_M_RefCounted &inRefCounted) | |
virtual | ~CP_M_RefCounted () |
Destructor. | |
Private Attributes | |
UInt32 | fRefCount |
|
Constructor.
|
|
Copy constructor.
|
|
Destructor.
|
|
Add a reference to our object, returning the new reference count.
|
|
Remove a reference to our object, returning the new reference count. If the count is 0, then this object is also deleted, and 0 is returned.
|
|
Add the object to the topmost auto-release pool. This will ensure that the object is eventually released.
|
|
Returns the current ref count.
|
|
Assignment operator.
|
|
|