JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::ObjCObjectHandle< T > Class Template Reference

#include <juce_mac_ObjCHelpers.h>

Collaboration diagram for juce::ObjCObjectHandle< T >:

Public Member Functions

 ObjCObjectHandle ()=default
 
 ObjCObjectHandle (const ObjCObjectHandle &other)
 
 ObjCObjectHandle (ObjCObjectHandle &&other) noexcept
 
 ObjCObjectHandle (T ptr)
 
 ~ObjCObjectHandle () noexcept
 
get () const
 
bool operator!= (const ObjCObjectHandle &other) const
 
ObjCObjectHandleoperator= (const ObjCObjectHandle &other)
 
ObjCObjectHandleoperator= (ObjCObjectHandle &&other) noexcept
 
bool operator== (const ObjCObjectHandle &other) const
 
void reset ()
 
void reset (T ptr)
 

Private Member Functions

void swap (ObjCObjectHandle &other) noexcept
 

Private Attributes

item {}
 

Constructor & Destructor Documentation

◆ ObjCObjectHandle() [1/4]

template<typename T >
juce::ObjCObjectHandle< T >::ObjCObjectHandle ( )
default

◆ ObjCObjectHandle() [2/4]

template<typename T >
juce::ObjCObjectHandle< T >::ObjCObjectHandle ( ptr)
inlineexplicit

◆ ~ObjCObjectHandle()

template<typename T >
juce::ObjCObjectHandle< T >::~ObjCObjectHandle ( )
inlinenoexcept

◆ ObjCObjectHandle() [3/4]

template<typename T >
juce::ObjCObjectHandle< T >::ObjCObjectHandle ( const ObjCObjectHandle< T > &  other)
inline

◆ ObjCObjectHandle() [4/4]

template<typename T >
juce::ObjCObjectHandle< T >::ObjCObjectHandle ( ObjCObjectHandle< T > &&  other)
inlinenoexcept

Member Function Documentation

◆ get()

template<typename T >
T juce::ObjCObjectHandle< T >::get ( ) const
inline

◆ operator!=()

template<typename T >
bool juce::ObjCObjectHandle< T >::operator!= ( const ObjCObjectHandle< T > &  other) const
inline

◆ operator=() [1/2]

template<typename T >
ObjCObjectHandle& juce::ObjCObjectHandle< T >::operator= ( const ObjCObjectHandle< T > &  other)
inline

◆ operator=() [2/2]

template<typename T >
ObjCObjectHandle& juce::ObjCObjectHandle< T >::operator= ( ObjCObjectHandle< T > &&  other)
inlinenoexcept

◆ operator==()

template<typename T >
bool juce::ObjCObjectHandle< T >::operator== ( const ObjCObjectHandle< T > &  other) const
inline

◆ reset() [1/2]

◆ reset() [2/2]

template<typename T >
void juce::ObjCObjectHandle< T >::reset ( ptr)
inline

◆ swap()

template<typename T >
void juce::ObjCObjectHandle< T >::swap ( ObjCObjectHandle< T > &  other)
inlineprivatenoexcept

Member Data Documentation

◆ item


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