WTF::SharedPtr Class Reference
#include <SharedPtr.h>
Public Member Functions | |
| SharedPtr () | |
| SharedPtr (T *ptr) | |
| SharedPtr (const SharedPtr &o) | |
| template<class U > | |
| SharedPtr (const SharedPtr< U > &o) | |
| ~SharedPtr () | |
| T * | get () const |
| bool | isNull () const |
| bool | notNull () const |
| operator bool () const | |
| bool | operator! () const |
| T & | operator* () const |
| T * | operator-> () const |
| SharedPtr & | operator= (const SharedPtr &) |
| SharedPtr & | operator= (T *) |
| void | reset () |
| void | reset (T *o) |
Constructor & Destructor Documentation
| WTF::SharedPtr::SharedPtr | ( | ) | [inline] |
Definition at line 32 of file SharedPtr.h.
| WTF::SharedPtr::SharedPtr | ( | T * | ptr | ) | [inline] |
Definition at line 33 of file SharedPtr.h.
| WTF::SharedPtr::SharedPtr | ( | const SharedPtr & | o | ) | [inline] |
Definition at line 34 of file SharedPtr.h.
| WTF::SharedPtr::~SharedPtr | ( | ) | [inline] |
Definition at line 35 of file SharedPtr.h.
template<class U >
| WTF::SharedPtr::SharedPtr | ( | const SharedPtr< U > & | o | ) | [inline] |
Definition at line 37 of file SharedPtr.h.
Member Function Documentation
| T* WTF::SharedPtr::get | ( | ) | const [inline] |
Definition at line 47 of file SharedPtr.h.
| bool WTF::SharedPtr::isNull | ( | ) | const [inline] |
Definition at line 40 of file SharedPtr.h.
| bool WTF::SharedPtr::notNull | ( | ) | const [inline] |
Definition at line 41 of file SharedPtr.h.
| WTF::SharedPtr::operator bool | ( | ) | const [inline] |
Definition at line 53 of file SharedPtr.h.
| bool WTF::SharedPtr::operator! | ( | ) | const [inline] |
Definition at line 52 of file SharedPtr.h.
| T& WTF::SharedPtr::operator* | ( | ) | const [inline] |
Definition at line 49 of file SharedPtr.h.
| T* WTF::SharedPtr::operator-> | ( | ) | const [inline] |
Definition at line 50 of file SharedPtr.h.
| SharedPtr< T > & WTF::SharedPtr::operator= | ( | T * | optr | ) | [inline] |
Definition at line 75 of file SharedPtr.h.
| void WTF::SharedPtr::reset | ( | ) | [inline] |
Definition at line 44 of file SharedPtr.h.
| void WTF::SharedPtr::reset | ( | T * | o | ) | [inline] |
Definition at line 45 of file SharedPtr.h.
The documentation for this class was generated from the following file:
KDE 4.7 API Reference