VSTGUI: SharedPointer< I > Class Template Reference

VSTGUI 4.10 Graphical User Interface Framework not only for VST plugins

Public Member Functions | Protected Attributes | Friends | List of all members
SharedPointer< I > Class Template Reference

`#include <vstguibase.h>`

Inheritance diagram for SharedPointer< I >:

## Public Member Functions
| SharedPointer (I *ptr, bool remember=true) noexcept
| SharedPointer (const SharedPointer &) noexcept
| SharedPointer () noexcept
| ~SharedPointer () noexcept
I * | operator= (I *ptr) noexcept
SharedPointer< I > & | operator= (const SharedPointer< I > &) noexcept
| operator I* () const noexcept
I * | operator-> () const noexcept
I * | get () const noexcept
template<class T >
T * | cast () const
| SharedPointer (SharedPointer< I > &&mp) noexcept
SharedPointer< I > & | operator= (SharedPointer< I > &&mp) noexcept
template<typename T >
| SharedPointer (const SharedPointer< T > &op) noexcept
template<typename T >
SharedPointer & | operator= (const SharedPointer< T > &op) noexcept
template<typename T >
| SharedPointer (SharedPointer< T > &&op) noexcept
template<typename T >
SharedPointer & | operator= (SharedPointer< T > &&op) noexcept
template<class I >
| SharedPointer (const SharedPointer< I > &other) noexcept

## Protected Attributes
I * | ptr {nullptr}

## Friends
template<typename T >
class | SharedPointer

## Constructor & Destructor Documentation

## ◆ SharedPointer() [1/7]

SharedPointer | ( | I * | ptr,
|  | bool | remember = `true`
| ) |  |
| inlinenoexcept

## ◆ SharedPointer() [2/7]

SharedPointer | ( | const SharedPointer< I > & |  | ) |
| inlinenoexcept

## ◆ SharedPointer() [3/7]

SharedPointer
| inlinenoexcept

## ◆ ~SharedPointer()

~SharedPointer
| inlinenoexcept

## ◆ SharedPointer() [4/7]

SharedPointer | ( | SharedPointer< I > && | mp | ) |
| inlinenoexcept

## ◆ SharedPointer() [5/7]

SharedPointer | ( | const SharedPointer< T > & | op | ) |
| inlinenoexcept

## ◆ SharedPointer() [6/7]

SharedPointer | ( | SharedPointer< T > && | op | ) |
| inlinenoexcept

## ◆ SharedPointer() [7/7]

SharedPointer | ( | const SharedPointer< I > & | other | ) |
| inlinenoexcept

## Member Function Documentation

## ◆ cast()

T * cast | ( |  | ) | const
| inline

## ◆ get()

I * get | ( |  | ) | const
| inlinenoexcept

## ◆ operator I*()

operator I* | ( |  | ) | const
| inlinenoexcept

## ◆ operator->()

I * operator-> | ( |  | ) | const
| inlinenoexcept

## ◆ operator=() [1/5]

SharedPointer< I > & operator= | ( | const SharedPointer< I > & | _ptr | ) |
| inlinenoexcept

## ◆ operator=() [2/5]

SharedPointer & operator= | ( | const SharedPointer< T > & | op | ) |
| inlinenoexcept

## ◆ operator=() [3/5]

I * operator= | ( | I * | ptr | ) |
| inlinenoexcept

## ◆ operator=() [4/5]

SharedPointer< I > & operator= | ( | SharedPointer< I > && | mp | ) |
| inlinenoexcept

## ◆ operator=() [5/5]

SharedPointer & operator= | ( | SharedPointer< T > && | op | ) |
| inlinenoexcept

## Friends And Related Function Documentation

## ◆ SharedPointer

friend class SharedPointer
| friend

## Member Data Documentation

## ◆ ptr

I* ptr {nullptr}
| protected

The documentation for this class was generated from the following file:

- vstguibase.h