XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRefCounted Class Reference

Base class for reference counted objects. More...

#include <RefCounted.h>

Inheritance diagram for xiiRefCounted:
[legend]

Public Member Functions

virtual ~xiiRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from xiiRefCountingImpl
 xiiRefCountingImpl ()=default
 Constructor.
 
 xiiRefCountingImpl (const xiiRefCountingImpl &rhs)
 
void operator= (const xiiRefCountingImpl &rhs)
 
xiiUInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
 
xiiUInt32 ReleaseRef () const
 Decrements the reference counter. Returns the new reference count.
 
bool IsReferenced () const
 Returns true if the reference count is greater than 0, false otherwise.
 
xiiUInt32 GetRefCount () const
 Returns the current reference count.
 

Detailed Description

Base class for reference counted objects.


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