Core Library
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
Core::RefCounted Class Reference

The class used to provide internal reference counting. More...

#include <RefCounted.hpp>

List of all members.

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 &)
RefCountedoperator= (const RefCounted &)

Private Attributes

long m_lRefCount
 The reference count.

Detailed Description

The class used to provide internal reference counting.


Constructor & Destructor Documentation

Core::RefCounted::RefCounted ( ) [inline, protected]

Default constructor.

Core::RefCounted::~RefCounted ( ) [inline, protected, virtual]

Destructor.

Core::RefCounted::RefCounted ( const RefCounted ) [private]

Member Function Documentation

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]

Member Data Documentation

The reference count.


The documentation for this class was generated from the following file: