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`
| ) |  |
| inline noexcept

## ◆ SharedPointer() [2/7]

SharedPointer | ( | const SharedPointer< I > & |  | ) |
| inline noexcept

## ◆ SharedPointer() [3/7]

SharedPointer
| inline noexcept

## ◆ ~SharedPointer()

~SharedPointer
| inline noexcept

## ◆ SharedPointer() [4/7]

SharedPointer | ( | SharedPointer< I > && | mp | ) |
| inline noexcept

## ◆ SharedPointer() [5/7]

SharedPointer | ( | const SharedPointer< T > & | op | ) |
| inline noexcept

## ◆ SharedPointer() [6/7]

SharedPointer | ( | SharedPointer< T > && | op | ) |
| inline noexcept

## ◆ SharedPointer() [7/7]

SharedPointer | ( | const SharedPointer< I > & | other | ) |
| inline noexcept

## Member Function Documentation

## ◆ cast()

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

## ◆ get()

I * get | ( |  | ) | const
| inline noexcept

## ◆ operator I*()

operator I* | ( |  | ) | const
| inline noexcept

## ◆ operator->()

I * operator-> | ( |  | ) | const
| inline noexcept

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

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

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

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

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

I * operator= | ( | I * | ptr | ) |
| inline noexcept

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

SharedPointer< I > & operator= | ( | SharedPointer< I > && | mp | ) |
| inline noexcept

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

SharedPointer & operator= | ( | SharedPointer< T > && | op | ) |
| inline noexcept

## 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