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 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
 

Public Attributes

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

Detailed Description

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

◆ callQmlContextPropertyLookup()

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

Definition at line 2169 of file qqml.cpp.

◆ callValueLookup()

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

Definition at line 3037 of file qqml.cpp.

◆ captureLookup()

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

Definition at line 1713 of file qqml.cpp.

◆ captureQmlContextPropertyLookup()

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

Definition at line 1742 of file qqml.cpp.

◆ captureTranslation()

void QQmlPrivate::AOTCompiledContext::captureTranslation ( ) const

Definition at line 1766 of file qqml.cpp.

◆ constructDateTime() [1/4]

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

Definition at line 665 of file qqmlprivate.h.

◆ constructDateTime() [2/4]

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

Definition at line 2012 of file qqml.cpp.

◆ constructDateTime() [3/4]

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

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

◆ constructValueType()

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

Definition at line 1999 of file qqml.cpp.

◆ getEnumLookup()

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

Definition at line 2810 of file qqml.cpp.

◆ getObjectLookup()

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

Definition at line 2674 of file qqml.cpp.

◆ getValueLookup()

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

Definition at line 2764 of file qqml.cpp.

◆ initCallObjectPropertyLookup()

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

Definition at line 2394 of file qqml.cpp.

◆ initCallObjectPropertyLookupAsVariant()

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

Definition at line 2366 of file qqml.cpp.

◆ initCallQmlContextPropertyLookup()

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

Definition at line 2237 of file qqml.cpp.

◆ initCallValueLookup()

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

Definition at line 3057 of file qqml.cpp.

◆ initGetEnumLookup()

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

Definition at line 2850 of file qqml.cpp.

◆ initGetObjectLookup()

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

Definition at line 2748 of file qqml.cpp.

◆ initGetObjectLookupAsVariant()

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

Definition at line 2756 of file qqml.cpp.

◆ initGetValueLookup()

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

Definition at line 2802 of file qqml.cpp.

◆ initLoadAttachedLookup()

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

Definition at line 2620 of file qqml.cpp.

◆ initLoadContextIdLookup()

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

Definition at line 2304 of file qqml.cpp.

◆ initLoadGlobalLookup()

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

Definition at line 2440 of file qqml.cpp.

◆ initLoadScopeObjectPropertyLookup()

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

Definition at line 2517 of file qqml.cpp.

◆ initLoadSingletonLookup()

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

Definition at line 2599 of file qqml.cpp.

◆ initLoadTypeLookup()

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

Definition at line 2668 of file qqml.cpp.

◆ initSetObjectLookup()

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

Definition at line 2909 of file qqml.cpp.

◆ initSetObjectLookupAsVariant()

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

Definition at line 2917 of file qqml.cpp.

◆ initSetValueLookup()

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

Definition at line 3026 of file qqml.cpp.

◆ initSetValueLookupAsVariant()

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

Definition at line 3031 of file qqml.cpp.

◆ javaScriptGlobalProperty()

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

Definition at line 1939 of file qqml.cpp.

◆ jsMetaType()

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

Definition at line 1174 of file qqml.cpp.

◆ loadAttachedLookup()

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

Definition at line 2605 of file qqml.cpp.

◆ loadContextIdLookup()

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

Definition at line 2269 of file qqml.cpp.

◆ loadGlobalLookup()

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

Definition at line 2424 of file qqml.cpp.

◆ loadScopeObjectPropertyLookup()

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

Definition at line 2451 of file qqml.cpp.

◆ loadSingletonLookup()

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

Definition at line 2525 of file qqml.cpp.

◆ loadTypeLookup()

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

Definition at line 2653 of file qqml.cpp.

◆ lookupResultMetaType()

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

Definition at line 1781 of file qqml.cpp.

◆ qmlEngine()

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

Definition at line 1163 of file qqml.cpp.

◆ resolveLoggingCategory()

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

Definition at line 1947 of file qqml.cpp.

◆ setInstructionPointer()

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

Definition at line 1180 of file qqml.cpp.

◆ setObjectLookup()

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

Definition at line 2869 of file qqml.cpp.

◆ setReturnValueUndefined()

void QQmlPrivate::AOTCompiledContext::setReturnValueUndefined ( ) const

Definition at line 1186 of file qqml.cpp.

◆ setValueLookup()

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

Definition at line 2984 of file qqml.cpp.

◆ storeNameSloppy()

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

Definition at line 1836 of file qqml.cpp.

◆ thisObject()

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

Definition at line 1157 of file qqml.cpp.

◆ translationContext()

QString QQmlPrivate::AOTCompiledContext::translationContext ( ) const

Definition at line 1772 of file qqml.cpp.

◆ writeBackObjectLookup()

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

Definition at line 2715 of file qqml.cpp.

◆ writeBackScopeObjectPropertyLookup()

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

Definition at line 2488 of file qqml.cpp.

◆ writeBackValueLookup()

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

Definition at line 2783 of file qqml.cpp.

◆ writeToConsole()

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

Definition at line 1968 of file qqml.cpp.

Member Data Documentation

◆ [union]

◆ compilationUnit

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

Definition at line 627 of file qqmlprivate.h.

◆ engine

QJSEngine* QQmlPrivate::AOTCompiledContext::engine

Definition at line 625 of file qqmlprivate.h.

◆ extraData

qintptr QQmlPrivate::AOTCompiledContext::extraData

Definition at line 628 of file qqmlprivate.h.

◆ qmlContext

QQmlContextData* QQmlPrivate::AOTCompiledContext::qmlContext

Definition at line 623 of file qqmlprivate.h.

◆ qmlScopeObject

QObject* QQmlPrivate::AOTCompiledContext::qmlScopeObject

Definition at line 624 of file qqmlprivate.h.


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