PSmartPtr< T > Class Template Reference
#include <smartptr.h>
List of all members.
|
Public Member Functions |
| | PSmartPtr (T *ptr=NULL) |
| | Constructor.
|
| T * | operator-> () const |
| | Access to the members of the smart object in the smart pointer.
|
| T & | operator* () const |
| | Access to the dereferenced smart object in the smart pointer.
|
| | operator T * () const |
| | Access to the value of the smart pointer.
|
Detailed Description
template<class T>
class PSmartPtr< T >
This template class creates a type safe version of
PSmartPointer.
Constructor & Destructor Documentation
Member Function Documentation
template<class T>
| T* PSmartPtr< T >::operator-> |
( |
|
) |
const [inline] |
Access to the members of the smart object in the smart pointer.
References PAssertNULL.
template<class T>
| T& PSmartPtr< T >::operator* |
( |
|
) |
const [inline] |
Access to the dereferenced smart object in the smart pointer.
References PAssertNULL.
template<class T>
| PSmartPtr< T >::operator T * |
( |
|
) |
const [inline] |
The documentation for this class was generated from the following file: