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

WTF

  • WTF
  • OwnPtr
Public Types | Public Member Functions

WTF::OwnPtr< T > Class Template Reference

#include <OwnPtr.h>

Inheritance diagram for WTF::OwnPtr< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef T *(OwnPtr::* UnspecifiedBoolType )() const

Public Member Functions

 OwnPtr (T *ptr=0)
 ~OwnPtr ()
void clear ()
T * get () const
 operator UnspecifiedBoolType () const
bool operator! () const
T & operator* () const
T * operator-> () const
T * release ()
void set (T *ptr)
void swap (OwnPtr &o)

Detailed Description

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

Definition at line 31 of file OwnPtr.h.


Member Typedef Documentation

template<typename T>
typedef T*(OwnPtr::* WTF::OwnPtr< T >::UnspecifiedBoolType)() const

Definition at line 48 of file OwnPtr.h.


Constructor & Destructor Documentation

template<typename T>
WTF::OwnPtr< T >::OwnPtr ( T *  ptr = 0) [inline, explicit]

Definition at line 33 of file OwnPtr.h.

template<typename T>
WTF::OwnPtr< T >::~OwnPtr ( ) [inline]

Definition at line 34 of file OwnPtr.h.


Member Function Documentation

template<typename T>
void WTF::OwnPtr< T >::clear ( ) [inline]

Definition at line 40 of file OwnPtr.h.

template<typename T>
T* WTF::OwnPtr< T >::get ( ) const [inline]

Definition at line 36 of file OwnPtr.h.

template<typename T>
WTF::OwnPtr< T >::operator UnspecifiedBoolType ( ) const [inline]

Definition at line 49 of file OwnPtr.h.

template<typename T>
bool WTF::OwnPtr< T >::operator! ( ) const [inline]

Definition at line 45 of file OwnPtr.h.

template<typename T>
T& WTF::OwnPtr< T >::operator* ( ) const [inline]

Definition at line 42 of file OwnPtr.h.

template<typename T>
T* WTF::OwnPtr< T >::operator-> ( ) const [inline]

Definition at line 43 of file OwnPtr.h.

template<typename T>
T* WTF::OwnPtr< T >::release ( ) [inline]

Definition at line 37 of file OwnPtr.h.

template<typename T>
void WTF::OwnPtr< T >::set ( T *  ptr) [inline]

Definition at line 39 of file OwnPtr.h.

template<typename T>
void WTF::OwnPtr< T >::swap ( OwnPtr< T > &  o) [inline]

Definition at line 51 of file OwnPtr.h.


The documentation for this class was generated from the following file:
  • OwnPtr.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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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