|
LMMS
|
#include <smartpointer.h>
Public Member Functions | |
| IPtr (I *ptr, bool addRef=true) | |
| IPtr (const IPtr &) | |
| template<class T> | |
| IPtr (const IPtr< T > &other) | |
| IPtr () | |
| ~IPtr () | |
| I * | operator= (I *ptr) |
| IPtr & | operator= (const IPtr &other) |
| template<class T> | |
| IPtr & | operator= (const IPtr< T > &other) |
| operator I* () const | |
| I * | operator-> () const |
| I * | get () const |
| void | reset (I *obj=nullptr) |
| I * | take () SMTG_NOEXCEPT |
Static Public Member Functions | |
| template<typename T> | |
| static IPtr< T > | adopt (T *obj) SMTG_NOEXCEPT |
Protected Attributes | |
| I * | ptr |
IPtr - Smart pointer template class.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |