xyzzy::PTAutoPtr< T > Class Template Reference

#include <autoptr.hxx>

List of all members.

Public Member Functions

 PTAutoPtr (T *p, bool owns=true)
 PTAutoPtr (const PTAutoPtr< T > &r)
const PTAutoPtroperator= (const PTAutoPtr &r)
T * get () const
T * operator-> ()
T & operator * () const
 ~PTAutoPtr ()

Private Member Functions

void init (const PTAutoPtr &r)
void destroy ()

Private Attributes

T * m_p
bool m_owns

template<class T>
class xyzzy::PTAutoPtr< T >


Constructor & Destructor Documentation

template<class T>
xyzzy::PTAutoPtr< T >::PTAutoPtr ( T *  p,
bool  owns = true 
) [inline, explicit]

template<class T>
xyzzy::PTAutoPtr< T >::PTAutoPtr ( const PTAutoPtr< T > &  r  )  [inline]

template<class T>
xyzzy::PTAutoPtr< T >::~PTAutoPtr (  )  [inline]


Member Function Documentation

template<class T>
const PTAutoPtr& xyzzy::PTAutoPtr< T >::operator= ( const PTAutoPtr< T > &  r  )  [inline]

template<class T>
T* xyzzy::PTAutoPtr< T >::get (  )  const [inline]

template<class T>
T* xyzzy::PTAutoPtr< T >::operator-> (  )  [inline]

template<class T>
T& xyzzy::PTAutoPtr< T >::operator * (  )  const [inline]

template<class T>
void xyzzy::PTAutoPtr< T >::init ( const PTAutoPtr< T > &  r  )  [inline, private]

template<class T>
void xyzzy::PTAutoPtr< T >::destroy (  )  [inline, private]


Member Data Documentation

template<class T>
T* xyzzy::PTAutoPtr< T >::m_p [private]

template<class T>
bool xyzzy::PTAutoPtr< T >::m_owns [private]


The documentation for this class was generated from the following file:
Generated on Thu Mar 22 13:51:08 2007 for anvil by  doxygen 1.5.1