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
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 739 of file qv4compileddata_p.h.

Member Function Documentation

◆ calculateSize()

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

Definition at line 749 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 745 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 758 of file qv4compileddata_p.h.

References nEnumValues.

◆ enumValuesBegin()

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

Definition at line 756 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 757 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 743 of file qv4compileddata_p.h.

◆ nameIndex

quint32_le QV4::CompiledData::Enum::nameIndex

Definition at line 741 of file qv4compileddata_p.h.

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

◆ nEnumValues

quint32_le QV4::CompiledData::Enum::nEnumValues

Definition at line 742 of file qv4compileddata_p.h.

Referenced by calculateSize(), enumValueCount(), and enumValuesEnd().


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