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 2554 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 2560 of file qmetatype.h.

Member Data Documentation

◆ IsConstMetaTypeInterface

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

Definition at line 2559 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:2524
static constexpr QMetaTypeInterface::CopyCtrFn getCopyCtr()
Definition qmetatype.h:2495
static constexpr QMetaTypeInterface::LegacyRegisterOp getLegacyRegister()
Definition qmetatype.h:2534
static constexpr unsigned flags()
Definition qmetatype.h:2448
static constexpr const char * getName()
Definition qmetatype.h:2543
static constexpr QMetaTypeInterface::DefaultCtrFn getDefaultCtr()
Definition qmetatype.h:2486
static constexpr QMetaTypeInterface::MoveCtrFn getMoveCtr()
Definition qmetatype.h:2513
static constexpr ushort CurrentRevision
Definition qmetatype.h:280
static constexpr MetaObjectFn metaObjectFunction
Definition qmetatype.h:1050
static constexpr QMetaTypeInterface::DataStreamOutFn dataStreamOut
Definition qmetatype.h:2399
static constexpr QMetaTypeInterface::DataStreamInFn dataStreamIn
Definition qmetatype.h:2400
static constexpr QMetaTypeInterface::DebugStreamFn debugStream
Definition qmetatype.h:2384
QT_WARNING_PUSH static QT_WARNING_DISABLE_FLOAT_COMPARE bool equals(const QMetaTypeInterface *, const void *a, const void *b)
Definition qmetatype.h:2357
static bool lessThan(const QMetaTypeInterface *, const void *a, const void *b)
Definition qmetatype.h:2371

Definition at line 2562 of file qmetatype.h.


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