OW_NAMESPACE::ReferenceBase Class Reference

#include <OW_ReferenceBase.hpp>

Inheritance diagram for OW_NAMESPACE::ReferenceBase:

Inheritance graph
Collaboration diagram for OW_NAMESPACE::ReferenceBase:

Collaboration graph
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 57 of file OW_ReferenceBase.hpp.

Constructor & Destructor Documentation

OW_NAMESPACE::ReferenceBase::ReferenceBase  )  [inline, protected]

Definition at line 64 of file OW_ReferenceBase.hpp.

OW_NAMESPACE::ReferenceBase::ReferenceBase const ReferenceBase arg  )  [inline, protected]

Definition at line 66 of file OW_ReferenceBase.hpp.

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

Member Function Documentation

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

Definition at line 99 of file OW_ReferenceBase.hpp.

References OW_NAMESPACE::COWIntrusiveReferenceHelpers::throwNULLException().

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

bool OW_NAMESPACE::ReferenceBase::decRef  )  [inline, protected]

Reimplemented in OW_NAMESPACE::Reference< T >, OW_NAMESPACE::Reference< HTTPChunkedOStream >, OW_NAMESPACE::Reference< Array< SelectablePair_t > >, and OW_NAMESPACE::Reference< TempFileStream >.

Definition at line 77 of file OW_ReferenceBase.hpp.

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

void OW_NAMESPACE::ReferenceBase::incRef  )  [inline, protected]

Definition at line 72 of file OW_ReferenceBase.hpp.

void OW_NAMESPACE::ReferenceBase::swap ReferenceBase arg  )  [inline, protected]

Definition at line 86 of file OW_ReferenceBase.hpp.

References m_pRefCount, and OW_NAMESPACE::RefSwap().

void OW_NAMESPACE::ReferenceBase::throwNULLException  )  [static, protected]

Definition at line 53 of file OW_ReferenceBase.cpp.

References OW_THROW.

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

Definition at line 90 of file OW_ReferenceBase.hpp.

References m_pRefCount.

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

Member Data Documentation

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

Definition at line 113 of file OW_ReferenceBase.hpp.

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

The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:14:12 2006 for openwbem by  doxygen 1.4.6