• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

WTF

  • WTF
  • RefPtr
Public Types | Public Member Functions | List of all members
WTF::RefPtr< T > Class Template Reference

#include <RefPtr.h>

Inheritance diagram for WTF::RefPtr< T >:
WTF::ListRefPtr< T >

Public Types

typedef T *RefPtr::* UnspecifiedBoolType
 

Public Member Functions

 RefPtr ()
 
template<typename U >
 RefPtr (const PassRefPtr< U > &)
 
 RefPtr (const RefPtr &o)
 
template<typename U >
 RefPtr (const RefPtr< U > &o)
 
 RefPtr (HashTableDeletedValueType)
 
 RefPtr (PlacementNewAdoptType)
 
 RefPtr (T *ptr)
 
 ~RefPtr ()
 
void clear ()
 
T * get () const
 
bool isHashTableDeletedValue () const
 
 operator UnspecifiedBoolType () const
 
bool operator! () const
 
T & operator* () const
 
ALWAYS_INLINE T * operator-> () const
 
RefPtr & operator= (const PassRefPtr< T > &)
 
template<typename U >
RefPtr & operator= (const PassRefPtr< U > &)
 
template<typename U >
RefPtr< T > & operator= (const PassRefPtr< U > &o)
 
RefPtr & operator= (const RefPtr &)
 
template<typename U >
RefPtr & operator= (const RefPtr< U > &)
 
template<typename U >
RefPtr< T > & operator= (const RefPtr< U > &o)
 
RefPtr & operator= (T *)
 
PassRefPtr< T > release ()
 
void swap (RefPtr &)
 

Detailed Description

template<typename T>
class WTF::RefPtr< T >

Definition at line 37 of file RefPtr.h.

Member Typedef Documentation

◆ UnspecifiedBoolType

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

Definition at line 67 of file RefPtr.h.

Constructor & Destructor Documentation

◆ RefPtr() [1/7]

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

Definition at line 39 of file RefPtr.h.

◆ RefPtr() [2/7]

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

Definition at line 40 of file RefPtr.h.

◆ RefPtr() [3/7]

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

Definition at line 41 of file RefPtr.h.

◆ RefPtr() [4/7]

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

Definition at line 84 of file RefPtr.h.

◆ RefPtr() [5/7]

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

Definition at line 46 of file RefPtr.h.

◆ RefPtr() [6/7]

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

Definition at line 49 of file RefPtr.h.

◆ ~RefPtr()

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

Definition at line 52 of file RefPtr.h.

◆ RefPtr() [7/7]

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

Definition at line 54 of file RefPtr.h.

Member Function Documentation

◆ clear()

template<typename T >
void WTF::RefPtr< T >::clear ( )
inline

Definition at line 58 of file RefPtr.h.

◆ get()

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

Definition at line 56 of file RefPtr.h.

◆ isHashTableDeletedValue()

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

Definition at line 50 of file RefPtr.h.

◆ operator UnspecifiedBoolType()

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

Definition at line 68 of file RefPtr.h.

◆ operator!()

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

Definition at line 64 of file RefPtr.h.

◆ operator*()

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

Definition at line 61 of file RefPtr.h.

◆ operator->()

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

Definition at line 62 of file RefPtr.h.

◆ operator=() [1/7]

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

Definition at line 124 of file RefPtr.h.

◆ operator=() [2/7]

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

◆ operator=() [3/7]

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

Definition at line 133 of file RefPtr.h.

◆ operator=() [4/7]

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

Definition at line 89 of file RefPtr.h.

◆ operator=() [5/7]

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

◆ operator=() [6/7]

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

Definition at line 101 of file RefPtr.h.

◆ operator=() [7/7]

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

Definition at line 113 of file RefPtr.h.

◆ release()

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

Definition at line 59 of file RefPtr.h.

◆ swap()

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

Definition at line 142 of file RefPtr.h.


The documentation for this class was generated from the following files:
  • Forward.h
  • RefPtr.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

WTF

Skip menu "WTF"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal