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 2549 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 2555 of file qmetatype.h.

Member Data Documentation

◆ IsConstMetaTypeInterface

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

Definition at line 2554 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:2519
static constexpr QMetaTypeInterface::CopyCtrFn getCopyCtr()
Definition qmetatype.h:2490
static constexpr QMetaTypeInterface::LegacyRegisterOp getLegacyRegister()
Definition qmetatype.h:2529
static constexpr unsigned flags()
Definition qmetatype.h:2443
static constexpr const char * getName()
Definition qmetatype.h:2538
static constexpr QMetaTypeInterface::DefaultCtrFn getDefaultCtr()
Definition qmetatype.h:2481
static constexpr QMetaTypeInterface::MoveCtrFn getMoveCtr()
Definition qmetatype.h:2508
static constexpr ushort CurrentRevision
Definition qmetatype.h:280
static constexpr MetaObjectFn metaObjectFunction
Definition qmetatype.h:1020
static constexpr QMetaTypeInterface::DataStreamOutFn dataStreamOut
Definition qmetatype.h:2394
static constexpr QMetaTypeInterface::DataStreamInFn dataStreamIn
Definition qmetatype.h:2395
static constexpr QMetaTypeInterface::DebugStreamFn debugStream
Definition qmetatype.h:2379
QT_WARNING_PUSH static QT_WARNING_DISABLE_FLOAT_COMPARE bool equals(const QMetaTypeInterface *, const void *a, const void *b)
Definition qmetatype.h:2352
static bool lessThan(const QMetaTypeInterface *, const void *a, const void *b)
Definition qmetatype.h:2366

Definition at line 2557 of file qmetatype.h.


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