Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qvariant.h>
Public Member Functions | |
constexpr | Private () noexcept |
Private (const QtPrivate::QMetaTypeInterface *iface) noexcept | |
template<typename T > | |
Private (std::piecewise_construct_t, const T &t) | |
const void * | storage () const |
template<typename T > | |
const T & | get () const |
const QtPrivate::QMetaTypeInterface * | typeInterface () const |
QMetaType | type () const |
Static Public Member Functions | |
static constexpr bool | canUseInternalSpace (const QtPrivate::QMetaTypeInterface *type) |
Public Attributes | ||
union { | ||
uchar data [MaxInternalSize] = {} | ||
PrivateShared * shared | ||
double _forAlignment | ||
} | data | |
quintptr | is_shared: 1 | |
quintptr | is_null: 1 | |
quintptr | packedType: sizeof(QMetaType) * 8 - 2 | |
Static Public Attributes | |
static constexpr size_t | MaxInternalSize = 3 * sizeof(void *) |
template<size_t S> | |
static constexpr bool | FitsInInternalSize = S <= MaxInternalSize |
template<typename T > | |
static constexpr bool | CanUseInternalSpace |
Definition at line 97 of file qvariant.h.
|
inlineconstexprnoexcept |
Definition at line 120 of file qvariant.h.
|
inlineexplicitnoexcept |
Definition at line 76 of file qvariant_p.h.
|
inlineexplicit |
Definition at line 83 of file qvariant_p.h.
|
inlinestaticconstexpr |
Definition at line 103 of file qvariant.h.
|
inline |
Definition at line 128 of file qvariant.h.
|
inline |
Definition at line 124 of file qvariant.h.
|
inline |
Definition at line 136 of file qvariant.h.
|
inline |
Definition at line 131 of file qvariant.h.
double QVariant::Private::_forAlignment |
Definition at line 114 of file qvariant.h.
|
staticconstexpr |
Definition at line 101 of file qvariant.h.
uchar QVariant::Private::data[MaxInternalSize] = {} |
Definition at line 112 of file qvariant.h.
union { ... } QVariant::Private::data |
|
staticconstexpr |
Definition at line 100 of file qvariant.h.
quintptr QVariant::Private::is_null |
Definition at line 117 of file qvariant.h.
quintptr QVariant::Private::is_shared |
Definition at line 116 of file qvariant.h.
|
staticconstexpr |
Definition at line 99 of file qvariant.h.
quintptr QVariant::Private::packedType |
Definition at line 118 of file qvariant.h.
PrivateShared* QVariant::Private::shared |
Definition at line 113 of file qvariant.h.