Cptr< T > Class Template Reference
#include <Cptr.h>
Collaboration diagram for Cptr< T >:
[legend]List of all members.
Detailed Description
template<class T>
class Cptr< T >
counting pointer
uses reference counting interface (ircountable ) to keep an object alive for as long as the Cptr instance is alive.
Constructor & Destructor Documentation
|
template<class T> |
| Cptr< T >::Cptr |
( |
|
) |
[inline] |
|
|
template<class T> |
| Cptr< T >::Cptr |
( |
T * |
o |
) |
[inline] |
|
|
template<class T> |
| Cptr< T >::Cptr |
( |
const Cptr< T > & |
p |
) |
[inline] |
|
|
template<class T> |
| Cptr< T >::~Cptr |
( |
|
) |
[inline] |
|
Member Function Documentation
|
template<class T> |
| bool Cptr< T >::isValid |
( |
|
) |
const [inline] |
|
|
template<class T> |
| T* Cptr< T >::item |
( |
|
) |
const [inline] |
|
|
template<class T> |
| T& Cptr< T >::operator * |
( |
|
) |
[inline] |
|
|
template<class T> |
| Cptr< T >::operator T * |
( |
|
) |
const [inline] |
|
|
template<class T> |
| bool Cptr< T >::operator! |
( |
|
) |
[inline] |
|
|
template<class T> |
| T* Cptr< T >::operator-> |
( |
|
) |
const [inline] |
|
|
template<class T> |
| Cptr<T>& Cptr< T >::operator= |
( |
T * |
p |
) |
[inline] |
|
|
template<class T> |
| Cptr<T>& Cptr< T >::operator= |
( |
const Cptr< T > & |
p |
) |
[inline] |
|
|
template<class T> |
| bool Cptr< T >::operator== |
( |
T * |
o |
) |
const [inline] |
|
|
template<class T> |
| bool Cptr< T >::operator== |
( |
const Cptr< T > & |
p |
) |
const [inline] |
|
Member Data Documentation
|
template<class T> |
T* Cptr< T >::obj [protected] |
|
The documentation for this class was generated from the following file:
- include/OpenTracker/misc/Cptr.h
Generated on Wed Feb 28 15:27:10 2007 for NaviTrack by
1.4.6