Video SDK v3.7.1 API Reference for All Platforms (C++)
agora::util::AutoPtr< T > Class Template Reference

Public Member Functions

 AutoPtr (pointer_type p=0)
 
 ~AutoPtr ()
 
 operator bool () const
 
value_type & operator * () const
 
pointer_type operator-> () const
 
pointer_type get () const
 
pointer_type release ()
 
void reset (pointer_type ptr=0)
 
template<class C1 , class C2 >
bool queryInterface (C1 *c, C2 iid)
 

Constructor & Destructor Documentation

◆ AutoPtr()

template<class T>
agora::util::AutoPtr< T >::AutoPtr ( pointer_type  p = 0)
inline

◆ ~AutoPtr()

template<class T>
agora::util::AutoPtr< T >::~AutoPtr ( )
inline

Member Function Documentation

◆ operator bool()

template<class T>
agora::util::AutoPtr< T >::operator bool ( ) const
inline

◆ operator *()

template<class T>
value_type& agora::util::AutoPtr< T >::operator * ( ) const
inline

◆ operator->()

template<class T>
pointer_type agora::util::AutoPtr< T >::operator-> ( ) const
inline

◆ get()

template<class T>
pointer_type agora::util::AutoPtr< T >::get ( ) const
inline

◆ release()

template<class T>
pointer_type agora::util::AutoPtr< T >::release ( )
inline

◆ reset()

template<class T>
void agora::util::AutoPtr< T >::reset ( pointer_type  ptr = 0)
inline

◆ queryInterface()

template<class T>
template<class C1 , class C2 >
bool agora::util::AutoPtr< T >::queryInterface ( C1 *  c,
C2  iid 
)
inline