webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
WTF::RefPtr< T > Class Template Reference

#include <Forward.h>

Public Types

typedef T ValueType
 
typedef ValueTypePtrType
 
typedef T *RefPtr::* UnspecifiedBoolType
 
typedef T ValueType
 
typedef ValueTypePtrType
 
typedef T *RefPtr::* UnspecifiedBoolType
 
typedef T ValueType
 
typedef ValueTypePtrType
 
typedef T *RefPtr::* UnspecifiedBoolType
 

Public Member Functions

ALWAYS_INLINE RefPtr ()
 
ALWAYS_INLINE RefPtr (T *ptr)
 
ALWAYS_INLINE RefPtr (const RefPtr &o)
 
template<typename U >
 RefPtr (const RefPtr< U > &o)
 
ALWAYS_INLINE RefPtr (RefPtr &&o)
 
template<typename U >
 RefPtr (RefPtr< U > &&o)
 
template<typename U >
 RefPtr (const PassRefPtr< U > &)
 
template<typename U >
 RefPtr (Ref< U > &&)
 
 RefPtr (HashTableDeletedValueType)
 
bool isHashTableDeletedValue () const
 
ALWAYS_INLINE ~RefPtr ()
 
Tget () const
 
RefPtr< Trelease ()
 
Ref< TreleaseNonNull ()
 
Ref< const TreleaseConstNonNull ()
 
TleakRef () WARN_UNUSED_RETURN
 
Toperator* () const
 
ALWAYS_INLINE Toperator-> () const
 
bool operator! () const
 
 operator UnspecifiedBoolType () const
 
RefPtroperator= (const RefPtr &)
 
RefPtroperator= (T *)
 
RefPtroperator= (std::nullptr_t)
 
RefPtroperator= (const PassRefPtr< T > &)
 
template<typename U >
RefPtroperator= (const RefPtr< U > &)
 
template<typename U >
RefPtroperator= (const PassRefPtr< U > &)
 
RefPtroperator= (RefPtr &&)
 
template<typename U >
RefPtroperator= (RefPtr< U > &&)
 
template<typename U >
RefPtroperator= (Ref< U > &&)
 
void swap (RefPtr &)
 
RefPtr copyRef () const WARN_UNUSED_RETURN
 
ALWAYS_INLINE RefPtr ()
 
ALWAYS_INLINE RefPtr (T *ptr)
 
ALWAYS_INLINE RefPtr (const RefPtr &o)
 
template<typename U >
 RefPtr (const RefPtr< U > &o)
 
ALWAYS_INLINE RefPtr (RefPtr &&o)
 
template<typename U >
 RefPtr (RefPtr< U > &&o)
 
template<typename U >
 RefPtr (const PassRefPtr< U > &)
 
template<typename U >
 RefPtr (Ref< U > &&)
 
 RefPtr (HashTableDeletedValueType)
 
bool isHashTableDeletedValue () const
 
ALWAYS_INLINE ~RefPtr ()
 
Tget () const
 
RefPtr< Trelease ()
 
Ref< TreleaseNonNull ()
 
Ref< const TreleaseConstNonNull ()
 
TleakRef () WARN_UNUSED_RETURN
 
Toperator* () const
 
ALWAYS_INLINE Toperator-> () const
 
bool operator! () const
 
 operator UnspecifiedBoolType () const
 
RefPtroperator= (const RefPtr &)
 
RefPtroperator= (T *)
 
RefPtroperator= (std::nullptr_t)
 
RefPtroperator= (const PassRefPtr< T > &)
 
template<typename U >
RefPtroperator= (const RefPtr< U > &)
 
template<typename U >
RefPtroperator= (const PassRefPtr< U > &)
 
RefPtroperator= (RefPtr &&)
 
template<typename U >
RefPtroperator= (RefPtr< U > &&)
 
template<typename U >
RefPtroperator= (Ref< U > &&)
 
void swap (RefPtr &)
 
RefPtr copyRef () const WARN_UNUSED_RETURN
 
ALWAYS_INLINE RefPtr ()
 
ALWAYS_INLINE RefPtr (T *ptr)
 
ALWAYS_INLINE RefPtr (const RefPtr &o)
 
template<typename U >
 RefPtr (const RefPtr< U > &o)
 
ALWAYS_INLINE RefPtr (RefPtr &&o)
 
template<typename U >
 RefPtr (RefPtr< U > &&o)
 
template<typename U >
 RefPtr (const PassRefPtr< U > &)
 
template<typename U >
 RefPtr (Ref< U > &&)
 
 RefPtr (HashTableDeletedValueType)
 
bool isHashTableDeletedValue () const
 
ALWAYS_INLINE ~RefPtr ()
 
Tget () const
 
RefPtr< Trelease ()
 
Ref< TreleaseNonNull ()
 
Ref< const TreleaseConstNonNull ()
 
TleakRef () WARN_UNUSED_RETURN
 
Toperator* () const
 
ALWAYS_INLINE Toperator-> () const
 
bool operator! () const
 
 operator UnspecifiedBoolType () const
 
RefPtroperator= (const RefPtr &)
 
RefPtroperator= (T *)
 
RefPtroperator= (std::nullptr_t)
 
RefPtroperator= (const PassRefPtr< T > &)
 
template<typename U >
RefPtroperator= (const RefPtr< U > &)
 
template<typename U >
RefPtroperator= (const PassRefPtr< U > &)
 
RefPtroperator= (RefPtr &&)
 
template<typename U >
RefPtroperator= (RefPtr< U > &&)
 
template<typename U >
RefPtroperator= (Ref< U > &&)
 
void swap (RefPtr &)
 
RefPtr copyRef () const WARN_UNUSED_RETURN
 
template<typename U >
RefPtr< T > & operator= (const RefPtr< U > &o)
 
template<typename U >
RefPtr< T > & operator= (const PassRefPtr< U > &o)
 
template<typename U >
RefPtr< T > & operator= (RefPtr< U > &&o)
 
template<typename U >
RefPtr< T > & operator= (Ref< U > &&reference)
 

Static Public Member Functions

static ThashTableDeletedValue ()
 
static ThashTableDeletedValue ()
 
static ThashTableDeletedValue ()
 

Static Public Attributes

static constexpr bool isRefPtr = true
 

Friends

RefPtr adoptRef (T *)
 
RefPtr adoptRef (T *)
 
RefPtr adoptRef (T *)
 

Member Typedef Documentation

◆ PtrType [1/3]

template<typename T>
typedef ValueType* WTF::RefPtr< T >::PtrType

◆ PtrType [2/3]

template<typename T>
typedef ValueType* WTF::RefPtr< T >::PtrType

◆ PtrType [3/3]

template<typename T>
typedef ValueType* WTF::RefPtr< T >::PtrType

◆ UnspecifiedBoolType [1/3]

template<typename T>
typedef T*RefPtr::* WTF::RefPtr< T >::UnspecifiedBoolType

◆ UnspecifiedBoolType [2/3]

template<typename T>
typedef T*RefPtr::* WTF::RefPtr< T >::UnspecifiedBoolType

◆ UnspecifiedBoolType [3/3]

template<typename T>
typedef T*RefPtr::* WTF::RefPtr< T >::UnspecifiedBoolType

◆ ValueType [1/3]

template<typename T>
typedef T WTF::RefPtr< T >::ValueType

◆ ValueType [2/3]

template<typename T>
typedef T WTF::RefPtr< T >::ValueType

◆ ValueType [3/3]

template<typename T>
typedef T WTF::RefPtr< T >::ValueType

Constructor & Destructor Documentation

◆ RefPtr() [1/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( )
inline

◆ RefPtr() [2/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( T ptr)
inline

◆ RefPtr() [3/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( const RefPtr< T > &  o)
inline

◆ RefPtr() [4/27]

template<typename T>
template<typename U >
WTF::RefPtr< T >::RefPtr ( const RefPtr< U > &  o)
inline

◆ RefPtr() [5/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( RefPtr< T > &&  o)
inline

◆ RefPtr() [6/27]

template<typename T>
template<typename U >
WTF::RefPtr< T >::RefPtr ( RefPtr< U > &&  o)
inline

◆ RefPtr() [7/27]

template<typename T >
template<typename U >
WTF::RefPtr< T >::RefPtr ( const PassRefPtr< U > &  o)
inline

◆ RefPtr() [8/27]

template<typename T >
template<typename U >
WTF::RefPtr< T >::RefPtr ( Ref< U > &&  reference)
inline

◆ RefPtr() [9/27]

template<typename T>
WTF::RefPtr< T >::RefPtr ( HashTableDeletedValueType  )
inline

◆ ~RefPtr() [1/3]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::~RefPtr ( )
inline

◆ RefPtr() [10/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( )
inline

◆ RefPtr() [11/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( T ptr)
inline

◆ RefPtr() [12/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( const RefPtr< T > &  o)
inline

◆ RefPtr() [13/27]

template<typename T>
template<typename U >
WTF::RefPtr< T >::RefPtr ( const RefPtr< U > &  o)
inline

◆ RefPtr() [14/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( RefPtr< T > &&  o)
inline

◆ RefPtr() [15/27]

template<typename T>
template<typename U >
WTF::RefPtr< T >::RefPtr ( RefPtr< U > &&  o)
inline

◆ RefPtr() [16/27]

template<typename T>
template<typename U >
WTF::RefPtr< T >::RefPtr ( const PassRefPtr< U > &  )

◆ RefPtr() [17/27]

template<typename T>
template<typename U >
WTF::RefPtr< T >::RefPtr ( Ref< U > &&  )

◆ RefPtr() [18/27]

template<typename T>
WTF::RefPtr< T >::RefPtr ( HashTableDeletedValueType  )
inline

◆ ~RefPtr() [2/3]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::~RefPtr ( )
inline

◆ RefPtr() [19/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( )
inline

◆ RefPtr() [20/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( T ptr)
inline

◆ RefPtr() [21/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( const RefPtr< T > &  o)
inline

◆ RefPtr() [22/27]

template<typename T>
template<typename U >
WTF::RefPtr< T >::RefPtr ( const RefPtr< U > &  o)
inline

◆ RefPtr() [23/27]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::RefPtr ( RefPtr< T > &&  o)
inline

◆ RefPtr() [24/27]

template<typename T>
template<typename U >
WTF::RefPtr< T >::RefPtr ( RefPtr< U > &&  o)
inline

◆ RefPtr() [25/27]

template<typename T>
template<typename U >
WTF::RefPtr< T >::RefPtr ( const PassRefPtr< U > &  )

◆ RefPtr() [26/27]

template<typename T>
template<typename U >
WTF::RefPtr< T >::RefPtr ( Ref< U > &&  )

◆ RefPtr() [27/27]

template<typename T>
WTF::RefPtr< T >::RefPtr ( HashTableDeletedValueType  )
inline

◆ ~RefPtr() [3/3]

template<typename T>
ALWAYS_INLINE WTF::RefPtr< T >::~RefPtr ( )
inline

Member Function Documentation

◆ copyRef() [1/3]

template<typename T>
RefPtr WTF::RefPtr< T >::copyRef ( ) const
inline

◆ copyRef() [2/3]

template<typename T>
RefPtr WTF::RefPtr< T >::copyRef ( ) const
inline

◆ copyRef() [3/3]

template<typename T>
RefPtr WTF::RefPtr< T >::copyRef ( ) const
inline

◆ get() [1/3]

template<typename T>
T* WTF::RefPtr< T >::get ( ) const
inline

◆ get() [2/3]

template<typename T>
T* WTF::RefPtr< T >::get ( ) const
inline

◆ get() [3/3]

template<typename T>
T* WTF::RefPtr< T >::get ( ) const
inline

◆ hashTableDeletedValue() [1/3]

template<typename T>
static T* WTF::RefPtr< T >::hashTableDeletedValue ( )
inlinestatic

◆ hashTableDeletedValue() [2/3]

template<typename T>
static T* WTF::RefPtr< T >::hashTableDeletedValue ( )
inlinestatic

◆ hashTableDeletedValue() [3/3]

template<typename T>
static T* WTF::RefPtr< T >::hashTableDeletedValue ( )
inlinestatic

◆ isHashTableDeletedValue() [1/3]

template<typename T>
bool WTF::RefPtr< T >::isHashTableDeletedValue ( ) const
inline

◆ isHashTableDeletedValue() [2/3]

template<typename T>
bool WTF::RefPtr< T >::isHashTableDeletedValue ( ) const
inline

◆ isHashTableDeletedValue() [3/3]

template<typename T>
bool WTF::RefPtr< T >::isHashTableDeletedValue ( ) const
inline

◆ leakRef() [1/3]

template<typename T >
T * WTF::RefPtr< T >::leakRef ( )
inline

◆ leakRef() [2/3]

template<typename T>
T* WTF::RefPtr< T >::leakRef ( )

◆ leakRef() [3/3]

template<typename T>
T* WTF::RefPtr< T >::leakRef ( )

◆ operator UnspecifiedBoolType() [1/3]

template<typename T>
WTF::RefPtr< T >::operator UnspecifiedBoolType ( ) const
inline

◆ operator UnspecifiedBoolType() [2/3]

template<typename T>
WTF::RefPtr< T >::operator UnspecifiedBoolType ( ) const
inline

◆ operator UnspecifiedBoolType() [3/3]

template<typename T>
WTF::RefPtr< T >::operator UnspecifiedBoolType ( ) const
inline

◆ operator!() [1/3]

template<typename T>
bool WTF::RefPtr< T >::operator! ( ) const
inline

◆ operator!() [2/3]

template<typename T>
bool WTF::RefPtr< T >::operator! ( ) const
inline

◆ operator!() [3/3]

template<typename T>
bool WTF::RefPtr< T >::operator! ( ) const
inline

◆ operator*() [1/3]

template<typename T>
T& WTF::RefPtr< T >::operator* ( ) const
inline

◆ operator*() [2/3]

template<typename T>
T& WTF::RefPtr< T >::operator* ( ) const
inline

◆ operator*() [3/3]

template<typename T>
T& WTF::RefPtr< T >::operator* ( ) const
inline

◆ operator->() [1/3]

template<typename T>
ALWAYS_INLINE T* WTF::RefPtr< T >::operator-> ( ) const
inline

◆ operator->() [2/3]

template<typename T>
ALWAYS_INLINE T* WTF::RefPtr< T >::operator-> ( ) const
inline

◆ operator->() [3/3]

template<typename T>
ALWAYS_INLINE T* WTF::RefPtr< T >::operator-> ( ) const
inline

◆ operator=() [1/31]

template<typename T>
RefPtr& WTF::RefPtr< T >::operator= ( const RefPtr< T > &  )

◆ operator=() [2/31]

template<typename T >
RefPtr< T > & WTF::RefPtr< T >::operator= ( const RefPtr< T > &  o)
inline

◆ operator=() [3/31]

template<typename T>
RefPtr& WTF::RefPtr< T >::operator= ( const RefPtr< T > &  )

◆ operator=() [4/31]

template<typename T>
RefPtr& WTF::RefPtr< T >::operator= ( T )

◆ operator=() [5/31]

template<typename T>
RefPtr< T > & WTF::RefPtr< T >::operator= ( T optr)
inline

◆ operator=() [6/31]

template<typename T>
RefPtr& WTF::RefPtr< T >::operator= ( T )

◆ operator=() [7/31]

template<typename T>
RefPtr< T > & WTF::RefPtr< T >::operator= ( std::nullptr_t  )
inline

◆ operator=() [8/31]

template<typename T>
RefPtr& WTF::RefPtr< T >::operator= ( std::nullptr_t  )

◆ operator=() [9/31]

template<typename T>
RefPtr& WTF::RefPtr< T >::operator= ( std::nullptr_t  )

◆ operator=() [10/31]

template<typename T>
RefPtr& WTF::RefPtr< T >::operator= ( const PassRefPtr< T > &  )

◆ operator=() [11/31]

template<typename T>
RefPtr< T > & WTF::RefPtr< T >::operator= ( const PassRefPtr< T > &  o)
inline

◆ operator=() [12/31]

template<typename T>
RefPtr& WTF::RefPtr< T >::operator= ( const PassRefPtr< T > &  )

◆ operator=() [13/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( const RefPtr< U > &  )

◆ operator=() [14/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( const RefPtr< U > &  )

◆ operator=() [15/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( const RefPtr< U > &  )

◆ operator=() [16/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( const PassRefPtr< U > &  )

◆ operator=() [17/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( const PassRefPtr< U > &  )

◆ operator=() [18/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( const PassRefPtr< U > &  )

◆ operator=() [19/31]

template<typename T>
RefPtr< T > & WTF::RefPtr< T >::operator= ( RefPtr< T > &&  o)
inline

◆ operator=() [20/31]

template<typename T>
RefPtr& WTF::RefPtr< T >::operator= ( RefPtr< T > &&  )

◆ operator=() [21/31]

template<typename T>
RefPtr& WTF::RefPtr< T >::operator= ( RefPtr< T > &&  )

◆ operator=() [22/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( RefPtr< U > &&  )

◆ operator=() [23/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( RefPtr< U > &&  )

◆ operator=() [24/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( RefPtr< U > &&  )

◆ operator=() [25/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( Ref< U > &&  )

◆ operator=() [26/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( Ref< U > &&  )

◆ operator=() [27/31]

template<typename T>
template<typename U >
RefPtr& WTF::RefPtr< T >::operator= ( Ref< U > &&  )

◆ operator=() [28/31]

template<typename T >
template<typename U >
RefPtr< T > & WTF::RefPtr< T >::operator= ( const RefPtr< U > &  o)
inline

◆ operator=() [29/31]

template<typename T >
template<typename U >
RefPtr< T > & WTF::RefPtr< T >::operator= ( const PassRefPtr< U > &  o)
inline

◆ operator=() [30/31]

template<typename T >
template<typename U >
RefPtr< T > & WTF::RefPtr< T >::operator= ( RefPtr< U > &&  o)
inline

◆ operator=() [31/31]

template<typename T >
template<typename U >
RefPtr< T > & WTF::RefPtr< T >::operator= ( Ref< U > &&  reference)
inline

◆ release() [1/3]

template<typename T>
RefPtr<T> WTF::RefPtr< T >::release ( )
inline

◆ release() [2/3]

template<typename T>
RefPtr<T> WTF::RefPtr< T >::release ( )
inline

◆ release() [3/3]

template<typename T>
RefPtr<T> WTF::RefPtr< T >::release ( )
inline

◆ releaseConstNonNull() [1/3]

template<typename T>
Ref<const T> WTF::RefPtr< T >::releaseConstNonNull ( )
inline

◆ releaseConstNonNull() [2/3]

template<typename T>
Ref<const T> WTF::RefPtr< T >::releaseConstNonNull ( )
inline

◆ releaseConstNonNull() [3/3]

template<typename T>
Ref<const T> WTF::RefPtr< T >::releaseConstNonNull ( )
inline

◆ releaseNonNull() [1/3]

template<typename T>
Ref<T> WTF::RefPtr< T >::releaseNonNull ( )
inline

◆ releaseNonNull() [2/3]

template<typename T>
Ref<T> WTF::RefPtr< T >::releaseNonNull ( )
inline

◆ releaseNonNull() [3/3]

template<typename T>
Ref<T> WTF::RefPtr< T >::releaseNonNull ( )
inline

◆ swap() [1/3]

template<class T >
void WTF::RefPtr< T >::swap ( RefPtr< T > &  o)
inline

◆ swap() [2/3]

template<typename T>
void WTF::RefPtr< T >::swap ( RefPtr< T > &  )

◆ swap() [3/3]

template<typename T>
void WTF::RefPtr< T >::swap ( RefPtr< T > &  )

Friends And Related Function Documentation

◆ adoptRef [1/3]

template<typename T>
RefPtr adoptRef ( T p)
friend

◆ adoptRef [2/3]

template<typename T>
RefPtr adoptRef ( T p)
friend

◆ adoptRef [3/3]

template<typename T>
RefPtr adoptRef ( T p)
friend

Member Data Documentation

◆ isRefPtr

template<typename T>
static constexpr bool WTF::RefPtr< T >::isRefPtr = true
static

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