![]() |
Qt 6.x
The Qt SDK
|
#include <qqmltypenamecache_p.h>
Inheritance diagram for QQmlTypeNameCache:
Collaboration diagram for QQmlTypeNameCache:Classes | |
| struct | Result |
Public Types | |
| enum class | QueryNamespaced { No , Yes } |
Public Member Functions | |
| QQmlTypeNameCache (const QQmlRefPointer< QQmlImports > &imports) | |
| ~QQmlTypeNameCache () | |
| bool | isEmpty () const |
| void | add (const QHashedString &name, int sciptIndex=-1, const QHashedString &nameSpace=QHashedString()) |
| void | add (const QHashedString &name, const QUrl &url, const QHashedString &nameSpace=QHashedString()) |
| template<QQmlImport::RecursionRestriction recursionRestriction = QQmlImport::PreventRecursion> | |
| Result | query (const QHashedStringRef &key) const |
| template<QueryNamespaced queryNamespaced = QueryNamespaced::Yes> | |
| Result | query (const QHashedStringRef &key, const QQmlImportRef *importNamespace) const |
| template<QQmlImport::RecursionRestriction recursionRestriction = QQmlImport::PreventRecursion> | |
| Result | query (const QV4::String *key) const |
| template<QueryNamespaced queryNamespaced = QueryNamespaced::Yes> | |
| Result | query (const QV4::String *key, const QQmlImportRef *importNamespace) const |
Public Member Functions inherited from QQmlRefCounted< QQmlTypeNameCache > | |
| void | release () const |
Public Member Functions inherited from QQmlRefCount | |
| QQmlRefCount () | |
| void | addref () const |
| int | count () const |
Friends | |
| class | QQmlImports |
Additional Inherited Members | |
Protected Member Functions inherited from QQmlRefCounted< QQmlTypeNameCache > | |
| ~QQmlRefCounted () | |
Definition at line 48 of file qqmltypenamecache_p.h.
|
strong |
| Enumerator | |
|---|---|
| No | |
| Yes | |
Definition at line 72 of file qqmltypenamecache_p.h.
|
inline |
Definition at line 51 of file qqmltypenamecache_p.h.
|
inline |
Definition at line 52 of file qqmltypenamecache_p.h.
| QT_BEGIN_NAMESPACE void QQmlTypeNameCache::add | ( | const QHashedString & | name, |
| const QUrl & | url, | ||
| const QHashedString & | nameSpace = QHashedString() |
||
| ) |
Definition at line 8 of file qqmltypenamecache.cpp.
References QStringHash< T >::contains(), i, QStringHash< T >::insert(), Q_ASSERT, QString::size(), url, and QStringHash< T >::value().
Here is the call graph for this function:| void QQmlTypeNameCache::add | ( | const QHashedString & | name, |
| int | sciptIndex = -1, |
||
| const QHashedString & | nameSpace = QHashedString() |
||
| ) |
Definition at line 23 of file qqmltypenamecache.cpp.
References QStringHash< T >::contains(), i, QStringHash< T >::insert(), QMap< Key, T >::insert(), Q_ASSERT, QQmlImportRef::scriptIndex, QString::size(), and QStringHash< T >::value().
Referenced by QQmlScriptBlob::done(), and QQmlTypeData::done().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 267 of file qqmltypenamecache_p.h.
References QStringHash< T >::isEmpty().
Here is the call graph for this function:
|
inline |
Definition at line 77 of file qqmltypenamecache_p.h.
Referenced by QV4::Function::Function(), QQmlCustomParser::evaluateEnum(), and QQmlPrivate::AOTCompiledContext::initLoadAttachedLookup().
Here is the caller graph for this function:
|
inline |
Definition at line 83 of file qqmltypenamecache_p.h.
|
inline |
Definition at line 89 of file qqmltypenamecache_p.h.
|
inline |
Definition at line 95 of file qqmltypenamecache_p.h.
|
friend |
Definition at line 101 of file qqmltypenamecache_p.h.