Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtPrivate::QMetaTypeInterfaceWrapper< T > Struct Template Reference

#include <qmetatype.h>

Collaboration diagram for QtPrivate::QMetaTypeInterfaceWrapper< T >:

Public Types

using InterfaceType = std::conditional_t<IsConstMetaTypeInterface, const QMetaTypeInterface, NonConstMetaTypeInterface>

Static Public Attributes

static constexpr bool IsConstMetaTypeInterface = !!BuiltinMetaType<T>::value
static InterfaceType metaType

Detailed Description

template<typename T>
struct QtPrivate::QMetaTypeInterfaceWrapper< T >

Definition at line 2539 of file qmetatype.h.

Member Typedef Documentation

◆ InterfaceType

template<typename T>
using QtPrivate::QMetaTypeInterfaceWrapper< T >::InterfaceType = std::conditional_t<IsConstMetaTypeInterface, const QMetaTypeInterface, NonConstMetaTypeInterface>

Definition at line 2545 of file qmetatype.h.

Member Data Documentation

◆ IsConstMetaTypeInterface

template<typename T>
bool QtPrivate::QMetaTypeInterfaceWrapper< T >::IsConstMetaTypeInterface = !!BuiltinMetaType<T>::value
staticconstexpr

Definition at line 2544 of file qmetatype.h.

◆ metaType

template<typename T>
InterfaceType QtPrivate::QMetaTypeInterfaceWrapper< T >::metaType
inlinestatic
Initial value:
= {
alignof(T),
sizeof(T),
}
static constexpr QMetaTypeInterface::DtorFn getDtor()
Definition qmetatype.h:2509
static constexpr QMetaTypeInterface::CopyCtrFn getCopyCtr()
Definition qmetatype.h:2480
static constexpr QMetaTypeInterface::LegacyRegisterOp getLegacyRegister()
Definition qmetatype.h:2519
static constexpr unsigned flags()
Definition qmetatype.h:2433
static constexpr const char * getName()
Definition qmetatype.h:2528
static constexpr QMetaTypeInterface::DefaultCtrFn getDefaultCtr()
Definition qmetatype.h:2471
static constexpr QMetaTypeInterface::MoveCtrFn getMoveCtr()
Definition qmetatype.h:2498
static constexpr ushort CurrentRevision
Definition qmetatype.h:279
static constexpr MetaObjectFn metaObjectFunction
Definition qmetatype.h:995
static constexpr QMetaTypeInterface::DataStreamOutFn dataStreamOut
Definition qmetatype.h:2384
static constexpr QMetaTypeInterface::DataStreamInFn dataStreamIn
Definition qmetatype.h:2385
static constexpr QMetaTypeInterface::DebugStreamFn debugStream
Definition qmetatype.h:2369
QT_WARNING_PUSH static QT_WARNING_DISABLE_FLOAT_COMPARE bool equals(const QMetaTypeInterface *, const void *a, const void *b)
Definition qmetatype.h:2342
static bool lessThan(const QMetaTypeInterface *, const void *a, const void *b)
Definition qmetatype.h:2356

Definition at line 2547 of file qmetatype.h.


The documentation for this struct was generated from the following file: