JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::WinRTWrapper::ComPtr< ComClass > Class Template Reference

#include <juce_win32_WinRTWrapper.h>

Collaboration diagram for juce::WinRTWrapper::ComPtr< ComClass >:

Public Member Functions

 ComPtr () noexcept
 
 ComPtr (ComClass *obj)
 
 ComPtr (const ComPtr &other)
 
 ~ComPtr ()
 
 operator ComClass * () const noexcept
 
ComClassoperator* () const noexcept
 
ComClassoperator-> () const noexcept
 
ComPtroperator= (ComClass *const newP)
 
ComPtroperator= (const ComPtr &newP)
 
ComClass ** resetAndGetPointerAddress ()
 

Private Member Functions

ComClass ** operator & () noexcept
 
void release ()
 

Private Attributes

ComClassp = nullptr
 

Constructor & Destructor Documentation

◆ ComPtr() [1/3]

template<class ComClass>
juce::WinRTWrapper::ComPtr< ComClass >::ComPtr ( )
inlinenoexcept

◆ ComPtr() [2/3]

template<class ComClass>
juce::WinRTWrapper::ComPtr< ComClass >::ComPtr ( ComClass obj)
inline

◆ ComPtr() [3/3]

template<class ComClass>
juce::WinRTWrapper::ComPtr< ComClass >::ComPtr ( const ComPtr< ComClass > &  other)
inline

◆ ~ComPtr()

template<class ComClass>
juce::WinRTWrapper::ComPtr< ComClass >::~ComPtr ( )
inline

Member Function Documentation

◆ operator &()

template<class ComClass>
ComClass** juce::WinRTWrapper::ComPtr< ComClass >::operator& ( )
privatenoexcept

◆ operator ComClass *()

template<class ComClass>
juce::WinRTWrapper::ComPtr< ComClass >::operator ComClass * ( ) const
inlinenoexcept

◆ operator*()

template<class ComClass>
ComClass& juce::WinRTWrapper::ComPtr< ComClass >::operator* ( ) const
inlinenoexcept

◆ operator->()

template<class ComClass>
ComClass* juce::WinRTWrapper::ComPtr< ComClass >::operator-> ( ) const
inlinenoexcept

◆ operator=() [1/2]

template<class ComClass>
ComPtr& juce::WinRTWrapper::ComPtr< ComClass >::operator= ( ComClass *const  newP)
inline

◆ operator=() [2/2]

template<class ComClass>
ComPtr& juce::WinRTWrapper::ComPtr< ComClass >::operator= ( const ComPtr< ComClass > &  newP)
inline

◆ release()

◆ resetAndGetPointerAddress()

template<class ComClass>
ComClass** juce::WinRTWrapper::ComPtr< ComClass >::resetAndGetPointerAddress ( )
inline

Member Data Documentation

◆ p

template<class ComClass>
ComClass* juce::WinRTWrapper::ComPtr< ComClass >::p = nullptr
private

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