|
xapian-core
2.0.0
|
A smart pointer that uses intrusive reference counting. More...
#include <intrusive_ptr.h>
Inheritance diagram for Xapian::Internal::intrusive_ptr< T >:Public Member Functions | |
| intrusive_ptr () | |
| intrusive_ptr (T *p) | |
| template<class U > | |
| intrusive_ptr (intrusive_ptr< U > const &rhs) | |
| intrusive_ptr (intrusive_ptr const &rhs) | |
| ~intrusive_ptr () | |
| intrusive_ptr (intrusive_ptr &&rhs) | |
| intrusive_ptr & | operator= (intrusive_ptr &&rhs) |
| template<class U > | |
| intrusive_ptr (intrusive_ptr< U > &&rhs) | |
| template<class U > | |
| intrusive_ptr & | operator= (intrusive_ptr< U > &&rhs) |
| intrusive_ptr & | operator= (intrusive_ptr const &rhs) |
| intrusive_ptr & | operator= (T *rhs) |
| T * | get () const |
| T & | operator* () const |
| T * | operator-> () const |
| void | swap (intrusive_ptr &rhs) |
| operator bool () const | |
Private Types | |
| typedef intrusive_ptr | this_type |
Private Attributes | |
| T * | px |
Friends | |
| template<class U > | |
| class | intrusive_ptr |
A smart pointer that uses intrusive reference counting.
Definition at line 82 of file intrusive_ptr.h.
|
private |
Definition at line 86 of file intrusive_ptr.h.
|
inline |
Definition at line 90 of file intrusive_ptr.h.
|
inline |
Definition at line 94 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::px.
|
inline |
Definition at line 100 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::px.
|
inline |
Definition at line 106 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::px.
|
inline |
Definition at line 111 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::px.
|
inline |
Definition at line 116 of file intrusive_ptr.h.
|
inline |
Definition at line 130 of file intrusive_ptr.h.
|
inline |
Definition at line 154 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::px.
Referenced by GlassPostList::GlassPostList(), Xapian::Internal::operator!=(), Xapian::Internal::operator==(), and test_movesupport1().
|
inlineexplicit |
Definition at line 176 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::px.
|
inline |
Definition at line 159 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::px.
|
inline |
Definition at line 164 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::px.
|
inline |
Definition at line 121 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::swap().
|
inline |
Definition at line 142 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::swap().
|
inline |
Definition at line 136 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::swap().
|
inline |
Definition at line 148 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::swap().
|
inline |
Definition at line 169 of file intrusive_ptr.h.
References Xapian::Internal::intrusive_ptr< T >::px.
Referenced by Xapian::Internal::intrusive_ptr< T >::operator=().
Definition at line 127 of file intrusive_ptr.h.
|
private |
Definition at line 183 of file intrusive_ptr.h.
Referenced by Xapian::Internal::intrusive_ptr< T >::get(), Xapian::Internal::intrusive_ptr< T >::intrusive_ptr(), Xapian::Internal::intrusive_ptr< T >::operator bool(), Xapian::Internal::intrusive_ptr< T >::operator*(), Xapian::Internal::intrusive_ptr< T >::operator->(), Xapian::Internal::intrusive_ptr< T >::swap(), and Xapian::Internal::intrusive_ptr< T >::~intrusive_ptr().