TNL::SafePtr< T > Class Template Reference
#include <tnlNetBase.h>
Inheritance diagram for TNL::SafePtr< T >:
Detailed Description
template<class T>
class TNL::SafePtr< T >
Safe object template pointer class.
Instances of this template class can be used as pointers to instances of Object and its subclasses.
When the object referenced by a SafePtr instance is deleted, the pointer to the object is set to NULL in the SafePtr instance.
Constructor & Destructor Documentation
Member Function Documentation
|
template<class T> |
| bool TNL::SafePtr< T >::isNull |
( |
|
) |
const [inline] |
|
|
template<class T> |
| bool TNL::SafePtr< T >::isValid |
( |
|
) |
const [inline] |
|
|
template<class T> |
| T* TNL::SafePtr< T >::operator-> |
( |
|
) |
const [inline] |
|
|
template<class T> |
| T& TNL::SafePtr< T >::operator * |
( |
|
) |
const [inline] |
|
|
template<class T> |
| TNL::SafePtr< T >::operator T * |
( |
|
) |
const [inline] |
|
|
template<class T> |
| TNL::SafePtr< T >::operator T * |
( |
|
) |
[inline] |
|
|
template<class T> |
| T* TNL::SafePtr< T >::getPointer |
( |
|
) |
[inline] |
|