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

#include <Forward.h>

Public Member Functions

 ~Ref ()
 
 Ref (T &object)
 
 Ref (const Ref &other)=delete
 
template<typename U >
 Ref (const Ref< U > &other)=delete
 
 Ref (Ref &&other)
 
template<typename U >
 Ref (Ref< U > &&other)
 
Refoperator= (T &object)
 
Refoperator= (const Ref &reference)=delete
 
template<typename U >
Refoperator= (const Ref< U > &reference)=delete
 
Refoperator= (Ref &&reference)
 
template<typename U >
Refoperator= (Ref< U > &&reference)
 
 Ref (HashTableDeletedValueType)
 
bool isHashTableDeletedValue () const
 
 Ref (HashTableEmptyValueType)
 
bool isHashTableEmptyValue () const
 
const TptrAllowingHashTableEmptyValue () const
 
TptrAllowingHashTableEmptyValue ()
 
void assignToHashTableEmptyValue (Ref &&reference)
 
Toperator-> () const
 
Tptr () const
 
Tget () const
 
 operator T & () const
 
bool operator! () const
 
template<typename U >
Ref< Treplace (Ref< U > &&) WARN_UNUSED_RETURN
 
Ref copyRef () const WARN_UNUSED_RETURN
 
TleakRef () WARN_UNUSED_RETURN
 
 ~Ref ()
 
 Ref (T &object)
 
 Ref (const Ref &other)=delete
 
template<typename U >
 Ref (const Ref< U > &other)=delete
 
 Ref (Ref &&other)
 
template<typename U >
 Ref (Ref< U > &&other)
 
Refoperator= (T &object)
 
Refoperator= (const Ref &reference)=delete
 
template<typename U >
Refoperator= (const Ref< U > &reference)=delete
 
Refoperator= (Ref &&reference)
 
template<typename U >
Refoperator= (Ref< U > &&reference)
 
 Ref (HashTableDeletedValueType)
 
bool isHashTableDeletedValue () const
 
 Ref (HashTableEmptyValueType)
 
bool isHashTableEmptyValue () const
 
const TptrAllowingHashTableEmptyValue () const
 
TptrAllowingHashTableEmptyValue ()
 
void assignToHashTableEmptyValue (Ref &&reference)
 
Toperator-> () const
 
Tptr () const
 
Tget () const
 
 operator T & () const
 
bool operator! () const
 
template<typename U >
Ref< Treplace (Ref< U > &&) WARN_UNUSED_RETURN
 
Ref copyRef () const WARN_UNUSED_RETURN
 
TleakRef () WARN_UNUSED_RETURN
 
 ~Ref ()
 
 Ref (T &object)
 
 Ref (const Ref &other)=delete
 
template<typename U >
 Ref (const Ref< U > &other)=delete
 
 Ref (Ref &&other)
 
template<typename U >
 Ref (Ref< U > &&other)
 
Refoperator= (T &object)
 
Refoperator= (const Ref &reference)=delete
 
template<typename U >
Refoperator= (const Ref< U > &reference)=delete
 
Refoperator= (Ref &&reference)
 
template<typename U >
Refoperator= (Ref< U > &&reference)
 
 Ref (HashTableDeletedValueType)
 
bool isHashTableDeletedValue () const
 
 Ref (HashTableEmptyValueType)
 
bool isHashTableEmptyValue () const
 
const TptrAllowingHashTableEmptyValue () const
 
TptrAllowingHashTableEmptyValue ()
 
void assignToHashTableEmptyValue (Ref &&reference)
 
Toperator-> () const
 
Tptr () const
 
Tget () const
 
 operator T & () const
 
bool operator! () const
 
template<typename U >
Ref< Treplace (Ref< U > &&) WARN_UNUSED_RETURN
 
Ref copyRef () const WARN_UNUSED_RETURN
 
TleakRef () WARN_UNUSED_RETURN
 

Static Public Member Functions

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

Static Public Attributes

static constexpr bool isRef = true
 

Friends

Ref adoptRef (T &)
 
Ref adoptRef (T &)
 
Ref adoptRef (T &)
 

Constructor & Destructor Documentation

◆ ~Ref() [1/3]

template<typename T>
WTF::Ref< T >::~Ref ( )
inline

◆ Ref() [1/21]

template<typename T>
WTF::Ref< T >::Ref ( T object)
inline

◆ Ref() [2/21]

template<typename T>
WTF::Ref< T >::Ref ( const Ref< T > &  other)
delete

◆ Ref() [3/21]

template<typename T>
template<typename U >
WTF::Ref< T >::Ref ( const Ref< U > &  other)
delete

◆ Ref() [4/21]

template<typename T>
WTF::Ref< T >::Ref ( Ref< T > &&  other)
inline

◆ Ref() [5/21]

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

◆ Ref() [6/21]

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

◆ Ref() [7/21]

template<typename T>
WTF::Ref< T >::Ref ( HashTableEmptyValueType  )
inline

◆ ~Ref() [2/3]

template<typename T>
WTF::Ref< T >::~Ref ( )
inline

◆ Ref() [8/21]

template<typename T>
WTF::Ref< T >::Ref ( T object)
inline

◆ Ref() [9/21]

template<typename T>
WTF::Ref< T >::Ref ( const Ref< T > &  other)
delete

◆ Ref() [10/21]

template<typename T>
template<typename U >
WTF::Ref< T >::Ref ( const Ref< U > &  other)
delete

◆ Ref() [11/21]

template<typename T>
WTF::Ref< T >::Ref ( Ref< T > &&  other)
inline

◆ Ref() [12/21]

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

◆ Ref() [13/21]

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

◆ Ref() [14/21]

template<typename T>
WTF::Ref< T >::Ref ( HashTableEmptyValueType  )
inline

◆ ~Ref() [3/3]

template<typename T>
WTF::Ref< T >::~Ref ( )
inline

◆ Ref() [15/21]

template<typename T>
WTF::Ref< T >::Ref ( T object)
inline

◆ Ref() [16/21]

template<typename T>
WTF::Ref< T >::Ref ( const Ref< T > &  other)
delete

◆ Ref() [17/21]

template<typename T>
template<typename U >
WTF::Ref< T >::Ref ( const Ref< U > &  other)
delete

◆ Ref() [18/21]

template<typename T>
WTF::Ref< T >::Ref ( Ref< T > &&  other)
inline

◆ Ref() [19/21]

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

◆ Ref() [20/21]

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

◆ Ref() [21/21]

template<typename T>
WTF::Ref< T >::Ref ( HashTableEmptyValueType  )
inline

Member Function Documentation

◆ assignToHashTableEmptyValue() [1/3]

template<typename T>
void WTF::Ref< T >::assignToHashTableEmptyValue ( Ref< T > &&  reference)
inline

◆ assignToHashTableEmptyValue() [2/3]

template<typename T>
void WTF::Ref< T >::assignToHashTableEmptyValue ( Ref< T > &&  reference)
inline

◆ assignToHashTableEmptyValue() [3/3]

template<typename T>
void WTF::Ref< T >::assignToHashTableEmptyValue ( Ref< T > &&  reference)
inline

◆ copyRef() [1/3]

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

◆ copyRef() [2/3]

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

◆ copyRef() [3/3]

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

◆ get() [1/3]

template<typename T>
T& WTF::Ref< T >::get ( ) const
inline

◆ get() [2/3]

template<typename T>
T& WTF::Ref< T >::get ( ) const
inline

◆ get() [3/3]

template<typename T>
T& WTF::Ref< T >::get ( ) const
inline

◆ hashTableDeletedValue() [1/3]

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

◆ hashTableDeletedValue() [2/3]

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

◆ hashTableDeletedValue() [3/3]

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

◆ hashTableEmptyValue() [1/3]

template<typename T>
static T* WTF::Ref< T >::hashTableEmptyValue ( )
inlinestatic

◆ hashTableEmptyValue() [2/3]

template<typename T>
static T* WTF::Ref< T >::hashTableEmptyValue ( )
inlinestatic

◆ hashTableEmptyValue() [3/3]

template<typename T>
static T* WTF::Ref< T >::hashTableEmptyValue ( )
inlinestatic

◆ isHashTableDeletedValue() [1/3]

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

◆ isHashTableDeletedValue() [2/3]

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

◆ isHashTableDeletedValue() [3/3]

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

◆ isHashTableEmptyValue() [1/3]

template<typename T>
bool WTF::Ref< T >::isHashTableEmptyValue ( ) const
inline

◆ isHashTableEmptyValue() [2/3]

template<typename T>
bool WTF::Ref< T >::isHashTableEmptyValue ( ) const
inline

◆ isHashTableEmptyValue() [3/3]

template<typename T>
bool WTF::Ref< T >::isHashTableEmptyValue ( ) const
inline

◆ leakRef() [1/3]

template<typename T>
T& WTF::Ref< T >::leakRef ( )
inline

◆ leakRef() [2/3]

template<typename T>
T& WTF::Ref< T >::leakRef ( )
inline

◆ leakRef() [3/3]

template<typename T>
T& WTF::Ref< T >::leakRef ( )
inline

◆ operator T &() [1/3]

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

◆ operator T &() [2/3]

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

◆ operator T &() [3/3]

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

◆ operator!() [1/3]

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

◆ operator!() [2/3]

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

◆ operator!() [3/3]

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

◆ operator->() [1/3]

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

◆ operator->() [2/3]

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

◆ operator->() [3/3]

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

◆ operator=() [1/15]

template<typename T>
Ref& WTF::Ref< T >::operator= ( T object)
inline

◆ operator=() [2/15]

template<typename T>
Ref& WTF::Ref< T >::operator= ( T object)
inline

◆ operator=() [3/15]

template<typename T>
Ref& WTF::Ref< T >::operator= ( T object)
inline

◆ operator=() [4/15]

template<typename T>
Ref& WTF::Ref< T >::operator= ( const Ref< T > &  reference)
delete

◆ operator=() [5/15]

template<typename T>
Ref& WTF::Ref< T >::operator= ( const Ref< T > &  reference)
delete

◆ operator=() [6/15]

template<typename T>
Ref& WTF::Ref< T >::operator= ( const Ref< T > &  reference)
delete

◆ operator=() [7/15]

template<typename T>
template<typename U >
Ref& WTF::Ref< T >::operator= ( const Ref< U > &  reference)
delete

◆ operator=() [8/15]

template<typename T>
template<typename U >
Ref& WTF::Ref< T >::operator= ( const Ref< U > &  reference)
delete

◆ operator=() [9/15]

template<typename T>
template<typename U >
Ref& WTF::Ref< T >::operator= ( const Ref< U > &  reference)
delete

◆ operator=() [10/15]

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

◆ operator=() [11/15]

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

◆ operator=() [12/15]

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

◆ operator=() [13/15]

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

◆ operator=() [14/15]

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

◆ operator=() [15/15]

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

◆ ptr() [1/3]

template<typename T>
T* WTF::Ref< T >::ptr ( ) const
inline

◆ ptr() [2/3]

template<typename T>
T* WTF::Ref< T >::ptr ( ) const
inline

◆ ptr() [3/3]

template<typename T>
T* WTF::Ref< T >::ptr ( ) const
inline

◆ ptrAllowingHashTableEmptyValue() [1/6]

template<typename T>
const T* WTF::Ref< T >::ptrAllowingHashTableEmptyValue ( ) const
inline

◆ ptrAllowingHashTableEmptyValue() [2/6]

template<typename T>
const T* WTF::Ref< T >::ptrAllowingHashTableEmptyValue ( ) const
inline

◆ ptrAllowingHashTableEmptyValue() [3/6]

template<typename T>
const T* WTF::Ref< T >::ptrAllowingHashTableEmptyValue ( ) const
inline

◆ ptrAllowingHashTableEmptyValue() [4/6]

template<typename T>
T* WTF::Ref< T >::ptrAllowingHashTableEmptyValue ( )
inline

◆ ptrAllowingHashTableEmptyValue() [5/6]

template<typename T>
T* WTF::Ref< T >::ptrAllowingHashTableEmptyValue ( )
inline

◆ ptrAllowingHashTableEmptyValue() [6/6]

template<typename T>
T* WTF::Ref< T >::ptrAllowingHashTableEmptyValue ( )
inline

◆ replace() [1/3]

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

◆ replace() [2/3]

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

◆ replace() [3/3]

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

Friends And Related Function Documentation

◆ adoptRef [1/3]

template<typename T>
Ref adoptRef ( T reference)
friend

◆ adoptRef [2/3]

template<typename T>
Ref adoptRef ( T reference)
friend

◆ adoptRef [3/3]

template<typename T>
Ref adoptRef ( T reference)
friend

Member Data Documentation

◆ isRef

template<typename T>
static constexpr bool WTF::Ref< T >::isRef = true
static

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