webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Attributes | List of all members
rtc::scoped_refptr< T > Class Template Reference

#include <scoped_ref_ptr.h>

Public Member Functions

 scoped_refptr ()
 
 scoped_refptr (T *p)
 
 scoped_refptr (const scoped_refptr< T > &r)
 
template<typename U >
 scoped_refptr (const scoped_refptr< U > &r)
 
 scoped_refptr (scoped_refptr< T > &&r)
 
template<typename U >
 scoped_refptr (scoped_refptr< U > &&r)
 
 ~scoped_refptr ()
 
Tget () const
 
 operator T* () const
 
Toperator-> () const
 
Trelease ()
 
scoped_refptr< T > & operator= (T *p)
 
scoped_refptr< T > & operator= (const scoped_refptr< T > &r)
 
template<typename U >
scoped_refptr< T > & operator= (const scoped_refptr< U > &r)
 
scoped_refptr< T > & operator= (scoped_refptr< T > &&r)
 
template<typename U >
scoped_refptr< T > & operator= (scoped_refptr< U > &&r)
 
void swap (T **pp)
 
void swap (scoped_refptr< T > &r)
 
 scoped_refptr ()
 
 scoped_refptr (T *p)
 
 scoped_refptr (const scoped_refptr< T > &r)
 
template<typename U >
 scoped_refptr (const scoped_refptr< U > &r)
 
 scoped_refptr (scoped_refptr< T > &&r)
 
template<typename U >
 scoped_refptr (scoped_refptr< U > &&r)
 
 ~scoped_refptr ()
 
Tget () const
 
 operator T* () const
 
Toperator-> () const
 
Trelease ()
 
scoped_refptr< T > & operator= (T *p)
 
scoped_refptr< T > & operator= (const scoped_refptr< T > &r)
 
template<typename U >
scoped_refptr< T > & operator= (const scoped_refptr< U > &r)
 
scoped_refptr< T > & operator= (scoped_refptr< T > &&r)
 
template<typename U >
scoped_refptr< T > & operator= (scoped_refptr< U > &&r)
 
void swap (T **pp)
 
void swap (scoped_refptr< T > &r)
 

Protected Attributes

Tptr_
 

Constructor & Destructor Documentation

◆ scoped_refptr() [1/12]

template<class T>
rtc::scoped_refptr< T >::scoped_refptr ( )
inline

◆ scoped_refptr() [2/12]

template<class T>
rtc::scoped_refptr< T >::scoped_refptr ( T p)
inline

◆ scoped_refptr() [3/12]

template<class T>
rtc::scoped_refptr< T >::scoped_refptr ( const scoped_refptr< T > &  r)
inline

◆ scoped_refptr() [4/12]

template<class T>
template<typename U >
rtc::scoped_refptr< T >::scoped_refptr ( const scoped_refptr< U > &  r)
inline

◆ scoped_refptr() [5/12]

template<class T>
rtc::scoped_refptr< T >::scoped_refptr ( scoped_refptr< T > &&  r)
inline

◆ scoped_refptr() [6/12]

template<class T>
template<typename U >
rtc::scoped_refptr< T >::scoped_refptr ( scoped_refptr< U > &&  r)
inline

◆ ~scoped_refptr() [1/2]

template<class T>
rtc::scoped_refptr< T >::~scoped_refptr ( )
inline

◆ scoped_refptr() [7/12]

template<class T>
rtc::scoped_refptr< T >::scoped_refptr ( )
inline

◆ scoped_refptr() [8/12]

template<class T>
rtc::scoped_refptr< T >::scoped_refptr ( T p)
inline

◆ scoped_refptr() [9/12]

template<class T>
rtc::scoped_refptr< T >::scoped_refptr ( const scoped_refptr< T > &  r)
inline

◆ scoped_refptr() [10/12]

template<class T>
template<typename U >
rtc::scoped_refptr< T >::scoped_refptr ( const scoped_refptr< U > &  r)
inline

◆ scoped_refptr() [11/12]

template<class T>
rtc::scoped_refptr< T >::scoped_refptr ( scoped_refptr< T > &&  r)
inline

◆ scoped_refptr() [12/12]

template<class T>
template<typename U >
rtc::scoped_refptr< T >::scoped_refptr ( scoped_refptr< U > &&  r)
inline

◆ ~scoped_refptr() [2/2]

template<class T>
rtc::scoped_refptr< T >::~scoped_refptr ( )
inline

Member Function Documentation

◆ get() [1/2]

template<class T>
T* rtc::scoped_refptr< T >::get ( ) const
inline

◆ get() [2/2]

template<class T>
T* rtc::scoped_refptr< T >::get ( ) const
inline

◆ operator T*() [1/2]

template<class T>
rtc::scoped_refptr< T >::operator T* ( ) const
inline

◆ operator T*() [2/2]

template<class T>
rtc::scoped_refptr< T >::operator T* ( ) const
inline

◆ operator->() [1/2]

template<class T>
T* rtc::scoped_refptr< T >::operator-> ( ) const
inline

◆ operator->() [2/2]

template<class T>
T* rtc::scoped_refptr< T >::operator-> ( ) const
inline

◆ operator=() [1/10]

template<class T>
scoped_refptr<T>& rtc::scoped_refptr< T >::operator= ( T p)
inline

◆ operator=() [2/10]

template<class T>
scoped_refptr<T>& rtc::scoped_refptr< T >::operator= ( T p)
inline

◆ operator=() [3/10]

template<class T>
scoped_refptr<T>& rtc::scoped_refptr< T >::operator= ( const scoped_refptr< T > &  r)
inline

◆ operator=() [4/10]

template<class T>
scoped_refptr<T>& rtc::scoped_refptr< T >::operator= ( const scoped_refptr< T > &  r)
inline

◆ operator=() [5/10]

template<class T>
template<typename U >
scoped_refptr<T>& rtc::scoped_refptr< T >::operator= ( const scoped_refptr< U > &  r)
inline

◆ operator=() [6/10]

template<class T>
template<typename U >
scoped_refptr<T>& rtc::scoped_refptr< T >::operator= ( const scoped_refptr< U > &  r)
inline

◆ operator=() [7/10]

template<class T>
scoped_refptr<T>& rtc::scoped_refptr< T >::operator= ( scoped_refptr< T > &&  r)
inline

◆ operator=() [8/10]

template<class T>
scoped_refptr<T>& rtc::scoped_refptr< T >::operator= ( scoped_refptr< T > &&  r)
inline

◆ operator=() [9/10]

template<class T>
template<typename U >
scoped_refptr<T>& rtc::scoped_refptr< T >::operator= ( scoped_refptr< U > &&  r)
inline

◆ operator=() [10/10]

template<class T>
template<typename U >
scoped_refptr<T>& rtc::scoped_refptr< T >::operator= ( scoped_refptr< U > &&  r)
inline

◆ release() [1/2]

template<class T>
T* rtc::scoped_refptr< T >::release ( )
inline

◆ release() [2/2]

template<class T>
T* rtc::scoped_refptr< T >::release ( )
inline

◆ swap() [1/4]

template<class T>
void rtc::scoped_refptr< T >::swap ( T **  pp)
inline

◆ swap() [2/4]

template<class T>
void rtc::scoped_refptr< T >::swap ( T **  pp)
inline

◆ swap() [3/4]

template<class T>
void rtc::scoped_refptr< T >::swap ( scoped_refptr< T > &  r)
inline

◆ swap() [4/4]

template<class T>
void rtc::scoped_refptr< T >::swap ( scoped_refptr< T > &  r)
inline

Member Data Documentation

◆ ptr_

template<class T>
T * rtc::scoped_refptr< T >::ptr_
protected

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