Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QV4::CompiledData::Enum Struct Reference

#include <qv4compileddata_p.h>

+ Collaboration diagram for QV4::CompiledData::Enum:

Public Member Functions

const EnumValueenumValueAt (int idx) const
 
const EnumValueenumValuesBegin () const
 
const EnumValueenumValuesEnd () const
 
int enumValueCount () const
 

Static Public Member Functions

static int calculateSize (int nEnumValues)
 

Public Attributes

quint32_le nameIndex
 
quint32_le nEnumValues
 
Location location
 

Detailed Description

Definition at line 716 of file qv4compileddata_p.h.

Member Function Documentation

◆ calculateSize()

static int QV4::CompiledData::Enum::calculateSize ( int  nEnumValues)
inlinestatic

Definition at line 726 of file qv4compileddata_p.h.

References nEnumValues.

Referenced by QmlIR::QmlUnitGenerator::generate().

+ Here is the caller graph for this function:

◆ enumValueAt()

const EnumValue * QV4::CompiledData::Enum::enumValueAt ( int  idx) const
inline

Definition at line 722 of file qv4compileddata_p.h.

Referenced by enumValuesBegin(), and enumValuesEnd().

+ Here is the caller graph for this function:

◆ enumValueCount()

int QV4::CompiledData::Enum::enumValueCount ( ) const
inline

Definition at line 735 of file qv4compileddata_p.h.

References nEnumValues.

◆ enumValuesBegin()

const EnumValue * QV4::CompiledData::Enum::enumValuesBegin ( ) const
inline

Definition at line 733 of file qv4compileddata_p.h.

References enumValueAt().

+ Here is the call graph for this function:

◆ enumValuesEnd()

const EnumValue * QV4::CompiledData::Enum::enumValuesEnd ( ) const
inline

Definition at line 734 of file qv4compileddata_p.h.

References enumValueAt(), and nEnumValues.

+ Here is the call graph for this function:

Member Data Documentation

◆ location

Location QV4::CompiledData::Enum::location

Definition at line 720 of file qv4compileddata_p.h.

Referenced by QmlIR::QmlUnitGenerator::generate().

◆ nameIndex

quint32_le QV4::CompiledData::Enum::nameIndex

Definition at line 718 of file qv4compileddata_p.h.

Referenced by QmlIR::QmlUnitGenerator::generate().

◆ nEnumValues

quint32_le QV4::CompiledData::Enum::nEnumValues

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