![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qshareddata.h>
Public Types | |
| using | Type = T |
| using | pointer = T * |
Public Member Functions | |
| void | detach () |
| T & | operator* () |
| constT & | operator* () const |
| T * | operator-> () |
| constT * | operator-> () const noexcept |
| operator T* () | |
| operator const T * () const noexcept | |
| T * | data () |
| T * | get () |
| const T * | data () const noexcept |
| const T * | get () const noexcept |
| const T * | constData () const noexcept |
| T * | take () noexcept |
| void | reset (T *ptr=nullptr) noexcept |
| operator bool () const noexcept | |
| bool | operator! () const noexcept |
| void | swap (Self &other) noexcept |
Protected Member Functions | |
| constexpr | QSharedDataPointerBase (T *ptr=nullptr) noexcept |
| void | detach_helper () |
Protected Attributes | |
| Qt::totally_ordered_wrapper< T * > | d |
Friends | |
| bool | comparesEqual (const QSharedDataPointerBase &lhs, const QSharedDataPointerBase &rhs) noexcept |
| Qt::strong_ordering | compareThreeWay (const QSharedDataPointerBase &lhs, const QSharedDataPointerBase &rhs) noexcept |
| bool | comparesEqual (const QSharedDataPointerBase &lhs, const T *rhs) noexcept |
| Qt::strong_ordering | compareThreeWay (const QSharedDataPointerBase &lhs, const T *rhs) noexcept |
| bool | comparesEqual (const QSharedDataPointerBase &lhs, std::nullptr_t) noexcept |
| Qt::strong_ordering | compareThreeWay (const QSharedDataPointerBase &lhs, std::nullptr_t) noexcept |
| size_t | qHash (const QSharedDataPointerBase &ptr, size_t seed=0) noexcept |
Definition at line 53 of file qshareddata.h.
| using QSharedDataPointerBase< P, T >::pointer = T * |
Definition at line 68 of file qshareddata.h.
| using QSharedDataPointerBase< P, T >::Type = T |
Definition at line 67 of file qshareddata.h.
|
inlineconstexprprotectednoexcept |
Definition at line 61 of file qshareddata.h.
Referenced by QSharedDataPointerBase< QSharedDataPointer, T >::QSharedDataPointerBase().
|
inlinenoexcept |
Definition at line 81 of file qshareddata.h.
|
inline |
Definition at line 77 of file qshareddata.h.
|
inlinenoexcept |
Definition at line 79 of file qshareddata.h.
|
inline |
Definition at line 70 of file qshareddata.h.
|
protected |
Definition at line 334 of file qshareddata.h.
Referenced by QSharedDataPointerBase< QSharedDataPointer, T >::detach().
|
inline |
Definition at line 78 of file qshareddata.h.
|
inlinenoexcept |
Definition at line 80 of file qshareddata.h.
|
inlinenoexcept |
Definition at line 95 of file qshareddata.h.
|
inlinenoexcept |
Definition at line 76 of file qshareddata.h.
|
inline |
Definition at line 75 of file qshareddata.h.
|
inlinenoexcept |
Definition at line 96 of file qshareddata.h.
|
inline |
Definition at line 71 of file qshareddata.h.
|
inline |
Definition at line 72 of file qshareddata.h.
|
inline |
Definition at line 73 of file qshareddata.h.
|
inlinenoexcept |
Definition at line 74 of file qshareddata.h.
|
inlinenoexcept |
Definition at line 84 of file qshareddata.h.
|
inlinenoexcept |
Definition at line 98 of file qshareddata.h.
|
inlinenoexcept |
Definition at line 82 of file qshareddata.h.
|
friend |
Definition at line 115 of file qshareddata.h.
|
friend |
Definition at line 121 of file qshareddata.h.
|
friend |
Definition at line 127 of file qshareddata.h.
|
friend |
Definition at line 118 of file qshareddata.h.
|
friend |
Definition at line 124 of file qshareddata.h.
|
friend |
Definition at line 130 of file qshareddata.h.
|
friend |
Definition at line 133 of file qshareddata.h.
|
protected |
Definition at line 139 of file qshareddata.h.