QtBase  v6.3.1
Public Types | Static Public Member Functions | List of all members
QtPrivate::IsPointerToTypeDerivedFromQObject< T * > Struct Template Reference

#include <qmetatype.h>

Inheritance diagram for QtPrivate::IsPointerToTypeDerivedFromQObject< T * >:
Inheritance graph
[legend]

Public Types

enum  { Value = sizeof(checkType(static_cast<T*>(nullptr))) == sizeof(yes_type) }
 
typedef qint8 yes_type
 
typedef qint64 no_type
 

Static Public Member Functions

static yes_type checkType (QObject *)
 
static yes_type checkType (const QObject *)
 
static no_type checkType (...)
 

Detailed Description

template<typename T>
struct QtPrivate::IsPointerToTypeDerivedFromQObject< T * >

Definition at line 848 of file qmetatype.h.

Member Typedef Documentation

◆ no_type

template<typename T >
typedef qint64 QtPrivate::IsPointerToTypeDerivedFromQObject< T * >::no_type

Definition at line 851 of file qmetatype.h.

◆ yes_type

template<typename T >
typedef qint8 QtPrivate::IsPointerToTypeDerivedFromQObject< T * >::yes_type

Definition at line 850 of file qmetatype.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
Value 

Definition at line 859 of file qmetatype.h.

Member Function Documentation

◆ checkType() [1/3]

template<typename T >
static no_type QtPrivate::IsPointerToTypeDerivedFromQObject< T * >::checkType (   ...)
static

◆ checkType() [2/3]

template<typename T >
static yes_type QtPrivate::IsPointerToTypeDerivedFromQObject< T * >::checkType ( const QObject )
static

◆ checkType() [3/3]

template<typename T >
static yes_type QtPrivate::IsPointerToTypeDerivedFromQObject< T * >::checkType ( QObject )
static

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