#include <ReferenceCounted.hpp>
Inheritance diagram for ReferenceCounted:
Public Member Functions | |
ReferenceCounted () | |
virtual | ~ReferenceCounted () |
void | incrementRefCount () const |
Increment the reference count. | |
virtual void | decrementRefCount () const |
Decrement the reference count, deleting if it becomes zero. | |
Protected Attributes | |
unsigned int | _ref_count |
ReferenceCounted::ReferenceCounted | ( | ) | [inline] |
virtual ReferenceCounted::~ReferenceCounted | ( | ) | [inline, virtual] |
void ReferenceCounted::incrementRefCount | ( | ) | const [inline] |
Increment the reference count.
virtual void ReferenceCounted::decrementRefCount | ( | ) | const [inline, virtual] |
Decrement the reference count, deleting if it becomes zero.
unsigned int ReferenceCounted::_ref_count [protected] |