WTF
WTF::SharedPtr< T > Class Template Reference
#include <SharedPtr.h>
Detailed Description
template<class T>
class WTF::SharedPtr< T >
Definition at line 29 of file SharedPtr.h.
Public Member Functions | |
T * | get () const |
bool | isNull () const |
bool | notNull () const |
T & | operator * () const |
operator bool () const | |
bool | 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 () |
Constructor & Destructor Documentation
WTF::SharedPtr< T >::SharedPtr | ( | ) | [inline] |
Definition at line 32 of file SharedPtr.h.
WTF::SharedPtr< T >::SharedPtr | ( | T * | ptr | ) | [inline] |
Definition at line 33 of file SharedPtr.h.
WTF::SharedPtr< T >::SharedPtr | ( | const SharedPtr< T > & | o | ) | [inline] |
Definition at line 34 of file SharedPtr.h.
WTF::SharedPtr< T >::~SharedPtr | ( | ) | [inline] |
Definition at line 35 of file SharedPtr.h.
WTF::SharedPtr< T >::SharedPtr | ( | const SharedPtr< U > & | o | ) | [inline] |
Definition at line 37 of file SharedPtr.h.
Member Function Documentation
T* WTF::SharedPtr< T >::get | ( | ) | const [inline] |
Definition at line 47 of file SharedPtr.h.
bool WTF::SharedPtr< T >::isNull | ( | ) | const [inline] |
Definition at line 40 of file SharedPtr.h.
bool WTF::SharedPtr< T >::notNull | ( | ) | const [inline] |
Definition at line 41 of file SharedPtr.h.
T& WTF::SharedPtr< T >::operator * | ( | ) | const [inline] |
Definition at line 49 of file SharedPtr.h.
WTF::SharedPtr< T >::operator bool | ( | ) | const [inline] |
Definition at line 53 of file SharedPtr.h.
bool WTF::SharedPtr< T >::operator! | ( | ) | const [inline] |
Definition at line 52 of file SharedPtr.h.
T* WTF::SharedPtr< T >::operator-> | ( | ) | const [inline] |
Definition at line 50 of file SharedPtr.h.
SharedPtr< T > & WTF::SharedPtr< T >::operator= | ( | T * | optr | ) | [inline] |
Definition at line 75 of file SharedPtr.h.
SharedPtr< T > & WTF::SharedPtr< T >::operator= | ( | const SharedPtr< T > & | o | ) | [inline] |
Definition at line 64 of file SharedPtr.h.
void WTF::SharedPtr< T >::reset | ( | T * | o | ) | [inline] |
Definition at line 45 of file SharedPtr.h.
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: