![]() |
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 19 of file qpointer.h.
|
defaultnoexcept |
|
inlineconstexprnoexcept |
Definition at line 35 of file qpointer.h.
|
inline |
Definition at line 38 of file qpointer.h.
|
inlinenoexcept |
Definition at line 44 of file qpointer.h.
|
inlinenoexcept |
Definition at line 48 of file qpointer.h.
Definition at line 90 of file qpointer.h.
Definition at line 75 of file qpointer.h.
|
inlinenoexcept |
Definition at line 77 of file qpointer.h.
|
inlinenoexcept |
Definition at line 86 of file qpointer.h.
|
inlineexplicitnoexcept |
Definition at line 88 of file qpointer.h.
|
inlinenoexcept |
Definition at line 83 of file qpointer.h.
|
inlinenoexcept |
Definition at line 81 of file qpointer.h.
|
inlinenoexcept |
Definition at line 79 of file qpointer.h.
Definition at line 52 of file qpointer.h.
Definition at line 59 of file qpointer.h.
Definition at line 72 of file qpointer.h.
Definition at line 70 of file qpointer.h.
Definition at line 26 of file qpointer.h.
|
friend |
Definition at line 98 of file qpointer.h.
|
friend |
Definition at line 108 of file qpointer.h.
Definition at line 93 of file qpointer.h.