|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
IPtr - Smart pointer template class. More...
#include "smartpointer.h"
Public Member Functions | |
| IPtr (I *ptr, bool addRef=true) | |
| IPtr (const IPtr &) | |
| template<class T > | |
| IPtr (const IPtr< T > &other) | |
| 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.
Definition at line 43 of file smartpointer.h.
| Steinberg::IPtr< I >::IPtr | ( | I * | ptr, |
| bool | addRef = true |
||
| ) |
Definition at line 126 of file smartpointer.h.
| Steinberg::IPtr< I >::IPtr | ( | const IPtr< I > & | other | ) |
Definition at line 134 of file smartpointer.h.
Definition at line 51 of file smartpointer.h.
| Steinberg::IPtr< I >::IPtr | ( | ) |
Definition at line 142 of file smartpointer.h.
| Steinberg::IPtr< I >::~IPtr | ( | ) |
Definition at line 148 of file smartpointer.h.
|
static |
Definition at line 117 of file smartpointer.h.
| I * Steinberg::IPtr< I >::get | ( | ) | const |
Definition at line 74 of file smartpointer.h.
| Steinberg::IPtr< I >::operator I* | ( | ) | const |
Definition at line 71 of file smartpointer.h.
| I * Steinberg::IPtr< I >::operator-> | ( | ) | const |
Definition at line 72 of file smartpointer.h.
| IPtr< I > & Steinberg::IPtr< I >::operator= | ( | const IPtr< I > & | other | ) |
Definition at line 174 of file smartpointer.h.
| IPtr & Steinberg::IPtr< I >::operator= | ( | const IPtr< T > & | other | ) |
Definition at line 65 of file smartpointer.h.
| I * Steinberg::IPtr< I >::operator= | ( | I * | ptr | ) |
Definition at line 159 of file smartpointer.h.
| void Steinberg::IPtr< I >::reset | ( | I * | obj = nullptr | ) |
Definition at line 102 of file smartpointer.h.
| I * Steinberg::IPtr< I >::take | ( | ) |
Definition at line 109 of file smartpointer.h.
|
protected |
Definition at line 121 of file smartpointer.h.