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>.
Loading...
Searching...
No Matches
QV4::ResolvedTypeReference Class Reference

#include <qv4resolvedtypereference_p.h>

+ Collaboration diagram for QV4::ResolvedTypeReference:

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::CompilationUnitcompilationUnit ()
 
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)
 

Detailed Description

Definition at line 29 of file qv4resolvedtypereference_p.h.

Constructor & Destructor Documentation

◆ ResolvedTypeReference()

QV4::ResolvedTypeReference::ResolvedTypeReference ( )
default

◆ ~ResolvedTypeReference()

QV4::ResolvedTypeReference::~ResolvedTypeReference ( )
inline

Definition at line 34 of file qv4resolvedtypereference_p.h.

References QQmlRefCounted< T >::release().

+ Here is the call graph for this function:

Member Function Documentation

◆ addToHash()

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().

+ Here is the call graph for this function:

◆ compilationUnit()

QQmlRefPointer< QV4::CompiledData::CompilationUnit > QV4::ResolvedTypeReference::compilationUnit ( )
inline

Definition at line 49 of file qv4resolvedtypereference_p.h.

◆ createPropertyCache()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ doDynamicTypeCheck()

void QV4::ResolvedTypeReference::doDynamicTypeCheck ( )

Definition at line 24 of file qv4resolvedtypereference.cpp.

References QQmlType::isValid(), QQmlType::metaObject(), mo, and QV4::CompiledData::CompilationUnit::rootPropertyCache().

+ Here is the call graph for this function:

◆ isFullyDynamicType()

bool QV4::ResolvedTypeReference::isFullyDynamicType ( ) const
inline

Definition at line 94 of file qv4resolvedtypereference_p.h.

◆ propertyCache()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ referencesCompilationUnit()

bool QV4::ResolvedTypeReference::referencesCompilationUnit ( ) const
inline

Definition at line 67 of file qv4resolvedtypereference_p.h.

◆ setCompilationUnit()

void QV4::ResolvedTypeReference::setCompilationUnit ( QQmlRefPointer< QV4::CompiledData::CompilationUnit > unit)
inline

Definition at line 54 of file qv4resolvedtypereference_p.h.

References QQmlRefCounted< T >::release().

+ Here is the call graph for this function:

◆ setFullyDynamicType()

void QV4::ResolvedTypeReference::setFullyDynamicType ( bool fullyDynamic)
inline

Definition at line 95 of file qv4resolvedtypereference_p.h.

◆ setReferencesCompilationUnit()

void QV4::ResolvedTypeReference::setReferencesCompilationUnit ( bool doReference)
inline

Definition at line 68 of file qv4resolvedtypereference_p.h.

References QQmlRefCount::addref(), QQmlRefCount::count(), and QQmlRefCounted< T >::release().

+ Here is the call graph for this function:

◆ setType()

void QV4::ResolvedTypeReference::setType ( QQmlType type)
inline

Definition at line 47 of file qv4resolvedtypereference_p.h.

◆ setTypePropertyCache()

void QV4::ResolvedTypeReference::setTypePropertyCache ( QQmlPropertyCache::ConstPtr cache)
inline

Definition at line 86 of file qv4resolvedtypereference_p.h.

References cache.

◆ setVersion()

void QV4::ResolvedTypeReference::setVersion ( QTypeRevision version)
inline

Definition at line 92 of file qv4resolvedtypereference_p.h.

References version().

+ Here is the call graph for this function:

◆ type()

QQmlType QV4::ResolvedTypeReference::type ( ) const
inline

Definition at line 46 of file qv4resolvedtypereference_p.h.

◆ typePropertyCache()

QQmlPropertyCache::ConstPtr QV4::ResolvedTypeReference::typePropertyCache ( ) const
inline

Definition at line 85 of file qv4resolvedtypereference_p.h.

◆ version()

QTypeRevision QV4::ResolvedTypeReference::version ( ) const
inline

Definition at line 91 of file qv4resolvedtypereference_p.h.

Referenced by setVersion().

+ Here is the caller graph for this function:

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