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
Enum Struct Reference

#include <qmetatypesjsonprocessor_p.h>

+ Collaboration diagram for Enum:

Public Types

using Container = std::vector<Enum>
 

Public Member Functions

 Enum ()=default
 
 Enum (const QCborMap &cbor)
 

Public Attributes

QAnyStringView name
 
QAnyStringView alias
 
QAnyStringView type
 
QList< QAnyStringViewvalues
 
bool isFlag = false
 
bool isClass = false
 

Detailed Description

Definition at line 125 of file qmetatypesjsonprocessor_p.h.

Member Typedef Documentation

◆ Container

using Enum::Container = std::vector<Enum>

Definition at line 127 of file qmetatypesjsonprocessor_p.h.

Constructor & Destructor Documentation

◆ Enum() [1/2]

Enum::Enum ( )
default

◆ Enum() [2/2]

Enum::Enum ( const QCborMap & cbor)

Definition at line 783 of file qmetatypesjsonprocessor.cpp.

References Constants::MetatypesDotJson::S_VALUES, and QAnyStringViewUtils::toStringView().

+ Here is the call graph for this function:

Member Data Documentation

◆ alias

QAnyStringView Enum::alias

Definition at line 133 of file qmetatypesjsonprocessor_p.h.

◆ isClass

bool Enum::isClass = false

Definition at line 139 of file qmetatypesjsonprocessor_p.h.

◆ isFlag

bool Enum::isFlag = false

Definition at line 138 of file qmetatypesjsonprocessor_p.h.

◆ name

QAnyStringView Enum::name

Definition at line 132 of file qmetatypesjsonprocessor_p.h.

Referenced by QQmlJSRegisterContent::descriptiveName().

◆ type

QAnyStringView Enum::type

Definition at line 134 of file qmetatypesjsonprocessor_p.h.

◆ values

QList<QAnyStringView> Enum::values

Definition at line 136 of file qmetatypesjsonprocessor_p.h.


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