Base class Interface for all Reference Counted objects.
More...
#include <ircobject.h>
|
virtual void | addRef () const =0 |
| Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
|
|
virtual bool | decRef () const =0 |
| Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
|
|
virtual int32 | getRefCount () const =0 |
| Retrieve the current reference count of the actual object pointed to.
|
|
|
virtual | ~IRCObject () |
| Virtual destructor.
|
|
Base class Interface for all Reference Counted objects.
◆ decRef()
virtual bool IRCObject::decRef |
( |
| ) |
const |
|
pure virtual |
Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
- Returns
- bool Returns true on success
◆ getRefCount()
virtual int32 IRCObject::getRefCount |
( |
| ) |
const |
|
pure virtual |
Retrieve the current reference count of the actual object pointed to.
- Returns
- int32 The current reference count
The documentation for this class was generated from the following file: