Agora Server Gateway SDK C++ API Reference
Public Member Functions | List of all members
agora::util::CopyableAutoPtr< T > Class Template Reference

#include <AgoraBase.h>

Public Member Functions

 CopyableAutoPtr (pointer_type p=0)
 
 CopyableAutoPtr (const CopyableAutoPtr &rhs)
 
CopyableAutoPtroperator= (const CopyableAutoPtr &rhs)
 
pointer_type clone () const
 
- Public Member Functions inherited from agora::util::AutoPtr< T >
 AutoPtr (pointer_type p=NULL)
 
 ~AutoPtr ()
 
 operator bool () const
 
value_typeoperator* () const
 
pointer_type operator-> () const
 
pointer_type get () const
 
pointer_type release ()
 
void reset (pointer_type ptr=NULL)
 
template<class C1 , class C2 >
bool queryInterface (C1 *c, C2 iid)
 

Additional Inherited Members

- Protected Types inherited from agora::util::AutoPtr< T >
typedef T value_type
 
typedef T * pointer_type
 

Constructor & Destructor Documentation

◆ CopyableAutoPtr() [1/2]

template<class T >
agora::util::CopyableAutoPtr< T >::CopyableAutoPtr ( pointer_type  p = 0)
inlineexplicit

◆ CopyableAutoPtr() [2/2]

template<class T >
agora::util::CopyableAutoPtr< T >::CopyableAutoPtr ( const CopyableAutoPtr< T > &  rhs)
inlineexplicit

Member Function Documentation

◆ clone()

template<class T >
pointer_type agora::util::CopyableAutoPtr< T >::clone ( ) const
inline

◆ operator=()

template<class T >
CopyableAutoPtr & agora::util::CopyableAutoPtr< T >::operator= ( const CopyableAutoPtr< T > &  rhs)
inline

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