BLOCXX_NAMESPACE::ReferenceBase Class Reference

#include <ReferenceBase.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::ReferenceBase:

BLOCXX_NAMESPACE::Reference< T >

List of all members.

Protected Member Functions

 ReferenceBase ()
 ReferenceBase (const ReferenceBase &arg)
void incRef ()
bool decRef ()
void swap (ReferenceBase &arg)
void useRefCountOf (const ReferenceBase &arg)

Static Protected Member Functions

static void throwNULLException ()
static void checkNull (const void *p)

Protected Attributes

RefCount *volatile m_pRefCount


Detailed Description

Definition at line 59 of file ReferenceBase.hpp.


Constructor & Destructor Documentation

BLOCXX_NAMESPACE::ReferenceBase::ReferenceBase (  )  [inline, protected]

Definition at line 66 of file ReferenceBase.hpp.

BLOCXX_NAMESPACE::ReferenceBase::ReferenceBase ( const ReferenceBase arg  )  [inline, protected]

Definition at line 68 of file ReferenceBase.hpp.

References BLOCXX_NAMESPACE::RefCount::inc(), and m_pRefCount.


Member Function Documentation

void BLOCXX_NAMESPACE::ReferenceBase::incRef (  )  [inline, protected]

Definition at line 74 of file ReferenceBase.hpp.

bool BLOCXX_NAMESPACE::ReferenceBase::decRef (  )  [inline, protected]

Reimplemented in BLOCXX_NAMESPACE::Reference< T >.

Definition at line 79 of file ReferenceBase.hpp.

Referenced by BLOCXX_NAMESPACE::Reference< T >::decRef().

void BLOCXX_NAMESPACE::ReferenceBase::swap ( ReferenceBase arg  )  [inline, protected]

Definition at line 88 of file ReferenceBase.hpp.

References m_pRefCount, and BLOCXX_NAMESPACE::RefSwap().

void BLOCXX_NAMESPACE::ReferenceBase::useRefCountOf ( const ReferenceBase arg  )  [inline, protected]

Definition at line 92 of file ReferenceBase.hpp.

References m_pRefCount.

Referenced by BLOCXX_NAMESPACE::Reference< T >::useRefCountOf().

void BLOCXX_NAMESPACE::ReferenceBase::throwNULLException (  )  [static, protected]

Definition at line 53 of file ReferenceBase.cpp.

References BLOCXX_THROW.

static void BLOCXX_NAMESPACE::ReferenceBase::checkNull ( const void *  p  )  [inline, static, protected]

Definition at line 101 of file ReferenceBase.hpp.

References BLOCXX_NAMESPACE::COWIntrusiveReferenceHelpers::throwNULLException().

Referenced by BLOCXX_NAMESPACE::Reference< T >::operator *(), and BLOCXX_NAMESPACE::Reference< T >::operator->().


Member Data Documentation

RefCount* volatile BLOCXX_NAMESPACE::ReferenceBase::m_pRefCount [protected]

Definition at line 115 of file ReferenceBase.hpp.

Referenced by ReferenceBase(), swap(), and useRefCountOf().


The documentation for this class was generated from the following files:
Generated on Fri Sep 21 23:42:37 2007 for blocxx by  doxygen 1.5.3