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
QQmlPrivate::AOTCompiledContext Struct Reference

#include <qqmlprivate.h>

Collaboration diagram for QQmlPrivate::AOTCompiledContext:

Public Types

enum  : uint { InvalidStringId = (std::numeric_limits<uint>::max)() }

Public Member Functions

QObjectthisObject () const
QQmlEngineqmlEngine () const
QJSValue jsMetaType (int index) const
void setInstructionPointer (int offset) const
void setLocals (const AOTTrackedLocalsStorage *locals) const
void setReturnValueUndefined () const
bool captureLookup (uint index, QObject *object) const
bool captureQmlContextPropertyLookup (uint index) const
void captureTranslation () const
QString translationContext () const
QMetaType lookupResultMetaType (uint index) const
void storeNameSloppy (uint nameIndex, void *value, QMetaType type) const
QJSValue javaScriptGlobalProperty (uint nameIndex) const
const QLoggingCategoryresolveLoggingCategory (QObject *wrapper, bool *ok) const
void writeToConsole (QtMsgType type, const QString &message, const QLoggingCategory *loggingCategory) const
QVariant constructValueType (QMetaType resultMetaType, const QMetaObject *resultMetaObject, int ctorIndex, void **args) const
QDateTime constructDateTime (double timestamp) const
QDateTime constructDateTime (const QString &string) const
QDateTime constructDateTime (const QJSPrimitiveValue &arg) const
QDateTime constructDateTime (double year, double month, double day=1, double hours=0, double minutes=0, double seconds=0, double msecs=0) const
bool callQmlContextPropertyLookup (uint index, void **args, int argc) const
void initCallQmlContextPropertyLookup (uint index, int relativeMethodIndex) const
bool loadContextIdLookup (uint index, void *target) const
void initLoadContextIdLookup (uint index) const
bool callObjectPropertyLookup (uint index, QObject *object, void **args, int argc) const
void initCallObjectPropertyLookup (uint index, QObject *object, int relativeMethodIndex) const
void initCallObjectPropertyLookupAsVariant (uint index, QObject *object) const
bool loadGlobalLookup (uint index, void *target) const
void initLoadGlobalLookup (uint index, QMetaType type) const
bool loadScopeObjectPropertyLookup (uint index, void *target) const
bool writeBackScopeObjectPropertyLookup (uint index, void *source) const
void initLoadScopeObjectPropertyLookup (uint index) const
bool loadSingletonLookup (uint index, void *target) const
void initLoadSingletonLookup (uint index, uint importNamespace) const
bool loadAttachedLookup (uint index, QObject *object, void *target) const
void initLoadAttachedLookup (uint index, uint importNamespace, QObject *object) const
bool loadTypeLookup (uint index, void *target) const
void initLoadTypeLookup (uint index, uint importNamespace) const
bool getObjectLookup (uint index, QObject *object, void *target) const
bool writeBackObjectLookup (uint index, QObject *object, void *source) const
void initGetObjectLookup (uint index, QObject *object) const
void initGetObjectLookupAsVariant (uint index, QObject *object) const
bool getValueLookup (uint index, void *value, void *target) const
bool writeBackValueLookup (uint index, void *value, void *source) const
void initGetValueLookup (uint index, const QMetaObject *metaObject) const
bool getEnumLookup (uint index, void *target) const
void initGetEnumLookup (uint index, const QMetaObject *metaObject, const char *enumerator, const char *enumValue) const
bool setObjectLookup (uint index, QObject *object, void *value) const
void initSetObjectLookup (uint index, QObject *object) const
void initSetObjectLookupAsVariant (uint index, QObject *object) const
bool setValueLookup (uint index, void *target, void *value) const
void initSetValueLookup (uint index, const QMetaObject *metaObject) const
void initSetValueLookupAsVariant (uint index, const QMetaObject *metaObject) const
bool callValueLookup (uint index, void *target, void **args, int argc) const
void initCallValueLookup (uint index, const QMetaObject *metaObject, int relativeMethodIndex) const
void setObjectImplicitDestructible (QObject *object) const
void setImplicitDestructible (QObject *object) const
void setImplicitDestructible (const QVariant &variant) const
template<typename Value>
void setImplicitDestructible (const Value &value) const

Static Public Member Functions

static void mark (QObject *object, QV4::MarkStack *markStack)
static void mark (const QVariant &variant, QV4::MarkStack *markStack)
template<typename T>
static void mark (T, QV4::MarkStack *)

Public Attributes

QQmlContextDataqmlContext
QObjectqmlScopeObject
QJSEngineengine
union { 
   QV4::ExecutableCompilationUnit *   compilationUnit 
   qintptr   extraData 
}; 

Detailed Description

Definition at line 660 of file qqmlprivate.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : uint
Enumerator
InvalidStringId 

Definition at line 1 of file qqmlprivate.h.

Member Function Documentation

◆ callObjectPropertyLookup()

bool QQmlPrivate::AOTCompiledContext::callObjectPropertyLookup ( uint index,
QObject * object,
void ** args,
int argc ) const

Definition at line 2421 of file qqml.cpp.

◆ callQmlContextPropertyLookup()

bool QQmlPrivate::AOTCompiledContext::callQmlContextPropertyLookup ( uint index,
void ** args,
int argc ) const

Definition at line 2260 of file qqml.cpp.

◆ callValueLookup()

bool QQmlPrivate::AOTCompiledContext::callValueLookup ( uint index,
void * target,
void ** args,
int argc ) const

Definition at line 3154 of file qqml.cpp.

◆ captureLookup()

bool QQmlPrivate::AOTCompiledContext::captureLookup ( uint index,
QObject * object ) const

Definition at line 1818 of file qqml.cpp.

◆ captureQmlContextPropertyLookup()

bool QQmlPrivate::AOTCompiledContext::captureQmlContextPropertyLookup ( uint index) const

Definition at line 1847 of file qqml.cpp.

◆ captureTranslation()

void QQmlPrivate::AOTCompiledContext::captureTranslation ( ) const

Definition at line 1871 of file qqml.cpp.

◆ constructDateTime() [1/4]

QDateTime QQmlPrivate::AOTCompiledContext::constructDateTime ( const QJSPrimitiveValue & arg) const
inline

Definition at line 711 of file qqmlprivate.h.

◆ constructDateTime() [2/4]

QDateTime QQmlPrivate::AOTCompiledContext::constructDateTime ( const QString & string) const

Definition at line 2114 of file qqml.cpp.

◆ constructDateTime() [3/4]

QDateTime QQmlPrivate::AOTCompiledContext::constructDateTime ( double timestamp) const

Definition at line 2109 of file qqml.cpp.

◆ constructDateTime() [4/4]

QDateTime QQmlPrivate::AOTCompiledContext::constructDateTime ( double year,
double month,
double day = 1,
double hours = 0,
double minutes = 0,
double seconds = 0,
double msecs = 0 ) const

Definition at line 2119 of file qqml.cpp.

◆ constructValueType()

QVariant QQmlPrivate::AOTCompiledContext::constructValueType ( QMetaType resultMetaType,
const QMetaObject * resultMetaObject,
int ctorIndex,
void ** args ) const

Definition at line 2101 of file qqml.cpp.

◆ getEnumLookup()

bool QQmlPrivate::AOTCompiledContext::getEnumLookup ( uint index,
void * target ) const

Definition at line 2926 of file qqml.cpp.

◆ getObjectLookup()

bool QQmlPrivate::AOTCompiledContext::getObjectLookup ( uint index,
QObject * object,
void * target ) const

Definition at line 2788 of file qqml.cpp.

◆ getValueLookup()

bool QQmlPrivate::AOTCompiledContext::getValueLookup ( uint index,
void * value,
void * target ) const

Definition at line 2880 of file qqml.cpp.

◆ initCallObjectPropertyLookup()

void QQmlPrivate::AOTCompiledContext::initCallObjectPropertyLookup ( uint index,
QObject * object,
int relativeMethodIndex ) const

Definition at line 2501 of file qqml.cpp.

◆ initCallObjectPropertyLookupAsVariant()

void QQmlPrivate::AOTCompiledContext::initCallObjectPropertyLookupAsVariant ( uint index,
QObject * object ) const

Definition at line 2467 of file qqml.cpp.

◆ initCallQmlContextPropertyLookup()

void QQmlPrivate::AOTCompiledContext::initCallQmlContextPropertyLookup ( uint index,
int relativeMethodIndex ) const

Definition at line 2329 of file qqml.cpp.

◆ initCallValueLookup()

void QQmlPrivate::AOTCompiledContext::initCallValueLookup ( uint index,
const QMetaObject * metaObject,
int relativeMethodIndex ) const

Definition at line 3174 of file qqml.cpp.

◆ initGetEnumLookup()

void QQmlPrivate::AOTCompiledContext::initGetEnumLookup ( uint index,
const QMetaObject * metaObject,
const char * enumerator,
const char * enumValue ) const

Definition at line 2966 of file qqml.cpp.

◆ initGetObjectLookup()

void QQmlPrivate::AOTCompiledContext::initGetObjectLookup ( uint index,
QObject * object ) const

Definition at line 2864 of file qqml.cpp.

◆ initGetObjectLookupAsVariant()

void QQmlPrivate::AOTCompiledContext::initGetObjectLookupAsVariant ( uint index,
QObject * object ) const

Definition at line 2872 of file qqml.cpp.

◆ initGetValueLookup()

void QQmlPrivate::AOTCompiledContext::initGetValueLookup ( uint index,
const QMetaObject * metaObject ) const

Definition at line 2918 of file qqml.cpp.

◆ initLoadAttachedLookup()

void QQmlPrivate::AOTCompiledContext::initLoadAttachedLookup ( uint index,
uint importNamespace,
QObject * object ) const

Definition at line 2734 of file qqml.cpp.

◆ initLoadContextIdLookup()

void QQmlPrivate::AOTCompiledContext::initLoadContextIdLookup ( uint index) const

Definition at line 2396 of file qqml.cpp.

◆ initLoadGlobalLookup()

void QQmlPrivate::AOTCompiledContext::initLoadGlobalLookup ( uint index,
QMetaType type ) const

Definition at line 2553 of file qqml.cpp.

◆ initLoadScopeObjectPropertyLookup()

void QQmlPrivate::AOTCompiledContext::initLoadScopeObjectPropertyLookup ( uint index) const

Definition at line 2632 of file qqml.cpp.

◆ initLoadSingletonLookup()

void QQmlPrivate::AOTCompiledContext::initLoadSingletonLookup ( uint index,
uint importNamespace ) const

Definition at line 2714 of file qqml.cpp.

◆ initLoadTypeLookup()

void QQmlPrivate::AOTCompiledContext::initLoadTypeLookup ( uint index,
uint importNamespace ) const

Definition at line 2782 of file qqml.cpp.

◆ initSetObjectLookup()

void QQmlPrivate::AOTCompiledContext::initSetObjectLookup ( uint index,
QObject * object ) const

Definition at line 3026 of file qqml.cpp.

◆ initSetObjectLookupAsVariant()

void QQmlPrivate::AOTCompiledContext::initSetObjectLookupAsVariant ( uint index,
QObject * object ) const

Definition at line 3034 of file qqml.cpp.

◆ initSetValueLookup()

void QQmlPrivate::AOTCompiledContext::initSetValueLookup ( uint index,
const QMetaObject * metaObject ) const

Definition at line 3143 of file qqml.cpp.

◆ initSetValueLookupAsVariant()

void QQmlPrivate::AOTCompiledContext::initSetValueLookupAsVariant ( uint index,
const QMetaObject * metaObject ) const

Definition at line 3148 of file qqml.cpp.

◆ javaScriptGlobalProperty()

QJSValue QQmlPrivate::AOTCompiledContext::javaScriptGlobalProperty ( uint nameIndex) const

Definition at line 2041 of file qqml.cpp.

◆ jsMetaType()

QJSValue QQmlPrivate::AOTCompiledContext::jsMetaType ( int index) const

Definition at line 1178 of file qqml.cpp.

◆ loadAttachedLookup()

bool QQmlPrivate::AOTCompiledContext::loadAttachedLookup ( uint index,
QObject * object,
void * target ) const

Definition at line 2720 of file qqml.cpp.

◆ loadContextIdLookup()

bool QQmlPrivate::AOTCompiledContext::loadContextIdLookup ( uint index,
void * target ) const

Definition at line 2361 of file qqml.cpp.

◆ loadGlobalLookup()

bool QQmlPrivate::AOTCompiledContext::loadGlobalLookup ( uint index,
void * target ) const

Definition at line 2537 of file qqml.cpp.

◆ loadScopeObjectPropertyLookup()

bool QQmlPrivate::AOTCompiledContext::loadScopeObjectPropertyLookup ( uint index,
void * target ) const

Definition at line 2564 of file qqml.cpp.

◆ loadSingletonLookup()

bool QQmlPrivate::AOTCompiledContext::loadSingletonLookup ( uint index,
void * target ) const

Definition at line 2640 of file qqml.cpp.

◆ loadTypeLookup()

bool QQmlPrivate::AOTCompiledContext::loadTypeLookup ( uint index,
void * target ) const

Definition at line 2767 of file qqml.cpp.

◆ lookupResultMetaType()

QMetaType QQmlPrivate::AOTCompiledContext::lookupResultMetaType ( uint index) const

Definition at line 1886 of file qqml.cpp.

◆ mark() [1/3]

void QQmlPrivate::AOTCompiledContext::mark ( const QVariant & variant,
QV4::MarkStack * markStack )
static

Definition at line 1279 of file qqml.cpp.

◆ mark() [2/3]

void QQmlPrivate::AOTCompiledContext::mark ( QObject * object,
QV4::MarkStack * markStack )
static

Definition at line 1203 of file qqml.cpp.

◆ mark() [3/3]

template<typename T>
void QQmlPrivate::AOTCompiledContext::mark ( T ,
QV4::MarkStack *  )
inlinestatic

Definition at line 682 of file qqmlprivate.h.

◆ qmlEngine()

QQmlEngine * QQmlPrivate::AOTCompiledContext::qmlEngine ( ) const

Definition at line 1167 of file qqml.cpp.

◆ resolveLoggingCategory()

const QLoggingCategory * QQmlPrivate::AOTCompiledContext::resolveLoggingCategory ( QObject * wrapper,
bool * ok ) const

Definition at line 2049 of file qqml.cpp.

◆ setImplicitDestructible() [1/3]

void QQmlPrivate::AOTCompiledContext::setImplicitDestructible ( const QVariant & variant) const
inline

Definition at line 836 of file qqmlprivate.h.

◆ setImplicitDestructible() [2/3]

template<typename Value>
void QQmlPrivate::AOTCompiledContext::setImplicitDestructible ( const Value & value) const
inline

Definition at line 848 of file qqmlprivate.h.

◆ setImplicitDestructible() [3/3]

void QQmlPrivate::AOTCompiledContext::setImplicitDestructible ( QObject * object) const
inline

Definition at line 830 of file qqmlprivate.h.

◆ setInstructionPointer()

void QQmlPrivate::AOTCompiledContext::setInstructionPointer ( int offset) const

Definition at line 1184 of file qqml.cpp.

◆ setLocals()

void QQmlPrivate::AOTCompiledContext::setLocals ( const AOTTrackedLocalsStorage * locals) const

Definition at line 1190 of file qqml.cpp.

◆ setObjectImplicitDestructible()

void QQmlPrivate::AOTCompiledContext::setObjectImplicitDestructible ( QObject * object) const

Definition at line 3191 of file qqml.cpp.

◆ setObjectLookup()

bool QQmlPrivate::AOTCompiledContext::setObjectLookup ( uint index,
QObject * object,
void * value ) const

Definition at line 2985 of file qqml.cpp.

◆ setReturnValueUndefined()

void QQmlPrivate::AOTCompiledContext::setReturnValueUndefined ( ) const

Definition at line 1195 of file qqml.cpp.

◆ setValueLookup()

bool QQmlPrivate::AOTCompiledContext::setValueLookup ( uint index,
void * target,
void * value ) const

Definition at line 3101 of file qqml.cpp.

◆ storeNameSloppy()

void QQmlPrivate::AOTCompiledContext::storeNameSloppy ( uint nameIndex,
void * value,
QMetaType type ) const

Definition at line 1940 of file qqml.cpp.

◆ thisObject()

QObject * QQmlPrivate::AOTCompiledContext::thisObject ( ) const

Definition at line 1161 of file qqml.cpp.

◆ translationContext()

QString QQmlPrivate::AOTCompiledContext::translationContext ( ) const

Definition at line 1877 of file qqml.cpp.

◆ writeBackObjectLookup()

bool QQmlPrivate::AOTCompiledContext::writeBackObjectLookup ( uint index,
QObject * object,
void * source ) const

Definition at line 2830 of file qqml.cpp.

◆ writeBackScopeObjectPropertyLookup()

bool QQmlPrivate::AOTCompiledContext::writeBackScopeObjectPropertyLookup ( uint index,
void * source ) const

Definition at line 2602 of file qqml.cpp.

◆ writeBackValueLookup()

bool QQmlPrivate::AOTCompiledContext::writeBackValueLookup ( uint index,
void * value,
void * source ) const

Definition at line 2899 of file qqml.cpp.

◆ writeToConsole()

void QQmlPrivate::AOTCompiledContext::writeToConsole ( QtMsgType type,
const QString & message,
const QLoggingCategory * loggingCategory ) const

Definition at line 2070 of file qqml.cpp.

Member Data Documentation

◆ [union]

◆ compilationUnit

QV4::ExecutableCompilationUnit* QQmlPrivate::AOTCompiledContext::compilationUnit

Definition at line 667 of file qqmlprivate.h.

◆ engine

QJSEngine* QQmlPrivate::AOTCompiledContext::engine

Definition at line 665 of file qqmlprivate.h.

◆ extraData

qintptr QQmlPrivate::AOTCompiledContext::extraData

Definition at line 668 of file qqmlprivate.h.

◆ qmlContext

QQmlContextData* QQmlPrivate::AOTCompiledContext::qmlContext

Definition at line 663 of file qqmlprivate.h.

◆ qmlScopeObject

QObject* QQmlPrivate::AOTCompiledContext::qmlScopeObject

Definition at line 664 of file qqmlprivate.h.


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