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 630 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 2406 of file qqml.cpp.

◆ callQmlContextPropertyLookup()

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

Definition at line 2240 of file qqml.cpp.

◆ callValueLookup()

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

Definition at line 3146 of file qqml.cpp.

◆ captureLookup()

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

Definition at line 1804 of file qqml.cpp.

◆ captureQmlContextPropertyLookup()

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

Definition at line 1833 of file qqml.cpp.

◆ captureTranslation()

void QQmlPrivate::AOTCompiledContext::captureTranslation ( ) const

Definition at line 1857 of file qqml.cpp.

◆ constructDateTime() [1/4]

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

Definition at line 681 of file qqmlprivate.h.

◆ constructDateTime() [2/4]

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

Definition at line 2103 of file qqml.cpp.

◆ constructDateTime() [3/4]

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

Definition at line 2098 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 2108 of file qqml.cpp.

◆ constructValueType()

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

Definition at line 2090 of file qqml.cpp.

◆ getEnumLookup()

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

Definition at line 2919 of file qqml.cpp.

◆ getObjectLookup()

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

Definition at line 2783 of file qqml.cpp.

◆ getValueLookup()

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

Definition at line 2873 of file qqml.cpp.

◆ initCallObjectPropertyLookup()

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

Definition at line 2492 of file qqml.cpp.

◆ initCallObjectPropertyLookupAsVariant()

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

Definition at line 2452 of file qqml.cpp.

◆ initCallQmlContextPropertyLookup()

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

Definition at line 2308 of file qqml.cpp.

◆ initCallValueLookup()

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

Definition at line 3166 of file qqml.cpp.

◆ initGetEnumLookup()

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

Definition at line 2959 of file qqml.cpp.

◆ initGetObjectLookup()

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

Definition at line 2857 of file qqml.cpp.

◆ initGetObjectLookupAsVariant()

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

Definition at line 2865 of file qqml.cpp.

◆ initGetValueLookup()

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

Definition at line 2911 of file qqml.cpp.

◆ initLoadAttachedLookup()

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

Definition at line 2729 of file qqml.cpp.

◆ initLoadContextIdLookup()

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

Definition at line 2381 of file qqml.cpp.

◆ initLoadGlobalLookup()

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

Definition at line 2550 of file qqml.cpp.

◆ initLoadScopeObjectPropertyLookup()

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

Definition at line 2627 of file qqml.cpp.

◆ initLoadSingletonLookup()

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

Definition at line 2709 of file qqml.cpp.

◆ initLoadTypeLookup()

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

Definition at line 2777 of file qqml.cpp.

◆ initSetObjectLookup()

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

Definition at line 3018 of file qqml.cpp.

◆ initSetObjectLookupAsVariant()

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

Definition at line 3026 of file qqml.cpp.

◆ initSetValueLookup()

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

Definition at line 3135 of file qqml.cpp.

◆ initSetValueLookupAsVariant()

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

Definition at line 3140 of file qqml.cpp.

◆ javaScriptGlobalProperty()

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

Definition at line 2030 of file qqml.cpp.

◆ jsMetaType()

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

Definition at line 1175 of file qqml.cpp.

◆ loadAttachedLookup()

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

Definition at line 2715 of file qqml.cpp.

◆ loadContextIdLookup()

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

Definition at line 2346 of file qqml.cpp.

◆ loadGlobalLookup()

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

Definition at line 2534 of file qqml.cpp.

◆ loadScopeObjectPropertyLookup()

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

Definition at line 2561 of file qqml.cpp.

◆ loadSingletonLookup()

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

Definition at line 2635 of file qqml.cpp.

◆ loadTypeLookup()

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

Definition at line 2762 of file qqml.cpp.

◆ lookupResultMetaType()

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

Definition at line 1872 of file qqml.cpp.

◆ mark() [1/3]

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

Definition at line 1267 of file qqml.cpp.

◆ mark() [2/3]

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

Definition at line 1200 of file qqml.cpp.

◆ mark() [3/3]

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

Definition at line 652 of file qqmlprivate.h.

◆ qmlEngine()

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

Definition at line 1164 of file qqml.cpp.

◆ resolveLoggingCategory()

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

Definition at line 2038 of file qqml.cpp.

◆ setImplicitDestructible() [1/3]

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

Definition at line 806 of file qqmlprivate.h.

◆ setImplicitDestructible() [2/3]

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

Definition at line 818 of file qqmlprivate.h.

◆ setImplicitDestructible() [3/3]

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

Definition at line 800 of file qqmlprivate.h.

◆ setInstructionPointer()

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

Definition at line 1181 of file qqml.cpp.

◆ setLocals()

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

Definition at line 1187 of file qqml.cpp.

◆ setObjectImplicitDestructible()

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

Definition at line 3183 of file qqml.cpp.

◆ setObjectLookup()

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

Definition at line 2978 of file qqml.cpp.

◆ setReturnValueUndefined()

void QQmlPrivate::AOTCompiledContext::setReturnValueUndefined ( ) const

Definition at line 1192 of file qqml.cpp.

◆ setValueLookup()

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

Definition at line 3093 of file qqml.cpp.

◆ storeNameSloppy()

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

Definition at line 1927 of file qqml.cpp.

◆ thisObject()

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

Definition at line 1158 of file qqml.cpp.

◆ translationContext()

QString QQmlPrivate::AOTCompiledContext::translationContext ( ) const

Definition at line 1863 of file qqml.cpp.

◆ writeBackObjectLookup()

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

Definition at line 2824 of file qqml.cpp.

◆ writeBackScopeObjectPropertyLookup()

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

Definition at line 2598 of file qqml.cpp.

◆ writeBackValueLookup()

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

Definition at line 2892 of file qqml.cpp.

◆ writeToConsole()

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

Definition at line 2059 of file qqml.cpp.

Member Data Documentation

◆ [union]

◆ compilationUnit

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

Definition at line 637 of file qqmlprivate.h.

◆ engine

QJSEngine* QQmlPrivate::AOTCompiledContext::engine

Definition at line 635 of file qqmlprivate.h.

◆ extraData

qintptr QQmlPrivate::AOTCompiledContext::extraData

Definition at line 638 of file qqmlprivate.h.

◆ qmlContext

QQmlContextData* QQmlPrivate::AOTCompiledContext::qmlContext

Definition at line 633 of file qqmlprivate.h.

◆ qmlScopeObject

QObject* QQmlPrivate::AOTCompiledContext::qmlScopeObject

Definition at line 634 of file qqmlprivate.h.


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