![]() |
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 Types | |
| using | element_type = T |
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.
| using QPointer< T >::element_type = T |
Definition at line 32 of file qpointer.h.
|
defaultnoexcept |
|
inlineconstexprnoexcept |
Definition at line 37 of file qpointer.h.
|
inline |
Definition at line 40 of file qpointer.h.
|
inlinenoexcept |
Definition at line 46 of file qpointer.h.
|
inlinenoexcept |
Definition at line 50 of file qpointer.h.
Definition at line 92 of file qpointer.h.
Definition at line 77 of file qpointer.h.
|
inlinenoexcept |
Definition at line 79 of file qpointer.h.
|
inlinenoexcept |
Definition at line 88 of file qpointer.h.
|
inlineexplicitnoexcept |
Definition at line 90 of file qpointer.h.
|
inlinenoexcept |
Definition at line 85 of file qpointer.h.
|
inlinenoexcept |
Definition at line 83 of file qpointer.h.
|
inlinenoexcept |
Definition at line 81 of file qpointer.h.
Definition at line 54 of file qpointer.h.
Definition at line 61 of file qpointer.h.
Definition at line 74 of file qpointer.h.
Definition at line 72 of file qpointer.h.
Definition at line 26 of file qpointer.h.
|
friend |
Definition at line 100 of file qpointer.h.
|
friend |
Definition at line 110 of file qpointer.h.
Definition at line 95 of file qpointer.h.