Reference counting smart pointer. More...
Public Types | |
typedef T | Type |
Public Member Functions | |
SharedPtr (T *p=0) | |
~SharedPtr () | |
T & | operator* () const |
T * | operator-> () const |
T * | get () const |
operator bool () const | |
void | reset (T *p=0) |
Private Member Functions | |
SharedPtr (const SharedPtr &) | |
SharedPtr & | operator= (const SharedPtr &p) |
void | operator== (const SharedPtr &) const |
void | operator!= (const SharedPtr &) const |
Private Attributes | |
T * | m_ptr |
Reference counting smart pointer.
Definition at line 96 of file context.cpp.
Definition at line 106 of file context.cpp.
Definition at line 107 of file context.cpp.
Definition at line 108 of file context.cpp.
|
inline |
Definition at line 111 of file context.cpp.
Definition at line 112 of file context.cpp.
|
inline |
Definition at line 109 of file context.cpp.
|
inline |
Definition at line 110 of file context.cpp.
|
inline |
Definition at line 113 of file context.cpp.
|
private |
Definition at line 99 of file context.cpp.