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>.
|
#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::CompiledData::CompilationUnit > | compilationUnit () |
void | setCompilationUnit (QQmlRefPointer< QV4::CompiledData::CompilationUnit > 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(), hash, QQmlType::isInlineComponentType(), QQmlRefPointer< T >::isNull(), QQmlType::isValid(), QV4::CompiledData::Unit::md5Checksum, QQmlType::module(), ok, propertyCache(), Q_ASSERT, and QV4::CompiledData::CompilationUnit::unitData().
|
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::CompiledData::CompilationUnit::rootPropertyCache().
Referenced by addToHash().
void QV4::ResolvedTypeReference::doDynamicTypeCheck | ( | ) |
Definition at line 24 of file qv4resolvedtypereference.cpp.
References QQmlType::isValid(), QQmlType::metaObject(), mo, and QV4::CompiledData::CompilationUnit::rootPropertyCache().
|
inline |
Definition at line 94 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::CompiledData::CompilationUnit::rootPropertyCache().
Referenced by addToHash().
|
inline |
Definition at line 67 of file qv4resolvedtypereference_p.h.
|
inline |
Definition at line 54 of file qv4resolvedtypereference_p.h.
References QQmlRefCounted< T >::release().
|
inline |
Definition at line 95 of file qv4resolvedtypereference_p.h.
|
inline |
Definition at line 68 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 86 of file qv4resolvedtypereference_p.h.
References cache.
|
inline |
Definition at line 92 of file qv4resolvedtypereference_p.h.
References version().
|
inline |
Definition at line 46 of file qv4resolvedtypereference_p.h.
|
inline |
Definition at line 85 of file qv4resolvedtypereference_p.h.
|
inline |
Definition at line 91 of file qv4resolvedtypereference_p.h.
Referenced by setVersion().