![]() |
Qt 6.x
The Qt SDK
|
#include <qvariant.h>
Collaboration diagram for QVariant::Private: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 96 of file qvariant.h.
|
inlineconstexprnoexcept |
Definition at line 119 of file qvariant.h.
|
inlineexplicitnoexcept |
Definition at line 70 of file qvariant_p.h.
References Q_ASSERT.
|
inlineexplicit |
Definition at line 77 of file qvariant_p.h.
References QVariant::QVariant(), customConstructShared(), packedType, and Q_ASSERT.
Here is the call graph for this function:
|
inlinestaticconstexpr |
Definition at line 102 of file qvariant.h.
References Q_ASSERT, and QMetaType::RelocatableType.
Referenced by createVariantData().
Here is the caller graph for this function:
|
inline |
Definition at line 127 of file qvariant.h.
Referenced by QVariant::isNull(), and QVariant::toBool().
Here is the caller graph for this function:
|
inline |
Definition at line 123 of file qvariant.h.
Referenced by QVariant::equals().
Here is the caller graph for this function:
|
inline |
Definition at line 135 of file qvariant.h.
Referenced by QVariant::compare(), QVariant::convert(), QVariant::convert(), QVariant::equals(), QVariant::isValid(), QVariant::load(), QVariant::metaType(), QVariant::save(), QVariant::toBool(), QVariant::typeName(), and QVariant::view().
Here is the caller graph for this function:
|
inline |
Definition at line 130 of file qvariant.h.
Referenced by QVariant::detach().
Here is the caller graph for this function:| double QVariant::Private::_forAlignment |
Definition at line 113 of file qvariant.h.
|
staticconstexpr |
Definition at line 100 of file qvariant.h.
| uchar QVariant::Private::data[MaxInternalSize] = {} |
Definition at line 111 of file qvariant.h.
Referenced by QQmlVMEResolvedList::QQmlVMEResolvedList(), QVariant::~QVariant(), QVariant::clear(), QV4::coerce(), QVariant::detach(), QVariant::isDetached(), QQmlVMEMetaObject::metaCall(), QV4::ExecutionEngine::metaTypeFromJS(), qtObjectFromJS(), and QObjectPointerBinding::write().
| union { ... } QVariant::Private::data |
|
staticconstexpr |
Definition at line 99 of file qvariant.h.
| quintptr QVariant::Private::is_null |
Definition at line 116 of file qvariant.h.
Referenced by QVariant::convert(), QVariant::data(), QVariant::isNull(), QVariant::load(), and QVariant::save().
| quintptr QVariant::Private::is_shared |
Definition at line 115 of file qvariant.h.
Referenced by QVariant::~QVariant(), QVariant::clear(), QVariant::detach(), and QVariant::isDetached().
|
staticconstexpr |
Definition at line 98 of file qvariant.h.
| quintptr QVariant::Private::packedType |
Definition at line 117 of file qvariant.h.
Referenced by Private().
| PrivateShared* QVariant::Private::shared |
Definition at line 112 of file qvariant.h.