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
MetaType Class Reference

#include <qmetatypesjsonprocessor_p.h>

+ Collaboration diagram for MetaType:

Public Types

using Kind = MetaTypePrivate::Kind
 

Public Member Functions

 MetaType ()=default
 
 MetaType (const QCborMap &cbor, const QString &inputFile)
 
bool isEmpty () const
 
QString inputFile () const
 
int lineNumber () const
 
QAnyStringView className () const
 
QAnyStringView qualifiedClassName () const
 
const BaseType::ContainersuperClasses () const
 
const ClassInfo::ContainerclassInfos () const
 
const Interface::Containerifaces () const
 
const Property::Container & properties () const
 
const Method::Containermethods () const
 
const Method::Containersigs () const
 
const Method::Containerconstructors () const
 
const Enum::Containerenums () const
 
Kind kind () const
 

Friends

bool operator== (const MetaType &a, const MetaType &b) noexcept
 
bool operator!= (const MetaType &a, const MetaType &b) noexcept
 

Detailed Description

Definition at line 175 of file qmetatypesjsonprocessor_p.h.

Member Typedef Documentation

◆ Kind

Constructor & Destructor Documentation

◆ MetaType() [1/2]

MetaType::MetaType ( )
default

Referenced by QmlTypesClassDescription::collect().

+ Here is the caller graph for this function:

◆ MetaType() [2/2]

MetaType::MetaType ( const QCborMap & cbor,
const QString & inputFile )

Definition at line 850 of file qmetatypesjsonprocessor.cpp.

References MetaType().

Referenced by MetaType().

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

Member Function Documentation

◆ classInfos()

const ClassInfo::Container & MetaType::classInfos ( ) const
inline

Definition at line 190 of file qmetatypesjsonprocessor_p.h.

◆ className()

QAnyStringView MetaType::className ( ) const
inline

Definition at line 187 of file qmetatypesjsonprocessor_p.h.

◆ constructors()

const Method::Container & MetaType::constructors ( ) const
inline

Definition at line 196 of file qmetatypesjsonprocessor_p.h.

◆ enums()

const Enum::Container & MetaType::enums ( ) const
inline

Definition at line 198 of file qmetatypesjsonprocessor_p.h.

◆ ifaces()

const Interface::Container & MetaType::ifaces ( ) const
inline

Definition at line 191 of file qmetatypesjsonprocessor_p.h.

◆ inputFile()

QString MetaType::inputFile ( ) const
inline

Definition at line 185 of file qmetatypesjsonprocessor_p.h.

◆ isEmpty()

bool MetaType::isEmpty ( ) const
inline

Definition at line 183 of file qmetatypesjsonprocessor_p.h.

Referenced by QmlTypesClassDescription::collect(), FoundType::operator bool(), and FoundType::select().

+ Here is the caller graph for this function:

◆ kind()

Kind MetaType::kind ( ) const
inline

Definition at line 200 of file qmetatypesjsonprocessor_p.h.

◆ lineNumber()

int MetaType::lineNumber ( ) const
inline

Definition at line 186 of file qmetatypesjsonprocessor_p.h.

References MetaTypePrivate::lineNumber.

Referenced by warning().

+ Here is the caller graph for this function:

◆ methods()

const Method::Container & MetaType::methods ( ) const
inline

Definition at line 194 of file qmetatypesjsonprocessor_p.h.

◆ properties()

const Property::Container & MetaType::properties ( ) const
inline

Definition at line 193 of file qmetatypesjsonprocessor_p.h.

◆ qualifiedClassName()

QAnyStringView MetaType::qualifiedClassName ( ) const
inline

Definition at line 188 of file qmetatypesjsonprocessor_p.h.

◆ sigs()

const Method::Container & MetaType::sigs ( ) const
inline

Definition at line 195 of file qmetatypesjsonprocessor_p.h.

◆ superClasses()

const BaseType::Container & MetaType::superClasses ( ) const
inline

Definition at line 189 of file qmetatypesjsonprocessor_p.h.

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const MetaType & a,
const MetaType & b )
friend

Definition at line 208 of file qmetatypesjsonprocessor_p.h.

◆ operator==

bool operator== ( const MetaType & a,
const MetaType & b )
friend

Definition at line 203 of file qmetatypesjsonprocessor_p.h.


The documentation for this class was generated from the following files: