WTF
WTF::OwnPtr< T > Class Template Reference
#include <OwnPtr.h>
Inheritance diagram for WTF::OwnPtr< T >:

Detailed Description
template<typename T>
class WTF::OwnPtr< T >
Definition at line 31 of file OwnPtr.h.
Public Types | |
typedef T *(OwnPtr::* | UnspecifiedBoolType )() const |
Public Member Functions | |
void | clear () |
T * | get () const |
T & | operator * () const |
operator UnspecifiedBoolType () const | |
bool | operator! () const |
T * | operator-> () const |
OwnPtr (T *ptr=0) | |
T * | release () |
void | set (T *ptr) |
void | swap (OwnPtr &o) |
~OwnPtr () |
Member Typedef Documentation
template<typename T>
typedef T*(OwnPtr::* WTF::OwnPtr< T >::UnspecifiedBoolType)() const |
Constructor & Destructor Documentation
template<typename T>
WTF::OwnPtr< T >::OwnPtr | ( | T * | ptr = 0 |
) | [inline, explicit] |
template<typename T>
WTF::OwnPtr< T >::~OwnPtr | ( | ) | [inline] |
Member Function Documentation
template<typename T>
void WTF::OwnPtr< T >::clear | ( | ) | [inline] |
template<typename T>
T* WTF::OwnPtr< T >::get | ( | ) | const [inline] |
template<typename T>
T& WTF::OwnPtr< T >::operator * | ( | ) | const [inline] |
template<typename T>
WTF::OwnPtr< T >::operator UnspecifiedBoolType | ( | ) | const [inline] |
template<typename T>
bool WTF::OwnPtr< T >::operator! | ( | ) | const [inline] |
template<typename T>
T* WTF::OwnPtr< T >::operator-> | ( | ) | const [inline] |
template<typename T>
T* WTF::OwnPtr< T >::release | ( | ) | [inline] |
template<typename T>
void WTF::OwnPtr< T >::set | ( | T * | ptr | ) | [inline] |
template<typename T>
void WTF::OwnPtr< T >::swap | ( | OwnPtr< T > & | o | ) | [inline] |
The documentation for this class was generated from the following file: