![]() |
Qt 6.x
The Qt SDK
|
#include <qv4resolvedtypereference_p.h>
Public Member Functions | |
ResolvedTypeReference ()=default | |
~ResolvedTypeReference () | |
QQmlPropertyCache::ConstPtr | propertyCache () const |
Returns the property cache, if one alread exists. | |
QQmlPropertyCache::ConstPtr | createPropertyCache () |
Returns the property cache, creating one if it doesn't already exist. | |
bool | addToHash (QCryptographicHash *hash, QHash< quintptr, QByteArray > *checksums) |
void | doDynamicTypeCheck () |
QQmlType | type () const |
void | setType (QQmlType type) |
QQmlRefPointer< QV4::ExecutableCompilationUnit > | compilationUnit () |
void | setCompilationUnit (QQmlRefPointer< QV4::ExecutableCompilationUnit > unit) |
bool | referencesCompilationUnit () const |
void | setReferencesCompilationUnit (bool doReference) |
QQmlPropertyCache::ConstPtr | typePropertyCache () const |
void | setTypePropertyCache (QQmlPropertyCache::ConstPtr cache) |
QTypeRevision | version () const |
void | setVersion (QTypeRevision version) |
bool | isFullyDynamicType () const |
void | setFullyDynamicType (bool fullyDynamic) |
Definition at line 29 of file qv4resolvedtypereference_p.h.
|
default |
|
inline |
Definition at line 34 of file qv4resolvedtypereference_p.h.
References QQmlRefCounted< T >::release().
bool QV4::ResolvedTypeReference::addToHash | ( | QCryptographicHash * | hash, |
QHash< quintptr, QByteArray > * | checksums | ||
) |
Definition at line 67 of file qv4resolvedtypereference.cpp.
References createPropertyCache(), QV4::CompiledData::CompilationUnit::data, hash, QQmlType::isInlineComponentType(), QQmlRefPointer< T >::isNull(), QQmlType::isValid(), QV4::CompiledData::Unit::md5Checksum, QQmlType::module(), ok, propertyCache(), and Q_ASSERT.
|
inline |
Definition at line 49 of file qv4resolvedtypereference_p.h.
QQmlPropertyCache::ConstPtr QV4::ResolvedTypeReference::createPropertyCache | ( | ) |
Returns the property cache, creating one if it doesn't already exist.
The cache is not referenced.
Definition at line 50 of file qv4resolvedtypereference.cpp.
References QQmlType::extensionMetaObject(), QQmlType::isValid(), metaObject(), QQmlType::metaObject(), QQmlMetaType::propertyCache(), Q_ASSERT, and QV4::ExecutableCompilationUnit::rootPropertyCache().
Referenced by addToHash().
void QV4::ResolvedTypeReference::doDynamicTypeCheck | ( | ) |
Definition at line 24 of file qv4resolvedtypereference.cpp.
References QQmlType::isValid(), QQmlType::metaObject(), mo, and QV4::ExecutableCompilationUnit::rootPropertyCache().
|
inline |
Definition at line 90 of file qv4resolvedtypereference_p.h.
QQmlPropertyCache::ConstPtr QV4::ResolvedTypeReference::propertyCache | ( | ) | const |
Returns the property cache, if one alread exists.
The cache is not referenced.
Definition at line 39 of file qv4resolvedtypereference.cpp.
References QQmlType::isValid(), and QV4::ExecutableCompilationUnit::rootPropertyCache().
Referenced by addToHash().
|
inline |
Definition at line 63 of file qv4resolvedtypereference_p.h.
|
inline |
Definition at line 50 of file qv4resolvedtypereference_p.h.
References QQmlRefPointer< T >::data(), QQmlRefCounted< T >::release(), and QQmlRefPointer< T >::take().
|
inline |
Definition at line 91 of file qv4resolvedtypereference_p.h.
|
inline |
Definition at line 64 of file qv4resolvedtypereference_p.h.
References QQmlRefCount::addref(), QQmlRefCount::count(), and QQmlRefCounted< T >::release().
Definition at line 47 of file qv4resolvedtypereference_p.h.
|
inline |
Definition at line 82 of file qv4resolvedtypereference_p.h.
References cache.
Referenced by QQmlPropertyCacheCreator< ObjectContainer >::buildMetaObjectsIncrementally().
|
inline |
Definition at line 88 of file qv4resolvedtypereference_p.h.
References version().
|
inline |
Definition at line 46 of file qv4resolvedtypereference_p.h.
Referenced by icutils::fillAdjacencyListForInlineComponents().
|
inline |
Definition at line 81 of file qv4resolvedtypereference_p.h.
Referenced by QQmlPropertyCacheCreator< ObjectContainer >::buildMetaObjectsIncrementally().
|
inline |
Definition at line 87 of file qv4resolvedtypereference_p.h.
Referenced by setVersion().