#include <kscopedptr.h>
Definition at line 88 of file kscopedptr.h.
Public Member Functions |
|
KScopedPtr (T *p=0) | |
~KScopedPtr () | |
void | Reset (T *p=0) |
T & | operator* () const |
T * | operator-> () const |
T * | Get () const |
operator T * () const | |
operator bool () const | |
bool | operator! () const |
void | Swap (KScopedPtr &b) |
T * | Release () |
KScopedPtr | ( | T * | p = 0 |
) | [inline, explicit] |
Definition at line 102 of file kscopedptr.h.
~KScopedPtr | ( | ) | [inline] |
Definition at line 105 of file kscopedptr.h.
void Reset | ( | T * | p = 0 |
) | [inline] |
Definition at line 111 of file kscopedptr.h.
T& operator* | ( | ) | const [inline] |
Definition at line 118 of file kscopedptr.h.
T* operator-> | ( | ) | const [inline] |
Definition at line 125 of file kscopedptr.h.
T* Get | ( | ) | const [inline] |
Definition at line 132 of file kscopedptr.h.
operator T * | ( | ) | const [inline] |
Definition at line 137 of file kscopedptr.h.
operator bool | ( | ) | const [inline] |
Definition at line 144 of file kscopedptr.h.
bool operator! | ( | ) | const [inline] |
Definition at line 150 of file kscopedptr.h.
void Swap | ( | KScopedPtr< T, DeletionPolicyT > & | b | ) | [inline] |
Definition at line 156 of file kscopedptr.h.
T* Release | ( | ) | [inline] |
Definition at line 164 of file kscopedptr.h.