Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

freddy77::auto_delete_ptr< _Ty > Class Template Reference

List of all members.

Public Types

typedef _Ty element_type

Public Methods

 auto_delete_ptr (_Ty *P=0)
auto_delete_ptr< _Ty > & operator= (_Ty *P)
 ~auto_delete_ptr ()
_Ty & operator * () const
_Ty * operator-> () const
_Ty * get () const
_Ty * release ()

Private Methods

 auto_delete_ptr (const auto_delete_ptr< _Ty > &_Y)
auto_delete_ptr< _Ty > & operator= (const auto_delete_ptr< _Ty > &_Y)

Private Attributes

_Ty * _Ptr

template<class _Ty>
class freddy77::auto_delete_ptr< _Ty >


Member Typedef Documentation

template<class _Ty>
typedef _Ty freddy77::auto_delete_ptr< _Ty >::element_type
 

Definition at line 52 of file f77auto_ptr.


Constructor & Destructor Documentation

template<class _Ty>
freddy77::auto_delete_ptr< _Ty >::auto_delete_ptr _Ty *    P = 0 [inline, explicit]
 

Definition at line 53 of file f77auto_ptr.

References freddy77::auto_delete_ptr< _Ty >::_Ptr.

00054                 : _Ptr(P) {}

template<class _Ty>
freddy77::auto_delete_ptr< _Ty >::~auto_delete_ptr   [inline]
 

Definition at line 57 of file f77auto_ptr.

References freddy77::auto_delete_ptr< _Ty >::_Ptr.

00058                 { delete _Ptr; }

template<class _Ty>
freddy77::auto_delete_ptr< _Ty >::auto_delete_ptr const auto_delete_ptr< _Ty > &    _Y [private]
 


Member Function Documentation

template<class _Ty>
_Ty* freddy77::auto_delete_ptr< _Ty >::get   const [inline]
 

Definition at line 63 of file f77auto_ptr.

Referenced by freddy77::auto_delete_ptr< _Ty >::operator *(), freddy77::auto_delete_ptr< _Ty >::operator->(), and WriteIcons().

00064                 { return (_Ptr); }

template<class _Ty>
_Ty& freddy77::auto_delete_ptr< _Ty >::operator *   const [inline]
 

Definition at line 59 of file f77auto_ptr.

References freddy77::auto_delete_ptr< _Ty >::get().

00060                 { return (*get()); }

template<class _Ty>
_Ty* freddy77::auto_delete_ptr< _Ty >::operator->   const [inline]
 

Definition at line 61 of file f77auto_ptr.

References freddy77::auto_delete_ptr< _Ty >::get().

00062                 { return (get()); }

template<class _Ty>
auto_delete_ptr<_Ty>& freddy77::auto_delete_ptr< _Ty >::operator= const auto_delete_ptr< _Ty > &    _Y [private]
 

template<class _Ty>
auto_delete_ptr<_Ty>& freddy77::auto_delete_ptr< _Ty >::operator= _Ty *    P [inline]
 

Definition at line 55 of file f77auto_ptr.

References freddy77::auto_delete_ptr< _Ty >::_Ptr.

00056                 { delete _Ptr; _Ptr = P; return *this; }

template<class _Ty>
_Ty* freddy77::auto_delete_ptr< _Ty >::release   [inline]
 

Definition at line 65 of file f77auto_ptr.

References freddy77::auto_delete_ptr< _Ty >::_Ptr.

00066                 { _Ty* tmp = _Ptr; _Ptr = 0; return tmp; }


Member Data Documentation

template<class _Ty>
_Ty* freddy77::auto_delete_ptr< _Ty >::_Ptr [private]
 

Definition at line 68 of file f77auto_ptr.

Referenced by freddy77::auto_delete_ptr< _Ty >::auto_delete_ptr(), freddy77::auto_delete_ptr< _Ty >::operator=(), freddy77::auto_delete_ptr< _Ty >::release(), and freddy77::auto_delete_ptr< _Ty >::~auto_delete_ptr().


The documentation for this class was generated from the following file:
Generated on Mon Jan 13 22:20:37 2003 for perdr by doxygen1.2.15