OWBI1::COWIntrusiveCountableBase Class Reference

If you want your class to be managed by COWIntrusiveReference, then derive from this class. More...

#include <OWBI1_COWIntrusiveCountableBase.hpp>

Inheritance diagram for OWBI1::COWIntrusiveCountableBase:

Inheritance graph
[legend]
Collaboration diagram for OWBI1::COWIntrusiveCountableBase:

Collaboration graph
[legend]
List of all members.

Protected Member Functions

 COWIntrusiveCountableBase (COWIntrusiveCountableBase const &)
COWIntrusiveCountableBaseoperator= (COWIntrusiveCountableBase const &x)
 COWIntrusiveCountableBase ()
virtual ~COWIntrusiveCountableBase ()
RefCount getRefCount () const

Private Attributes

RefCount m_usecount

Friends

void COWIntrusiveReferenceAddRef (COWIntrusiveCountableBase *p)
void COWIntrusiveReferenceRelease (COWIntrusiveCountableBase *p)
bool COWIntrusiveReferenceUnique (COWIntrusiveCountableBase *p)
template<typename T>
T * COWIntrusiveReferenceClone (T *p)

Detailed Description

If you want your class to be managed by COWIntrusiveReference, then derive from this class.

Note that if multiple inheritance is used, you must derive "virtual"ly.

Derived classes must implement: Derived* clone()

Definition at line 60 of file OWBI1_COWIntrusiveCountableBase.hpp.


Constructor & Destructor Documentation

OWBI1::COWIntrusiveCountableBase::COWIntrusiveCountableBase COWIntrusiveCountableBase const &   )  [inline, protected]
 

Definition at line 66 of file OWBI1_COWIntrusiveCountableBase.hpp.

OWBI1::COWIntrusiveCountableBase::COWIntrusiveCountableBase  )  [inline, protected]
 

Definition at line 76 of file OWBI1_COWIntrusiveCountableBase.hpp.

OWBI1::COWIntrusiveCountableBase::~COWIntrusiveCountableBase  )  [protected, virtual]
 

Definition at line 41 of file OWBI1_COWIntrusiveCountableBase.cpp.


Member Function Documentation

RefCount OWBI1::COWIntrusiveCountableBase::getRefCount  )  const [inline, protected]
 

Definition at line 82 of file OWBI1_COWIntrusiveCountableBase.hpp.

COWIntrusiveCountableBase& OWBI1::COWIntrusiveCountableBase::operator= COWIntrusiveCountableBase const &  x  )  [inline, protected]
 

Definition at line 70 of file OWBI1_COWIntrusiveCountableBase.hpp.


Friends And Related Function Documentation

void COWIntrusiveReferenceAddRef COWIntrusiveCountableBase p  )  [friend]
 

Definition at line 88 of file OWBI1_COWIntrusiveCountableBase.hpp.

template<typename T>
T* COWIntrusiveReferenceClone T *  p  )  [friend]
 

Definition at line 105 of file OWBI1_COWIntrusiveCountableBase.hpp.

void COWIntrusiveReferenceRelease COWIntrusiveCountableBase p  )  [friend]
 

Definition at line 93 of file OWBI1_COWIntrusiveCountableBase.hpp.

bool COWIntrusiveReferenceUnique COWIntrusiveCountableBase p  )  [friend]
 

Definition at line 99 of file OWBI1_COWIntrusiveCountableBase.hpp.


Member Data Documentation

RefCount OWBI1::COWIntrusiveCountableBase::m_usecount [private]
 

Definition at line 63 of file OWBI1_COWIntrusiveCountableBase.hpp.


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