• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

WTF

WTF::SharedPtr

WTF::SharedPtr< T > Class Template Reference

#include <SharedPtr.h>

List of all members.

Public Member Functions

T * get () const
bool isNull () const
bool notNull () const
 operator bool () const
bool operator! () const
T & operator* () const
T * operator-> () const
SharedPtr & operator= (T *)
SharedPtr & operator= (const SharedPtr &)
void reset (T *o)
void reset ()
template<class U >
 SharedPtr (const SharedPtr< U > &o)
 SharedPtr (const SharedPtr &o)
 SharedPtr (T *ptr)
 SharedPtr ()
 ~SharedPtr ()

Detailed Description

template<class T>
class WTF::SharedPtr< T >

Definition at line 29 of file SharedPtr.h.


Constructor & Destructor Documentation

template<class T>
WTF::SharedPtr< T >::SharedPtr (  )  [inline]

Definition at line 32 of file SharedPtr.h.

template<class T>
WTF::SharedPtr< T >::SharedPtr ( T *  ptr  )  [inline]

Definition at line 33 of file SharedPtr.h.

template<class T>
WTF::SharedPtr< T >::SharedPtr ( const SharedPtr< T > &  o  )  [inline]

Definition at line 34 of file SharedPtr.h.

template<class T>
WTF::SharedPtr< T >::~SharedPtr (  )  [inline]

Definition at line 35 of file SharedPtr.h.

template<class T>
template<class U >
WTF::SharedPtr< T >::SharedPtr ( const SharedPtr< U > &  o  )  [inline]

Definition at line 37 of file SharedPtr.h.


Member Function Documentation

template<class T>
T* WTF::SharedPtr< T >::get (  )  const [inline]

Definition at line 47 of file SharedPtr.h.

template<class T>
bool WTF::SharedPtr< T >::isNull (  )  const [inline]

Definition at line 40 of file SharedPtr.h.

template<class T>
bool WTF::SharedPtr< T >::notNull (  )  const [inline]

Definition at line 41 of file SharedPtr.h.

template<class T>
WTF::SharedPtr< T >::operator bool (  )  const [inline]

Definition at line 53 of file SharedPtr.h.

template<class T>
bool WTF::SharedPtr< T >::operator! (  )  const [inline]

Definition at line 52 of file SharedPtr.h.

template<class T>
T& WTF::SharedPtr< T >::operator* (  )  const [inline]

Definition at line 49 of file SharedPtr.h.

template<class T>
T* WTF::SharedPtr< T >::operator-> (  )  const [inline]

Definition at line 50 of file SharedPtr.h.

template<class T >
SharedPtr< T > & WTF::SharedPtr< T >::operator= ( T *  optr  )  [inline]

Definition at line 75 of file SharedPtr.h.

template<class T >
SharedPtr< T > & WTF::SharedPtr< T >::operator= ( const SharedPtr< T > &  o  )  [inline]

Definition at line 64 of file SharedPtr.h.

template<class T>
void WTF::SharedPtr< T >::reset ( T *  o  )  [inline]

Definition at line 45 of file SharedPtr.h.

template<class T>
void WTF::SharedPtr< T >::reset (  )  [inline]

Definition at line 44 of file SharedPtr.h.


The documentation for this class was generated from the following file:
  • SharedPtr.h

WTF

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal