|
Squid Web Cache master
|
#include <Pointer.h>
Public Member Functions | |
| Pointer (Object< Class > *const anObject=nullptr) | |
| Class * | operator-> () const |
| Class & | operator* () const |
| const Class * | getRaw () const |
| Class * | getRaw () |
| operator bool () const | |
| bool | operator! () const |
| bool | operator== (const RefCount &p) const |
| bool | operator== (const Other *const p) const |
| bool | operator!= (const RefCount &p) const |
| bool | operator!= (const Other *const p) const |
Static Public Member Functions | |
| static auto | Make (Args &&... args) |
Private Types | |
| typedef RefCount< Object< Class > > | Base |
Private Member Functions | |
| void | dereference (Object< Class > const *newP=nullptr) |
| void | reference (const RefCount &p) |
Private Attributes | |
| Object< Class > const * | p_ |
uses a refcounted pointer to Object<Class> as a parent, but translates its API to return raw Class pointers
|
private |
|
inlineexplicit |
|
inlineprivateinherited |
Definition at line 112 of file RefCount.h.
|
inline |
Definition at line 93 of file Pointer.h.
References RefCount< Object< Class > >::getRaw().
|
inline |
Definition at line 92 of file Pointer.h.
References RefCount< Object< Class > >::getRaw().
creates a new C object using given C constructor arguments (if any)
Definition at line 34 of file RefCount.h.
Definition at line 78 of file RefCount.h.
Definition at line 80 of file RefCount.h.
|
inlineinherited |
Definition at line 106 of file RefCount.h.
|
inlineinherited |
Definition at line 95 of file RefCount.h.
|
inline |
Definition at line 91 of file Pointer.h.
References RefCount< Object< Class > >::operator*().
|
inline |
Definition at line 90 of file Pointer.h.
References RefCount< Object< Class > >::operator->().
Definition at line 100 of file RefCount.h.
|
inlineinherited |
Definition at line 91 of file RefCount.h.
|
inlineprivateinherited |
Definition at line 124 of file RefCount.h.
Definition at line 129 of file RefCount.h.