Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

smartPtrBase< T > Class Template Reference

#include <smart.h>

Inheritance diagram for smartPtrBase< T >:

Inheritance graph
[legend]
Collaboration diagram for smartPtrBase< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 smartPtrBase (T *pBuffer, udword bufferLen)
 smartPtrBase (udword bufferLen)
virtual ~smartPtrBase ()
T * tellBegin ()
udword tellLength ()
udword tellPos ()
bool reset (T element)
bool good ()
bool fail ()
void operator++ ()
void operator++ (int)
void operator-- ()
void operator-- (int)
void operator+= (udword offset)
void operator-= (udword offset)
operator * ()
T & operator[] (udword index)
 operator bool ()

Protected Attributes

T * pBufBegin
T * pBufEnd
T * pBufCurrent
udword bufLen
bool status
bool doFree
dummy

template<class T>
class smartPtrBase< T >


Constructor & Destructor Documentation

template<class T>
smartPtrBase< T >::smartPtrBase T *  pBuffer,
udword  bufferLen
[inline]
 

Definition at line 21 of file smart.h.

template<class T>
smartPtrBase< T >::smartPtrBase udword  bufferLen  )  [inline]
 

Definition at line 39 of file smart.h.

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

Definition at line 64 of file smart.h.


Member Function Documentation

template<class T>
bool smartPtrBase< T >::fail  )  [inline]
 

Definition at line 99 of file smart.h.

Referenced by smartPtrBase< TP >::operator++().

template<class T>
bool smartPtrBase< T >::good  )  [inline]
 

Definition at line 91 of file smart.h.

Referenced by smartPtrBase< TP >::operator *().

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

Definition at line 179 of file smart.h.

template<class T>
smartPtrBase< T >::operator bool  )  [inline]
 

Definition at line 208 of file smart.h.

template<class T>
void smartPtrBase< T >::operator++ int   )  [inline]
 

Definition at line 119 of file smart.h.

template<class T>
void smartPtrBase< T >::operator++  )  [inline]
 

Definition at line 107 of file smart.h.

template<class T>
void smartPtrBase< T >::operator+= udword  offset  )  [inline]
 

Definition at line 155 of file smart.h.

template<class T>
void smartPtrBase< T >::operator-- int   )  [inline]
 

Definition at line 143 of file smart.h.

template<class T>
void smartPtrBase< T >::operator--  )  [inline]
 

Definition at line 131 of file smart.h.

template<class T>
void smartPtrBase< T >::operator-= udword  offset  )  [inline]
 

Definition at line 167 of file smart.h.

template<class T>
T& smartPtrBase< T >::operator[] udword  index  )  [inline]
 

Definition at line 192 of file smart.h.

template<class T>
bool smartPtrBase< T >::reset element  )  [inline]
 

Definition at line 78 of file smart.h.

template<class T>
T* smartPtrBase< T >::tellBegin  )  [inline]
 

Definition at line 74 of file smart.h.

template<class T>
udword smartPtrBase< T >::tellLength  )  [inline]
 

Definition at line 75 of file smart.h.

template<class T>
udword smartPtrBase< T >::tellPos  )  [inline]
 

Definition at line 76 of file smart.h.


Member Data Documentation

template<class T>
udword smartPtrBase< T >::bufLen [protected]
 

Definition at line 215 of file smart.h.

Referenced by smartPtrBase< TP >::reset(), smartPtrBase< TP >::smartPtrBase(), and smartPtrBase< TP >::tellLength().

template<class T>
bool smartPtrBase< T >::doFree [protected]
 

Definition at line 217 of file smart.h.

Referenced by smartPtrBase< TP >::smartPtrBase(), and smartPtrBase< TP >::~smartPtrBase().

template<class T>
T smartPtrBase< T >::dummy [protected]
 

Definition at line 218 of file smart.h.

Referenced by smartPtrBase< TP >::operator *(), and smartPtrBase< TP >::operator[]().

template<class T>
T* smartPtrBase< T >::pBufBegin [protected]
 

Definition at line 212 of file smart.h.

Referenced by smartPtrBase< TP >::operator--(), smartPtrBase< TP >::operator-=(), smartPtrBase< TP >::reset(), smartPtrBase< TP >::smartPtrBase(), smartPtrBase< TP >::tellBegin(), smartPtrBase< TP >::tellPos(), and smartPtrBase< TP >::~smartPtrBase().

template<class T>
T* smartPtrBase< T >::pBufCurrent [protected]
 

Definition at line 214 of file smart.h.

Referenced by smartPtrBase< TP >::fail(), smartPtrBase< TP >::good(), smartPtrBase< TP >::operator *(), smartPtrBase< TP >::operator++(), smartPtrBase< TP >::operator+=(), smartPtrBase< TP >::operator--(), smartPtrBase< TP >::operator-=(), smartPtrBase< TP >::operator[](), smartPtrBase< TP >::reset(), smartPtrBase< TP >::smartPtrBase(), and smartPtrBase< TP >::tellPos().

template<class T>
T* smartPtrBase< T >::pBufEnd [protected]
 

Definition at line 213 of file smart.h.

Referenced by smartPtrBase< TP >::fail(), smartPtrBase< TP >::good(), smartPtrBase< TP >::operator+=(), smartPtrBase< TP >::operator[](), and smartPtrBase< TP >::smartPtrBase().

template<class T>
bool smartPtrBase< T >::status [protected]
 

Definition at line 216 of file smart.h.

Referenced by smartPtrBase< TP >::operator *(), smartPtrBase< TP >::operator bool(), smartPtrBase< TP >::operator++(), smartPtrBase< TP >::operator+=(), smartPtrBase< TP >::operator--(), smartPtrBase< TP >::operator-=(), smartPtrBase< TP >::operator[](), smartPtrBase< TP >::reset(), and smartPtrBase< TP >::smartPtrBase().


The documentation for this class was generated from the following file:
Generated on Tue Feb 8 04:35:44 2005 for Esidplay by doxygen 1.3.3