Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

RefNode< T, NSPC > Class Template Reference

This is the reference counting C++-safe type for the user. More...

#include <refnode.h>

Inheritance diagram for RefNode< T, NSPC >:

Inheritance graph
[legend]
Collaboration diagram for RefNode< T, NSPC >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RefNode ()
 Normal C++ constructors:.

 RefNode (const RefNode &r)
 ~RefNode ()
RefNodeoperator= (const RefNode &r)
 Normal C++ assignment.

void deref ()
 This is like assigning a NULL ref:.

bool operator! () const
 This can be used to check for NULL refs:.

 operator bool () const
 RefNode (T *_in)
 Special to create the first RefNode for an internal RefNode:.

RefNodeoperator= (T *_in)
T * operator-> ()
 Access to the internal class via ->:.

const T * operator-> () const
T & operator * ()
 Access to the internal class via dereferencing (poiner feeling):.

const T & operator * () const

Private Member Functions

void _aqref ()
void _deref ()

Private Attributes

T * in

Detailed Description

template<typename T, typename NSPC = _RefNode_VoidNSPC>
class RefNode< T, NSPC >

This is the reference counting C++-safe type for the user.

Author:
Wolfgang Wieser ] wwieser (a) gmx <*> de [
The type T must be derived from InternalRefNodeBase. This class (RefNode) is NOT meant to be used as a base class.

The type NSPC can be specified to include a separate "namespace class"; see the description in refnode.h docu for details. This class defaults to void and hence does not need to be specified.

Definition at line 282 of file refnode.h.


Constructor & Destructor Documentation

template<typename T, typename NSPC = _RefNode_VoidNSPC>
RefNode< T, NSPC >::RefNode  )  [inline]
 

Normal C++ constructors:.

Definition at line 291 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
RefNode< T, NSPC >::RefNode const RefNode< T, NSPC > &  r  )  [inline]
 

Definition at line 292 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
RefNode< T, NSPC >::~RefNode  )  [inline]
 

Definition at line 293 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
RefNode< T, NSPC >::RefNode T *  _in  )  [inline]
 

Special to create the first RefNode for an internal RefNode:.

Definition at line 307 of file refnode.h.


Member Function Documentation

template<typename T, typename NSPC = _RefNode_VoidNSPC>
void RefNode< T, NSPC >::_aqref  )  [inline, private]
 

Definition at line 287 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
void RefNode< T, NSPC >::_deref  )  [inline, private]
 

Definition at line 288 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
void RefNode< T, NSPC >::deref  )  [inline]
 

This is like assigning a NULL ref:.

Definition at line 300 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
const T& RefNode< T, NSPC >::operator *  )  const [inline]
 

Definition at line 317 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
T& RefNode< T, NSPC >::operator *  )  [inline]
 

Access to the internal class via dereferencing (poiner feeling):.

Definition at line 316 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
RefNode< T, NSPC >::operator bool  )  const [inline]
 

Definition at line 304 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
bool RefNode< T, NSPC >::operator!  )  const [inline]
 

This can be used to check for NULL refs:.

Definition at line 303 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
const T* RefNode< T, NSPC >::operator->  )  const [inline]
 

Definition at line 313 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
T* RefNode< T, NSPC >::operator->  )  [inline]
 

Access to the internal class via ->:.

Definition at line 312 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
RefNode& RefNode< T, NSPC >::operator= T *  _in  )  [inline]
 

Definition at line 308 of file refnode.h.

template<typename T, typename NSPC = _RefNode_VoidNSPC>
RefNode& RefNode< T, NSPC >::operator= const RefNode< T, NSPC > &  r  )  [inline]
 

Normal C++ assignment.

Definition at line 296 of file refnode.h.


Member Data Documentation

template<typename T, typename NSPC = _RefNode_VoidNSPC>
T* RefNode< T, NSPC >::in [private]
 

Definition at line 285 of file refnode.h.

Referenced by RefNode< _ISharedObject, _ISharedObject_Namespace >::operator=().


The documentation for this class was generated from the following file:
Generated on Sat Feb 19 22:35:35 2005 for Ray by doxygen 1.3.5