Scoped smart pointer. More...
Public Types | |
typedef T | Type |
Public Member Functions | |
ScopedPtr (T *p=0) | |
~ScopedPtr () | |
T & | operator* () const |
T * | operator-> () const |
T * | get () const |
operator bool () const | |
void | reset (T *p=0) |
Private Member Functions | |
ScopedPtr (const ScopedPtr &) | |
ScopedPtr & | operator= (const ScopedPtr &) |
void | operator== (const ScopedPtr &) const |
void | operator!= (const ScopedPtr &) const |
Private Attributes | |
T * | m_ptr |
Scoped smart pointer.
Definition at line 75 of file context.cpp.
Definition at line 85 of file context.cpp.
Definition at line 86 of file context.cpp.
Definition at line 87 of file context.cpp.
|
inline |
Definition at line 90 of file context.cpp.
Definition at line 91 of file context.cpp.
|
inline |
Definition at line 88 of file context.cpp.
|
inline |
Definition at line 89 of file context.cpp.
|
inline |
Definition at line 92 of file context.cpp.
|
private |
Definition at line 78 of file context.cpp.