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

ACE_Auto_Basic_Ptr Class Template Reference

Implements the draft C++ standard auto_ptr abstraction. This class allows one to work on non-object (basic) types. More...

#include <Auto_Ptr.h>

Inheritance diagram for ACE_Auto_Basic_Ptr

Inheritance graph
[legend]
List of all members.

Public Methods

ACE_EXPLICIT ACE_Auto_Basic_Ptr (X *p = 0)
 ACE_Auto_Basic_Ptr (ACE_Auto_Basic_Ptr<X> &ap)
ACE_Auto_Basic_Ptr<X>& operator= (ACE_Auto_Basic_Ptr<X> &rhs)
 ~ACE_Auto_Basic_Ptr (void)
X& operator * () const
X* get (void) const
X* release (void)
void reset (X *p = 0)
void dump (void) const
 Dump the state of an object.


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.


Protected Attributes

X* p_

Detailed Description

template<class X> template class ACE_Auto_Basic_Ptr

Implements the draft C++ standard auto_ptr abstraction. This class allows one to work on non-object (basic) types.


Constructor & Destructor Documentation

template<classX>
ACE_EXPLICIT ACE_Auto_Basic_Ptr<X>::ACE_Auto_Basic_Ptr<X> ( X * p = 0 ) [inline]
 

template<classX>
ACE_INLINE ACE_Auto_Basic_Ptr< X >::ACE_Auto_Basic_Ptr<X> ( ACE_Auto_Basic_Ptr< X >& rhs )
 

template<classX>
ACE_INLINE ACE_Auto_Basic_Ptr< X >::~ACE_Auto_Basic_Ptr<X> ( void )
 


Member Function Documentation

template<classX>
void ACE_Auto_Basic_Ptr<X>::dump ( void ) const
 

Dump the state of an object.

template<classX>
ACE_INLINE X * ACE_Auto_Basic_Ptr< X >::get ( void ) const
 

template<classX>
ACE_INLINE X & ACE_Auto_Basic_Ptr< X >::operator * ( ) const
 

template<classX>
ACE_INLINE ACE_Auto_Basic_Ptr< X >& ACE_Auto_Basic_Ptr< X >::operator= ( ACE_Auto_Basic_Ptr< X >& rhs )
 

template<classX>
ACE_INLINE X * ACE_Auto_Basic_Ptr< X >::release ( void )
 

template<classX>
ACE_INLINE void ACE_Auto_Basic_Ptr< X >::reset ( X * p = 0 )
 


Member Data Documentation

template<classX>
ACE_Auto_Basic_Ptr<X>::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

template<classX>
X * ACE_Auto_Basic_Ptr<X>::p_ [protected]
 


The documentation for this class was generated from the following files:
Generated at Fri Oct 5 07:01:21 2001 for ACE by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000