Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtMetaTypePrivate Namespace Reference

Classes

struct  QPairVariantInterfaceConvertFunctor
 
struct  QPairVariantInterfaceConvertFunctor< std::pair< T, U > >
 
class  QPairVariantInterfaceImpl
 
struct  TypeDefinition
 
struct  TypeDefinition< QRegularExpression >
 

Functions

template<typename T >
bool isInterfaceFor (const QtPrivate::QMetaTypeInterface *iface)
 
template<typename FPointer >
bool checkMetaTypeFlagOrPointer (const QtPrivate::QMetaTypeInterface *iface, FPointer ptr, QMetaType::TypeFlag Flag)
 
bool isDefaultConstructible (const QtPrivate::QMetaTypeInterface *iface) noexcept
 
bool isCopyConstructible (const QtPrivate::QMetaTypeInterface *iface) noexcept
 
bool isMoveConstructible (const QtPrivate::QMetaTypeInterface *iface) noexcept
 
bool isDestructible (const QtPrivate::QMetaTypeInterface *iface) noexcept
 
void defaultConstruct (const QtPrivate::QMetaTypeInterface *iface, void *where)
 
void copyConstruct (const QtPrivate::QMetaTypeInterface *iface, void *where, const void *copy)
 
void moveConstruct (const QtPrivate::QMetaTypeInterface *iface, void *where, void *copy)
 
void construct (const QtPrivate::QMetaTypeInterface *iface, void *where, const void *copy)
 
void destruct (const QtPrivate::QMetaTypeInterface *iface, void *where)
 
const char * typedefNameForType (const QtPrivate::QMetaTypeInterface *type_d)
 
template<typename T >
static const QT_PREPEND_NAMESPACE (QtPrivate::QMetaTypeInterface) *getInterfaceFromType()
 

Function Documentation

◆ checkMetaTypeFlagOrPointer()

template<typename FPointer >
bool QtMetaTypePrivate::checkMetaTypeFlagOrPointer ( const QtPrivate::QMetaTypeInterface * iface,
FPointer ptr,
QMetaType::TypeFlag Flag )
inline

Definition at line 129 of file qmetatype_p.h.

References ptr(), and Q_ASSERT.

Referenced by isCopyConstructible(), isDefaultConstructible(), isDestructible(), and isMoveConstructible().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ construct()

void QtMetaTypePrivate::construct ( const QtPrivate::QMetaTypeInterface * iface,
void * where,
const void * copy )
inline

Definition at line 191 of file qmetatype_p.h.

References copy(), copyConstruct(), and defaultConstruct().

Referenced by QMetaType::construct(), and QMetaType::create().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ copyConstruct()

void QtMetaTypePrivate::copyConstruct ( const QtPrivate::QMetaTypeInterface * iface,
void * where,
const void * copy )
inline

Definition at line 173 of file qmetatype_p.h.

References copy(), isCopyConstructible(), and Q_ASSERT.

Referenced by construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ defaultConstruct()

void QtMetaTypePrivate::defaultConstruct ( const QtPrivate::QMetaTypeInterface * iface,
void * where )
inline

Definition at line 164 of file qmetatype_p.h.

References isDefaultConstructible(), and Q_ASSERT.

Referenced by construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ destruct()

void QtMetaTypePrivate::destruct ( const QtPrivate::QMetaTypeInterface * iface,
void * where )
inline

Definition at line 199 of file qmetatype_p.h.

References isDestructible(), and Q_ASSERT.

Referenced by QMetaType::destroy(), and QMetaType::destruct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isCopyConstructible()

bool QtMetaTypePrivate::isCopyConstructible ( const QtPrivate::QMetaTypeInterface * iface)
inlinenoexcept

Definition at line 144 of file qmetatype_p.h.

References checkMetaTypeFlagOrPointer(), and QMetaType::NeedsCopyConstruction.

Referenced by copyConstruct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isDefaultConstructible()

bool QtMetaTypePrivate::isDefaultConstructible ( const QtPrivate::QMetaTypeInterface * iface)
inlinenoexcept

Definition at line 139 of file qmetatype_p.h.

References checkMetaTypeFlagOrPointer(), and QMetaType::NeedsConstruction.

Referenced by defaultConstruct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isDestructible()

bool QtMetaTypePrivate::isDestructible ( const QtPrivate::QMetaTypeInterface * iface)
inlinenoexcept

Definition at line 154 of file qmetatype_p.h.

References checkMetaTypeFlagOrPointer(), and QMetaType::NeedsDestruction.

Referenced by destruct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isInterfaceFor()

template<typename T >
bool QtMetaTypePrivate::isInterfaceFor ( const QtPrivate::QMetaTypeInterface * iface)
inline

Definition at line 120 of file qmetatype_p.h.

◆ isMoveConstructible()

bool QtMetaTypePrivate::isMoveConstructible ( const QtPrivate::QMetaTypeInterface * iface)
inlinenoexcept

Definition at line 149 of file qmetatype_p.h.

References checkMetaTypeFlagOrPointer(), and QMetaType::NeedsMoveConstruction.

Referenced by moveConstruct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ moveConstruct()

void QtMetaTypePrivate::moveConstruct ( const QtPrivate::QMetaTypeInterface * iface,
void * where,
void * copy )
inline

Definition at line 182 of file qmetatype_p.h.

References copy(), isMoveConstructible(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ QT_PREPEND_NAMESPACE()

template<typename T >
static const QtMetaTypePrivate::QT_PREPEND_NAMESPACE ( QtPrivate::QMetaTypeInterface )
static

Definition at line 209 of file qmetatype_p.h.

◆ typedefNameForType()

const char * QtMetaTypePrivate::typedefNameForType ( const QtPrivate::QMetaTypeInterface * type_d)

Definition at line 173 of file qmetatype.cpp.

References QSet< T >::constBegin(), it, and qWarning.

Referenced by QVariant::save().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: