ComSmartPtr< ObjectType > Class Template Reference

Public Member Functions

 ComSmartPtr () noexcept
 
 ComSmartPtr (ObjectType *object, bool autoAddRef=true) noexcept
 
 ComSmartPtr (const ComSmartPtr &other) noexcept
 
 ~ComSmartPtr ()
 
 operator ObjectType * () const noexcept
 
ObjectType * get () const noexcept
 
ObjectType & operator* () const noexcept
 
ObjectType * operator-> () const noexcept
 
ComSmartPtroperator= (const ComSmartPtr &other)
 
ComSmartPtroperator= (ObjectType *const newObjectToTakePossessionOf)
 
bool operator== (ObjectType *const other) noexcept
 
bool operator!= (ObjectType *const other) noexcept
 
bool loadFrom (Steinberg::FUnknown *o)
 
bool loadFrom (Steinberg::IPluginFactory *factory, const Steinberg::TUID &uuid)
 

Constructor & Destructor Documentation

◆ ComSmartPtr() [1/3]

template<class ObjectType >
ComSmartPtr< ObjectType >::ComSmartPtr ( )
noexcept

◆ ComSmartPtr() [2/3]

template<class ObjectType >
ComSmartPtr< ObjectType >::ComSmartPtr ( ObjectType *  object,
bool  autoAddRef = true 
)
noexcept

◆ ComSmartPtr() [3/3]

template<class ObjectType >
ComSmartPtr< ObjectType >::ComSmartPtr ( const ComSmartPtr< ObjectType > &  other)
noexcept

◆ ~ComSmartPtr()

template<class ObjectType >
ComSmartPtr< ObjectType >::~ComSmartPtr ( )

Member Function Documentation

◆ operator ObjectType *()

template<class ObjectType >
ComSmartPtr< ObjectType >::operator ObjectType * ( ) const
noexcept

◆ get()

template<class ObjectType >
ObjectType* ComSmartPtr< ObjectType >::get ( ) const
noexcept

◆ operator*()

template<class ObjectType >
ObjectType& ComSmartPtr< ObjectType >::operator* ( ) const
noexcept

◆ operator->()

template<class ObjectType >
ObjectType* ComSmartPtr< ObjectType >::operator-> ( ) const
noexcept

◆ operator=() [1/2]

template<class ObjectType >
ComSmartPtr& ComSmartPtr< ObjectType >::operator= ( const ComSmartPtr< ObjectType > &  other)

◆ operator=() [2/2]

template<class ObjectType >
ComSmartPtr& ComSmartPtr< ObjectType >::operator= ( ObjectType *const  newObjectToTakePossessionOf)

◆ operator==()

template<class ObjectType >
bool ComSmartPtr< ObjectType >::operator== ( ObjectType *const  other)
noexcept

◆ operator!=()

template<class ObjectType >
bool ComSmartPtr< ObjectType >::operator!= ( ObjectType *const  other)
noexcept

◆ loadFrom() [1/2]

template<class ObjectType >
bool ComSmartPtr< ObjectType >::loadFrom ( Steinberg::FUnknown *  o)

◆ loadFrom() [2/2]

template<class ObjectType >
bool ComSmartPtr< ObjectType >::loadFrom ( Steinberg::IPluginFactory *  factory,
const Steinberg::TUID &  uuid 
)

References jassert.


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