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 2524 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 2530 of file qmetatype.h.

Member Data Documentation

◆ IsConstMetaTypeInterface

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

Definition at line 2529 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:2494
static constexpr QMetaTypeInterface::CopyCtrFn getCopyCtr()
Definition qmetatype.h:2465
static constexpr QMetaTypeInterface::LegacyRegisterOp getLegacyRegister()
Definition qmetatype.h:2504
static constexpr unsigned flags()
Definition qmetatype.h:2418
static constexpr const char * getName()
Definition qmetatype.h:2513
static constexpr QMetaTypeInterface::DefaultCtrFn getDefaultCtr()
Definition qmetatype.h:2456
static constexpr QMetaTypeInterface::MoveCtrFn getMoveCtr()
Definition qmetatype.h:2483
static constexpr ushort CurrentRevision
Definition qmetatype.h:280
static constexpr MetaObjectFn metaObjectFunction
Definition qmetatype.h:1038
static constexpr QMetaTypeInterface::DataStreamOutFn dataStreamOut
Definition qmetatype.h:2369
static constexpr QMetaTypeInterface::DataStreamInFn dataStreamIn
Definition qmetatype.h:2370
static constexpr QMetaTypeInterface::DebugStreamFn debugStream
Definition qmetatype.h:2354
QT_WARNING_PUSH static QT_WARNING_DISABLE_FLOAT_COMPARE bool equals(const QMetaTypeInterface *, const void *a, const void *b)
Definition qmetatype.h:2327
static bool lessThan(const QMetaTypeInterface *, const void *a, const void *b)
Definition qmetatype.h:2341

Definition at line 2532 of file qmetatype.h.


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