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

#include <weak_ptr.h>

Inheritance diagram for rtc::WeakPtr< T >:
rtc::internal::WeakPtrBase rtc::internal::WeakPtrBase

Public Member Functions

 WeakPtr ()
 
template<typename U >
 WeakPtr (const WeakPtr< U > &other)
 
template<typename U >
 WeakPtr (WeakPtr< U > &&other)
 
Tget () const
 
Toperator* () const
 
Toperator-> () const
 
void reset ()
 
 operator bool () const
 
 WeakPtr ()
 
template<typename U >
 WeakPtr (const WeakPtr< U > &other)
 
template<typename U >
 WeakPtr (WeakPtr< U > &&other)
 
Tget () const
 
Toperator* () const
 
Toperator-> () const
 
void reset ()
 
 operator bool () const
 
- Public Member Functions inherited from rtc::internal::WeakPtrBase
 WeakPtrBase ()
 
 ~WeakPtrBase ()
 
 WeakPtrBase (const WeakPtrBase &other)=default
 
 WeakPtrBase (WeakPtrBase &&other)=default
 
WeakPtrBaseoperator= (const WeakPtrBase &other)=default
 
WeakPtrBaseoperator= (WeakPtrBase &&other)=default
 
 WeakPtrBase ()
 
 ~WeakPtrBase ()
 
 WeakPtrBase (const WeakPtrBase &other)=default
 
 WeakPtrBase (WeakPtrBase &&other)=default
 
WeakPtrBaseoperator= (const WeakPtrBase &other)=default
 
WeakPtrBaseoperator= (WeakPtrBase &&other)=default
 

Friends

template<typename U >
class WeakPtr
 
class WeakPtrFactory< T >
 

Additional Inherited Members

- Protected Member Functions inherited from rtc::internal::WeakPtrBase
 WeakPtrBase (const WeakReference &ref)
 
 WeakPtrBase (const WeakReference &ref)
 
- Protected Attributes inherited from rtc::internal::WeakPtrBase
WeakReference ref_
 

Constructor & Destructor Documentation

◆ WeakPtr() [1/6]

template<typename U >
WeakPtr ( )
inline

◆ WeakPtr() [2/6]

template<typename T>
template<typename U >
rtc::WeakPtr< T >::WeakPtr ( const WeakPtr< U > &  other)
inline

◆ WeakPtr() [3/6]

template<typename T>
template<typename U >
rtc::WeakPtr< T >::WeakPtr ( WeakPtr< U > &&  other)
inline

◆ WeakPtr() [4/6]

template<typename T>
rtc::WeakPtr< T >::WeakPtr ( )
inline

◆ WeakPtr() [5/6]

template<typename T>
template<typename U >
rtc::WeakPtr< T >::WeakPtr ( const WeakPtr< U > &  other)
inline

◆ WeakPtr() [6/6]

template<typename T>
template<typename U >
rtc::WeakPtr< T >::WeakPtr ( WeakPtr< U > &&  other)
inline

Member Function Documentation

◆ get() [1/2]

template<typename T>
T* rtc::WeakPtr< T >::get ( ) const
inline

◆ get() [2/2]

template<typename T>
T* rtc::WeakPtr< T >::get ( ) const
inline

◆ operator bool() [1/2]

template<typename T>
rtc::WeakPtr< T >::operator bool ( ) const
inlineexplicit

◆ operator bool() [2/2]

template<typename T>
rtc::WeakPtr< T >::operator bool ( ) const
inlineexplicit

◆ operator*() [1/2]

template<typename T>
T& rtc::WeakPtr< T >::operator* ( ) const
inline

◆ operator*() [2/2]

template<typename T>
T& rtc::WeakPtr< T >::operator* ( ) const
inline

◆ operator->() [1/2]

template<typename T>
T* rtc::WeakPtr< T >::operator-> ( ) const
inline

◆ operator->() [2/2]

template<typename T>
T* rtc::WeakPtr< T >::operator-> ( ) const
inline

◆ reset() [1/2]

template<typename T>
void rtc::WeakPtr< T >::reset ( )
inline

◆ reset() [2/2]

template<typename T>
void rtc::WeakPtr< T >::reset ( )
inline

Friends And Related Function Documentation

◆ WeakPtr

template<typename T>
template<typename U >
friend class WeakPtr
friend

◆ WeakPtrFactory< T >

template<typename T>
friend class WeakPtrFactory< T >
friend

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