xapian-core
1.4.26
|
A smart pointer that optionally uses intrusive reference counting. More...
#include <intrusive_ptr.h>
Public Member Functions | |
opt_intrusive_ptr () | |
opt_intrusive_ptr (T *p) | |
template<class U > | |
opt_intrusive_ptr (opt_intrusive_ptr< U > const &rhs) | |
opt_intrusive_ptr (opt_intrusive_ptr const &rhs) | |
~opt_intrusive_ptr () | |
opt_intrusive_ptr & | operator= (opt_intrusive_ptr const &rhs) |
opt_intrusive_ptr & | operator= (T *rhs) |
T * | get () const |
T & | operator* () const |
T * | operator-> () const |
void | swap (opt_intrusive_ptr &rhs) |
Private Types | |
typedef opt_intrusive_ptr | this_type |
Private Attributes | |
T * | px |
bool | counting |
A smart pointer that optionally uses intrusive reference counting.
Definition at line 273 of file intrusive_ptr.h.
|
private |
Definition at line 277 of file intrusive_ptr.h.
|
inline |
Definition at line 281 of file intrusive_ptr.h.
|
inline |
Definition at line 285 of file intrusive_ptr.h.
|
inline |
Definition at line 291 of file intrusive_ptr.h.
|
inline |
Definition at line 297 of file intrusive_ptr.h.
|
inline |
Definition at line 303 of file intrusive_ptr.h.
|
inline |
Definition at line 352 of file intrusive_ptr.h.
Referenced by ExternalPostList::at_end(), ExternalPostList::check(), ExternalPostList::get_description(), ExternalPostList::get_maxweight(), ExternalPostList::get_termfreq_est(), ExternalPostList::get_termfreq_max(), ExternalPostList::get_termfreq_min(), ExternalPostList::get_weight(), ExternalPostList::next(), Xapian::Internal::operator!=(), Xapian::Internal::operator==(), ExternalPostList::skip_to(), test_movesupport1(), and ExternalPostList::update_after_advance().
|
inline |
Definition at line 357 of file intrusive_ptr.h.
|
inline |
Definition at line 362 of file intrusive_ptr.h.
|
inline |
Definition at line 340 of file intrusive_ptr.h.
|
inline |
Definition at line 346 of file intrusive_ptr.h.
|
inline |
Definition at line 367 of file intrusive_ptr.h.
Referenced by Xapian::Internal::opt_intrusive_ptr< Xapian::PostingSource >::operator=().
|
private |
Definition at line 381 of file intrusive_ptr.h.
Referenced by Xapian::Internal::opt_intrusive_ptr< Xapian::PostingSource >::swap().
|
private |
Definition at line 379 of file intrusive_ptr.h.
Referenced by Xapian::Internal::opt_intrusive_ptr< Xapian::PostingSource >::swap().