Public Types | |
typedef _Ty | element_type |
Public Methods | |
hp_auto_ptr (_Ty *P=0) | |
hp_auto_ptr (const hp_auto_ptr< _Ty > &_Y) | |
hp_auto_ptr< _Ty > & | operator= (const hp_auto_ptr< _Ty > &_Y) |
~hp_auto_ptr () | |
_Ty & | operator * () const |
_Ty * | operator-> () const |
_Ty * | get () const |
_Ty * | release () const |
Private Attributes | |
bool | _Owns |
_Ty * | _Ptr |
|
Definition at line 15 of file f77auto_ptr. |
|
Definition at line 16 of file f77auto_ptr. References freddy77::hp_auto_ptr< _Ty >::_Owns, and freddy77::hp_auto_ptr< _Ty >::_Ptr.
|
|
Definition at line 18 of file f77auto_ptr. References freddy77::hp_auto_ptr< _Ty >::_Owns, freddy77::hp_auto_ptr< _Ty >::_Ptr, and freddy77::hp_auto_ptr< _Ty >::release().
|
|
Definition at line 30 of file f77auto_ptr. References freddy77::hp_auto_ptr< _Ty >::_Ptr.
00031 {if (_Owns) 00032 delete _Ptr; } |
|
Definition at line 37 of file f77auto_ptr. Referenced by freddy77::hp_auto_ptr< _Ty >::operator *(), freddy77::hp_auto_ptr< _Ty >::operator->(), and freddy77::hp_auto_ptr< _Ty >::operator=().
00038 {return (_Ptr); } |
|
Definition at line 33 of file f77auto_ptr. References freddy77::hp_auto_ptr< _Ty >::get().
00034 {return (*get()); } |
|
Definition at line 35 of file f77auto_ptr. References freddy77::hp_auto_ptr< _Ty >::get().
00036 {return (get()); } |
|
Definition at line 20 of file f77auto_ptr. References freddy77::hp_auto_ptr< _Ty >::_Owns, freddy77::hp_auto_ptr< _Ty >::_Ptr, freddy77::hp_auto_ptr< _Ty >::get(), and freddy77::hp_auto_ptr< _Ty >::release().
|
|
Definition at line 39 of file f77auto_ptr. References freddy77::hp_auto_ptr< _Ty >::_Owns. Referenced by freddy77::hp_auto_ptr< _Ty >::hp_auto_ptr(), and freddy77::hp_auto_ptr< _Ty >::operator=().
00040 { this->_Owns = false; 00041 return (_Ptr); } |
|
Definition at line 43 of file f77auto_ptr. Referenced by freddy77::hp_auto_ptr< _Ty >::hp_auto_ptr(), freddy77::hp_auto_ptr< _Ty >::operator=(), and freddy77::hp_auto_ptr< _Ty >::release(). |
|
Definition at line 44 of file f77auto_ptr. Referenced by freddy77::hp_auto_ptr< _Ty >::hp_auto_ptr(), freddy77::hp_auto_ptr< _Ty >::operator=(), and freddy77::hp_auto_ptr< _Ty >::~hp_auto_ptr(). |