WTF
#include <SharedPtr.h>
Public Member Functions | |
SharedPtr () | |
SharedPtr (const SharedPtr &o) | |
template<class U > | |
SharedPtr (const SharedPtr< U > &o) | |
SharedPtr (T *ptr) | |
~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) |
Detailed Description
class WTF::SharedPtr< T >
Definition at line 29 of file SharedPtr.h.
Constructor & Destructor Documentation
◆ SharedPtr() [1/4]
|
inline |
Definition at line 32 of file SharedPtr.h.
◆ SharedPtr() [2/4]
|
inline |
Definition at line 33 of file SharedPtr.h.
◆ SharedPtr() [3/4]
|
inline |
Definition at line 34 of file SharedPtr.h.
◆ ~SharedPtr()
|
inline |
Definition at line 35 of file SharedPtr.h.
◆ SharedPtr() [4/4]
|
inline |
Definition at line 37 of file SharedPtr.h.
Member Function Documentation
◆ get()
|
inline |
Definition at line 47 of file SharedPtr.h.
◆ isNull()
|
inline |
Definition at line 40 of file SharedPtr.h.
◆ notNull()
|
inline |
Definition at line 41 of file SharedPtr.h.
◆ operator bool()
|
inline |
Definition at line 53 of file SharedPtr.h.
◆ operator!()
|
inline |
Definition at line 52 of file SharedPtr.h.
◆ operator*()
|
inline |
Definition at line 49 of file SharedPtr.h.
◆ operator->()
|
inline |
Definition at line 50 of file SharedPtr.h.
◆ operator=() [1/2]
SharedPtr< T > & WTF::SharedPtr< T >::operator= | ( | const SharedPtr< T > & | o | ) |
Definition at line 64 of file SharedPtr.h.
◆ operator=() [2/2]
|
inline |
Definition at line 75 of file SharedPtr.h.
◆ reset() [1/2]
|
inline |
Definition at line 44 of file SharedPtr.h.
◆ reset() [2/2]
|
inline |
Definition at line 45 of file SharedPtr.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.