Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | List of all members
agora::util::CopyableAutoPtr< T > Class Template Reference

`#include <AgoraBase.h>`

Inherits agora::util::AutoPtr< T >.

## Public Member Functions
| CopyableAutoPtr (pointer_type p=0)
| CopyableAutoPtr (const CopyableAutoPtr &rhs)
CopyableAutoPtr & | operator= (const CopyableAutoPtr &rhs)
pointer_type | clone () const
Public Member Functions inherited from agora::util::AutoPtr< T >
| AutoPtr (pointer_type p=OPTIONAL_NULLPTR)
| ~AutoPtr ()
| operator bool () const
value_type & | operator* () const
pointer_type | operator-> () const
pointer_type | get () const
pointer_type | release ()
void | reset (pointer_type ptr=OPTIONAL_NULLPTR)
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 | ) |
| inline

## Member Function Documentation

## ◆ operator=()

template<class T>

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

## ◆ clone()

template<class T>

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