clan::ComPtr< Type > Class Template Reference

ComPtr. More...

#include <comptr.h>

Public Member Functions

 ComPtr ()
 
 ComPtr (const ComPtr &copy)
 
template<typename That >
 ComPtr (const ComPtr< That > &that)
 
 ComPtr (Type *ptr)
 
 ~ComPtr ()
 
void clear ()
 
Type * get () const
 
bool is_null () const
 
 operator bool () const
 
 operator Type * () const
 
bool operator!= (const ComPtr &other) const
 
Type * operator-> ()
 
Type *const operator-> () const
 
bool operator< (const ComPtr &other) const
 
bool operator<= (const ComPtr &other) const
 
ComPtroperator= (const ComPtr &copy)
 
bool operator== (const ComPtr &other) const
 
bool operator> (const ComPtr &other) const
 
bool operator>= (const ComPtr &other) const
 
Type ** output_variable ()
 

Public Attributes

Type * ptr
 

Detailed Description

template<typename Type>
class clan::ComPtr< Type >

ComPtr.

Constructor & Destructor Documentation

◆ ComPtr() [1/4]

template<typename Type >
clan::ComPtr< Type >::ComPtr ( )
inline

◆ ComPtr() [2/4]

template<typename Type >
clan::ComPtr< Type >::ComPtr ( Type *  ptr)
inlineexplicit

◆ ComPtr() [3/4]

template<typename Type >
clan::ComPtr< Type >::ComPtr ( const ComPtr< Type > &  copy)
inline

◆ ~ComPtr()

template<typename Type >
clan::ComPtr< Type >::~ComPtr ( )
inline

◆ ComPtr() [4/4]

template<typename Type >
template<typename That >
clan::ComPtr< Type >::ComPtr ( const ComPtr< That > &  that)
inlineexplicit

Member Function Documentation

◆ clear()

template<typename Type >
void clan::ComPtr< Type >::clear ( )
inline

◆ get()

template<typename Type >
Type* clan::ComPtr< Type >::get ( ) const
inline

◆ is_null()

template<typename Type >
bool clan::ComPtr< Type >::is_null ( ) const
inline

◆ operator bool()

template<typename Type >
clan::ComPtr< Type >::operator bool ( ) const
inline

◆ operator Type *()

template<typename Type >
clan::ComPtr< Type >::operator Type * ( ) const
inline

◆ operator!=()

template<typename Type >
bool clan::ComPtr< Type >::operator!= ( const ComPtr< Type > &  other) const
inline

◆ operator->() [1/2]

template<typename Type >
Type* clan::ComPtr< Type >::operator-> ( )
inline

◆ operator->() [2/2]

template<typename Type >
Type* const clan::ComPtr< Type >::operator-> ( ) const
inline

◆ operator<()

template<typename Type >
bool clan::ComPtr< Type >::operator< ( const ComPtr< Type > &  other) const
inline

◆ operator<=()

template<typename Type >
bool clan::ComPtr< Type >::operator<= ( const ComPtr< Type > &  other) const
inline

◆ operator=()

template<typename Type >
ComPtr& clan::ComPtr< Type >::operator= ( const ComPtr< Type > &  copy)
inline

◆ operator==()

template<typename Type >
bool clan::ComPtr< Type >::operator== ( const ComPtr< Type > &  other) const
inline

◆ operator>()

template<typename Type >
bool clan::ComPtr< Type >::operator> ( const ComPtr< Type > &  other) const
inline

◆ operator>=()

template<typename Type >
bool clan::ComPtr< Type >::operator>= ( const ComPtr< Type > &  other) const
inline

◆ output_variable()

template<typename Type >
Type** clan::ComPtr< Type >::output_variable ( )
inline

Member Data Documentation

◆ ptr


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