SourceForge.net Logo
Public Member Functions | List of all members
AutoDelete< TYPE > Class Template Reference

#include <XPath2MemoryManager.hpp>

Public Member Functions

 AutoDelete (TYPE *p)
 
 ~AutoDelete ()
 
TYPE & operator* () const
 
TYPE * operator-> () const
 
 operator TYPE * () const
 
TYPE * get () const
 
TYPE * adopt ()
 
TYPE * swap (TYPE *p)
 
void set (TYPE *p)
 

Detailed Description

template<class TYPE>
class AutoDelete< TYPE >

Examples:
simple-basic.cpp, and simple-context-item.cpp.

Constructor & Destructor Documentation

template<class TYPE>
AutoDelete< TYPE >::AutoDelete ( TYPE *  p)
inline
template<class TYPE>
AutoDelete< TYPE >::~AutoDelete ( )
inline

Member Function Documentation

template<class TYPE>
TYPE* AutoDelete< TYPE >::adopt ( )
inline
template<class TYPE>
TYPE* AutoDelete< TYPE >::get ( ) const
inline
template<class TYPE>
AutoDelete< TYPE >::operator TYPE * ( ) const
inline
template<class TYPE>
TYPE& AutoDelete< TYPE >::operator* ( ) const
inline
template<class TYPE>
TYPE* AutoDelete< TYPE >::operator-> ( ) const
inline
template<class TYPE>
void AutoDelete< TYPE >::set ( TYPE *  p)
inline
template<class TYPE>
TYPE* AutoDelete< TYPE >::swap ( TYPE *  p)
inline

The documentation for this class was generated from the following file: