Agora RTC Objective-C API Reference Refactor

CopyableAutoPtr< T > Class Template Reference

Inherits AutoPtr< T >.

## Member Typedef Documentation

## ◆ pointer_type

typedef AutoPtr<T>::pointer_type pointer_type
| private

## ◆ value_type

typedef T value_type
| protectedinherited

## Constructor & Destructor Documentation

## ◆ CopyableAutoPtr() [1/2]

CopyableAutoPtr | ( | pointer_type | p = `0` | ) |
| inlineexplicit

## ◆ CopyableAutoPtr() [2/2]

CopyableAutoPtr | ( | const CopyableAutoPtr< T > & | rhs | ) |
| inline

## Member Function Documentation

## ◆ operator=()

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

## ◆ clone()

pointer_type clone | ( |  | ) | const
| inline

## ◆ operator bool()

operator bool | ( |  | ) | const
| inlineinherited

## ◆ operator*()

value_type& operator* | ( |  | ) | const
| inlineinherited

## ◆ operator->()

pointer_type operator-> | ( |  | ) | const
| inlineinherited

## ◆ get()

pointer_type get | ( |  | ) | const
| inlineinherited

## ◆ release()

pointer_type release | ( |  | ) |
| inlineinherited

## ◆ reset()

void reset | ( | pointer_type | ptr = `NULL` | ) |
| inlineinherited

## ◆ queryInterface()

bool queryInterface | ( | C1 * | c,
|  | C2 | iid
| ) |  |
| inlineinherited

## Field Documentation

## ◆ ptr_

pointer_type ptr_
| privateinherited