#include <autoptr.h>
Inheritance diagram for AutoPtr< _Tp >:
Public Types | |
typedef _Tp | element_type |
Public Member Functions | |
AutoPtr (_Tp *__p=0) | |
AutoPtr (AutoPtr &__a) | |
template<class _Tp1> | |
AutoPtr (AutoPtr< _Tp1 > &__a) | |
AutoPtr & | operator= (AutoPtr &__a) |
template<class _Tp1> | |
AutoPtr & | operator= (AutoPtr< _Tp1 > &__a) |
~AutoPtr () | |
_Tp & | operator * () const |
_Tp * | operator-> () const |
_Tp * | get () const |
_Tp * | release () |
void | reset (_Tp *__p=0) |
AutoPtr (AutoPtrRef< _Tp > __ref) | |
AutoPtr & | operator= (AutoPtrRef< _Tp > __ref) |
template<class _Tp1> | |
operator AutoPtrRef () | |
template<class _Tp1> | |
operator AutoPtr () | |
Private Attributes | |
_Tp * | _M_ptr |
Definition at line 54 of file autoptr.h.
typedef _Tp AutoPtr< _Tp >::element_type |
AutoPtr< _Tp >::AutoPtr | ( | AutoPtrRef< _Tp > | __ref | ) | [inline] |
_Tp& AutoPtr< _Tp >::operator * | ( | ) | const [inline] |
_Tp* AutoPtr< _Tp >::operator-> | ( | ) | const [inline] |
_Tp* AutoPtr< _Tp >::get | ( | ) | const [inline] |
Definition at line 90 of file autoptr.h.
Referenced by OmExpand::build_tree(), Stats::create_weight_internal(), DEFINE_TESTCASE(), OmExpand::expand(), Xapian::Enquire::Internal::get_eset(), Xapian::Database::spellings_begin(), Xapian::Database::synonym_keys_begin(), Xapian::Database::synonyms_begin(), and test_autoptr1().
_Tp* AutoPtr< _Tp >::release | ( | ) | [inline] |
Definition at line 93 of file autoptr.h.
Referenced by OmExpand::build_tree(), Stats::create_weight_internal(), QUnserial::decode(), RemoteDatabase::open_allterms(), QuartzPostList::open_position_list(), QuartzWritableDatabase::open_position_list(), QuartzDatabase::open_position_list(), FlintDatabase::open_position_list(), RemoteDatabase::open_term_list(), AutoPtr< Bcursor >::operator AutoPtr(), AutoPtr< Bcursor >::operator AutoPtrRef(), AutoPtr< Bcursor >::operator=(), LocalSubMatch::postlist_from_op_leaf_query(), Xapian::Database::spellings_begin(), Xapian::Database::synonym_keys_begin(), and Xapian::Database::synonyms_begin().
void AutoPtr< _Tp >::reset | ( | _Tp * | __p = 0 |
) | [inline] |
AutoPtr& AutoPtr< _Tp >::operator= | ( | AutoPtrRef< _Tp > | __ref | ) | [inline] |
Definition at line 56 of file autoptr.h.
Referenced by AutoPtr< Bcursor >::get(), AutoPtr< Bcursor >::operator *(), AutoPtr< Bcursor >::operator->(), AutoPtr< Bcursor >::operator=(), AutoPtr< Bcursor >::release(), AutoPtr< Bcursor >::reset(), and AutoPtr< Bcursor >::~AutoPtr().