![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qtaggedpointer.h>
Public Types | |
| using | Type = T |
| using | TagType = Tag |
Public Member Functions | |
| Q_NODISCARD_CTOR constexpr | QTaggedPointer () noexcept |
| Q_NODISCARD_CTOR constexpr | QTaggedPointer (std::nullptr_t) noexcept |
| Q_NODISCARD_CTOR | QTaggedPointer (T *pointer, Tag tag=Tag()) noexcept |
| Type & | operator* () const noexcept |
| Type * | operator-> () const noexcept |
| operator bool () const noexcept | |
| template<typename U, std::enable_if_t< std::is_convertible_v< U *, T * >, bool > = false> | |
| QTaggedPointer & | operator= (U *other) noexcept |
| template<typename U, std::enable_if_t< std::is_null_pointer_v< U >, bool > = false> | |
| QTaggedPointer & | operator= (U) noexcept |
| void | setTag (Tag tag) |
| Tag | tag () const noexcept |
| T * | data () const noexcept |
| bool | isNull () const noexcept |
| void | swap (QTaggedPointer &other) noexcept |
Static Public Member Functions | |
| static constexpr quintptr | tagMask () |
| static constexpr quintptr | pointerMask () |
| static constexpr Tag | maximumTag () noexcept |
Protected Attributes | |
| quintptr | d |
Friends | |
| bool | operator== (QTaggedPointer lhs, QTaggedPointer rhs) noexcept |
| bool | operator!= (QTaggedPointer lhs, QTaggedPointer rhs) noexcept |
| bool | operator== (QTaggedPointer lhs, std::nullptr_t) noexcept |
| bool | operator== (std::nullptr_t, QTaggedPointer rhs) noexcept |
| bool | operator!= (QTaggedPointer lhs, std::nullptr_t) noexcept |
| bool | operator!= (std::nullptr_t, QTaggedPointer rhs) noexcept |
| bool | operator! (QTaggedPointer ptr) noexcept |
| void | swap (QTaggedPointer &p1, QTaggedPointer &p2) noexcept |
Definition at line 38 of file qtaggedpointer.h.
| using QTaggedPointer< T, Tag >::TagType = Tag |
Definition at line 42 of file qtaggedpointer.h.
| using QTaggedPointer< T, Tag >::Type = T |
Definition at line 41 of file qtaggedpointer.h.
|
inlineconstexprnoexcept |
Definition at line 47 of file qtaggedpointer.h.
|
inlineconstexprnoexcept |
Definition at line 48 of file qtaggedpointer.h.
|
inlineexplicitnoexcept |
Definition at line 50 of file qtaggedpointer.h.
|
inlinenoexcept |
Definition at line 121 of file qtaggedpointer.h.
|
inlinenoexcept |
Definition at line 126 of file qtaggedpointer.h.
|
inlinestaticconstexprnoexcept |
Definition at line 101 of file qtaggedpointer.h.
|
inlineexplicitnoexcept |
Definition at line 71 of file qtaggedpointer.h.
|
inlinenoexcept |
Definition at line 60 of file qtaggedpointer.h.
|
inlinenoexcept |
Definition at line 66 of file qtaggedpointer.h.
|
inlinenoexcept |
Definition at line 85 of file qtaggedpointer.h.
|
inlinenoexcept |
Definition at line 94 of file qtaggedpointer.h.
|
inlinestaticconstexpr |
Definition at line 45 of file qtaggedpointer.h.
|
inline |
Definition at line 106 of file qtaggedpointer.h.
|
inlinenoexcept |
Definition at line 131 of file qtaggedpointer.h.
|
inlinenoexcept |
Definition at line 116 of file qtaggedpointer.h.
|
inlinestaticconstexpr |
Definition at line 44 of file qtaggedpointer.h.
|
friend |
Definition at line 166 of file qtaggedpointer.h.
|
friend |
Definition at line 141 of file qtaggedpointer.h.
|
friend |
Definition at line 156 of file qtaggedpointer.h.
|
friend |
Definition at line 161 of file qtaggedpointer.h.
|
friend |
Definition at line 136 of file qtaggedpointer.h.
|
friend |
Definition at line 146 of file qtaggedpointer.h.
|
friend |
Definition at line 151 of file qtaggedpointer.h.
|
friend |
Definition at line 171 of file qtaggedpointer.h.
|
protected |
Definition at line 177 of file qtaggedpointer.h.