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 >:
[legend]Collaboration diagram for RefNode< T, NSPC >:
[legend]List of all members.
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 |
( |
|
) |
[inline] |
|
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] |
|
template<typename T, typename NSPC = _RefNode_VoidNSPC> |
void RefNode< T, NSPC >::_deref |
( |
|
) |
[inline, private] |
|
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] |
|
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] |
|
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] |
|
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] |
|
|
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]
|
|
The documentation for this class was generated from the following file:
Generated on Sat Feb 19 22:35:35 2005 for Ray by
1.3.5