|
xapian-core
2.0.0
|
A smart pointer that optionally uses intrusive reference counting. More...
#include <intrusive_ptr.h>
Inheritance diagram for Xapian::Internal::opt_intrusive_ptr< T >: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 (opt_intrusive_ptr &&rhs) | |
| opt_intrusive_ptr & | operator= (opt_intrusive_ptr &&rhs) |
| template<class U > | |
| opt_intrusive_ptr (opt_intrusive_ptr< U > &&rhs) | |
| template<class U > | |
| opt_intrusive_ptr & | operator= (opt_intrusive_ptr< U > &&rhs) |
| 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) |
| operator bool () const | |
Private Types | |
| typedef opt_intrusive_ptr | this_type |
Private Attributes | |
| T * | px |
| bool | counting |
Friends | |
| template<class U > | |
| class | opt_intrusive_ptr |
A smart pointer that optionally uses intrusive reference counting.
Definition at line 414 of file intrusive_ptr.h.
|
private |
Definition at line 418 of file intrusive_ptr.h.
|
inline |
Definition at line 422 of file intrusive_ptr.h.
|
inline |
Definition at line 426 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::counting, and Xapian::Internal::opt_intrusive_ptr< T >::px.
|
inline |
Definition at line 432 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::counting, and Xapian::Internal::opt_intrusive_ptr< T >::px.
|
inline |
Definition at line 438 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::counting, and Xapian::Internal::opt_intrusive_ptr< T >::px.
|
inline |
Definition at line 444 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::counting, and Xapian::Internal::opt_intrusive_ptr< T >::px.
|
inline |
Definition at line 449 of file intrusive_ptr.h.
|
inline |
Definition at line 465 of file intrusive_ptr.h.
|
inline |
Definition at line 491 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::px.
Referenced by Xapian::Internal::operator!=(), Xapian::Internal::operator==(), and test_movesupport1().
|
inlineexplicit |
Definition at line 516 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::px.
|
inline |
Definition at line 496 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::px.
|
inline |
Definition at line 501 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::px.
|
inline |
Definition at line 456 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::swap().
|
inline |
Definition at line 479 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::swap().
|
inline |
Definition at line 473 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::swap().
|
inline |
Definition at line 485 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::swap().
|
inline |
Definition at line 506 of file intrusive_ptr.h.
References Xapian::Internal::opt_intrusive_ptr< T >::counting, and Xapian::Internal::opt_intrusive_ptr< T >::px.
Referenced by Xapian::Internal::opt_intrusive_ptr< T >::operator=().
Definition at line 462 of file intrusive_ptr.h.
|
private |
Definition at line 525 of file intrusive_ptr.h.
Referenced by Xapian::Internal::opt_intrusive_ptr< T >::opt_intrusive_ptr(), Xapian::Internal::opt_intrusive_ptr< T >::swap(), and Xapian::Internal::opt_intrusive_ptr< T >::~opt_intrusive_ptr().
|
private |
Definition at line 523 of file intrusive_ptr.h.
Referenced by Xapian::Internal::opt_intrusive_ptr< T >::get(), Xapian::Internal::opt_intrusive_ptr< T >::operator bool(), Xapian::Internal::opt_intrusive_ptr< T >::operator*(), Xapian::Internal::opt_intrusive_ptr< T >::operator->(), Xapian::Internal::opt_intrusive_ptr< T >::opt_intrusive_ptr(), Xapian::Internal::opt_intrusive_ptr< T >::swap(), and Xapian::Internal::opt_intrusive_ptr< T >::~opt_intrusive_ptr().