Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

PtrWrapper< T > Class Template Reference

#include <libcsm.h>


Detailed Description

template<class T>
class PtrWrapper< T >

class PtrWrapper: the PtrWrapper class is a very rudimentary smart pointer class without ref counting

Author:
- Saurav Mohapatra - standard_template@yahoo.com

Definition at line 235 of file libcsm.h.

Public Member Functions

 PtrWrapper (T *t)
virtual ~PtrWrapper ()
T * getPtr ()
T * operator-> ()
 operator T * ()


Constructor & Destructor Documentation

template<class T>
PtrWrapper< T >::PtrWrapper T *  t  )  [inline]
 

Definition at line 238 of file libcsm.h.

template<class T>
virtual PtrWrapper< T >::~PtrWrapper  )  [inline, virtual]
 

Definition at line 239 of file libcsm.h.


Member Function Documentation

template<class T>
T* PtrWrapper< T >::getPtr  )  [inline]
 

Definition at line 241 of file libcsm.h.

template<class T>
T* PtrWrapper< T >::operator->  )  [inline]
 

Definition at line 242 of file libcsm.h.

template<class T>
PtrWrapper< T >::operator T *  )  [inline]
 

Definition at line 243 of file libcsm.h.


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 14:28:29 2003 for LibCSM by doxygen 1.3.1