ACE 6.0.5
|
Implements the draft C++ standard auto_ptr abstraction. This class allows one to work on non-object (basic) types. More...
#include <Auto_Ptr.h>
Public Types | |
typedef X | element_type |
Public Member Functions | |
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_ |
Implements the draft C++ standard auto_ptr abstraction. This class allows one to work on non-object (basic) types.
typedef X ACE_Auto_Basic_Ptr< X >::element_type |
Reimplemented in auto_ptr< X >, ACE_Auto_Ptr< X >, and ACE_Auto_Ptr< ACE_CString >.
ACE_Auto_Basic_Ptr< X >::ACE_Auto_Basic_Ptr | ( | X * | p = 0 | ) | [inline, explicit] |
ACE_Auto_Basic_Ptr< X >::ACE_Auto_Basic_Ptr | ( | ACE_Auto_Basic_Ptr< X > & | ap | ) | [inline] |
ACE_Auto_Basic_Ptr< X >::~ACE_Auto_Basic_Ptr | ( | void | ) | [inline] |
void ACE_Auto_Basic_Ptr< X >::dump | ( | void | ) | const [inline] |
Dump the state of an object.
X * ACE_Auto_Basic_Ptr< X >::get | ( | void | ) | const [inline] |
X & ACE_Auto_Basic_Ptr< X >::operator* | ( | ) | const [inline] |
ACE_Auto_Basic_Ptr< X > & ACE_Auto_Basic_Ptr< X >::operator= | ( | ACE_Auto_Basic_Ptr< X > & | rhs | ) | [inline] |
X * ACE_Auto_Basic_Ptr< X >::release | ( | void | ) | [inline] |
void ACE_Auto_Basic_Ptr< X >::reset | ( | X * | p = 0 | ) | [inline] |
ACE_Auto_Basic_Ptr< X >::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
X* ACE_Auto_Basic_Ptr< X >::p_ [protected] |