![]() |
#include <countedref.h>
Public Types | |
Name template arguments | |
| typedef PtrType | ptr_type |
| typedef CountedRefPtr< CountedRefIndirectPtr< ptr_type > * > | ptrptr_type |
Public Member Functions | |
| CountedRefWeakPtr () | |
| Construct unassigned weak reference. More... | |
| CountedRefWeakPtr (ptr_type ptr) | |
| Convert from pointer. More... | |
| CountedRefWeakPtr (const self &rhs) | |
| Construct copy. More... | |
| ~CountedRefWeakPtr () | |
| Unlink one reference (handled by CountedRefPtr) More... | |
| void | invalidate () |
| Mark weak reference as invalid. More... | |
| bool | unassigned () const |
| Test whether reference was never used. More... | |
| operator bool () const | |
| Pointer-style interface. More... | |
| self & | operator= (const self &rhs) |
| Pointer-style interface. More... | |
| self & | operator= (ptr_type ptr) |
| Pointer-style interface. More... | |
| bool | operator== (ptr_type ptr) const |
| Pointer-style interface. More... | |
| bool | operator!= (ptr_type rhs) const |
| Pointer-style interface. More... | |
| const ptr_type | operator-> () const |
| Pointer-style interface. More... | |
| ptr_type | operator-> () |
| Pointer-style interface. More... | |
Private Types | |
| typedef CountedRefWeakPtr | self |
Private Attributes | |
| ptrptr_type | m_indirect |
Definition at line 134 of file countedref.h.
| typedef PtrType CountedRefWeakPtr< PtrType >::ptr_type |
Definition at line 161 of file countedref.h.
| typedef CountedRefPtr<CountedRefIndirectPtr<ptr_type>*> CountedRefWeakPtr< PtrType >::ptrptr_type |
Definition at line 162 of file countedref.h.
|
private |
Definition at line 155 of file countedref.h.
|
inline |
|
inline |
|
inline |
|
inline |
Unlink one reference (handled by CountedRefPtr)
Definition at line 175 of file countedref.h.
|
inline |
|
inline |
Pointer-style interface.
Definition at line 184 of file countedref.h.
|
inline |
Pointer-style interface.
Definition at line 199 of file countedref.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 204 of file countedref.h.