![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qpointer.h>
Public Member Functions | |
| Q_NODISCARD_CTOR | QPointer () noexcept=default |
| Q_NODISCARD_CTOR constexpr | QPointer (std::nullptr_t) noexcept |
| Q_WEAK_OVERLOAD Q_NODISCARD_CTOR | QPointer (T *p) |
| template<typename X, if_convertible< X > = true> | |
| Q_NODISCARD_CTOR | QPointer (QPointer< X > &&other) noexcept |
| template<typename X, if_convertible< X > = true> | |
| Q_NODISCARD_CTOR | QPointer (const QPointer< X > &other) noexcept |
| template<typename X, if_convertible< X > = true> | |
| QPointer & | operator= (const QPointer< X > &other) noexcept |
| template<typename X, if_convertible< X > = true> | |
| QPointer & | operator= (QPointer< X > &&other) noexcept |
| void | swap (QPointer &other) noexcept |
| QPointer< T > & | operator= (T *p) |
| T * | data () const noexcept |
| T * | get () const noexcept |
| T * | operator-> () const noexcept |
| T & | operator* () const noexcept |
| operator T* () const noexcept | |
| bool | isNull () const noexcept |
| operator bool () const noexcept | |
| void | clear () noexcept |
Friends | |
| template<typename X> | |
| class | QPointer |
| void | swap (QPointer &lhs, QPointer &rhs) noexcept |
| template<typename X> | |
| bool | comparesEqual (const QPointer &lhs, const QPointer< X > &rhs) noexcept |
| bool | comparesEqual (const QPointer &lhs, std::nullptr_t) noexcept |
Definition at line 18 of file qpointer.h.
|
defaultnoexcept |
|
inlineconstexprnoexcept |
Definition at line 34 of file qpointer.h.
|
inline |
Definition at line 37 of file qpointer.h.
|
inlinenoexcept |
Definition at line 43 of file qpointer.h.
|
inlinenoexcept |
Definition at line 47 of file qpointer.h.
Definition at line 89 of file qpointer.h.
Definition at line 74 of file qpointer.h.
|
inlinenoexcept |
Definition at line 76 of file qpointer.h.
|
inlinenoexcept |
Definition at line 85 of file qpointer.h.
|
inlineexplicitnoexcept |
Definition at line 87 of file qpointer.h.
|
inlinenoexcept |
Definition at line 82 of file qpointer.h.
|
inlinenoexcept |
Definition at line 80 of file qpointer.h.
|
inlinenoexcept |
Definition at line 78 of file qpointer.h.
Definition at line 51 of file qpointer.h.
Definition at line 58 of file qpointer.h.
Definition at line 71 of file qpointer.h.
Definition at line 69 of file qpointer.h.
Definition at line 25 of file qpointer.h.
|
friend |
Definition at line 97 of file qpointer.h.
|
friend |
Definition at line 107 of file qpointer.h.
Definition at line 92 of file qpointer.h.