Core Library
|
The class used to provide internal reference counting. More...
#include <RefCounted.hpp>
Public Member Functions | |
long | refCount () const |
Get the reference count. | |
long | incRefCount () |
Increase the reference count by one. | |
long | decRefCount () |
Decrese the reference count by one. | |
Protected Member Functions | |
RefCounted () | |
Default constructor. | |
virtual | ~RefCounted () |
Destructor. | |
Private Member Functions | |
RefCounted (const RefCounted &) | |
RefCounted & | operator= (const RefCounted &) |
Private Attributes | |
long | m_lRefCount |
The reference count. |
The class used to provide internal reference counting.
Core::RefCounted::RefCounted | ( | ) | [inline, protected] |
Default constructor.
Core::RefCounted::~RefCounted | ( | ) | [inline, protected, virtual] |
Destructor.
Core::RefCounted::RefCounted | ( | const RefCounted & | ) | [private] |
long Core::RefCounted::refCount | ( | ) | const [inline] |
Get the reference count.
long Core::RefCounted::incRefCount | ( | ) | [inline] |
Increase the reference count by one.
long Core::RefCounted::decRefCount | ( | ) | [inline] |
Decrese the reference count by one.
RefCounted& Core::RefCounted::operator= | ( | const RefCounted & | ) | [private] |
long Core::RefCounted::m_lRefCount [private] |
The reference count.