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 <qv4identifierhash_p.h>
Public Member Functions | |
IdentifierHash ()=default | |
IdentifierHash (ExecutionEngine *engine) | |
IdentifierHash (const IdentifierHash &other) | |
~IdentifierHash () | |
IdentifierHash & | operator= (const IdentifierHash &other) |
bool | isEmpty () const |
int | count () const |
void | detach () |
void | add (const QString &str, int value) |
void | add (Heap::String *str, int value) |
int | value (const QString &str) const |
int | value (String *str) const |
QString | findId (int value) const |
Definition at line 27 of file qv4identifierhash_p.h.
|
default |
QV4::IdentifierHash::IdentifierHash | ( | ExecutionEngine * | engine | ) |
Definition at line 14 of file qv4identifierhash.cpp.
References engine, isEmpty(), and Q_ASSERT.
QV4::IdentifierHash::IdentifierHash | ( | const IdentifierHash & | other | ) |
QV4::IdentifierHash::~IdentifierHash | ( | ) |
Definition at line 142 of file qv4identifierhash.cpp.
References d.
Definition at line 163 of file qv4identifierhash.cpp.
References str, toIdentifier(), and QV4::IdentifierHashEntry::value.
void QV4::IdentifierHash::add | ( | Heap::String * | str, |
int | value ) |
Definition at line 169 of file qv4identifierhash.cpp.
References str, toIdentifier(), and QV4::IdentifierHashEntry::value.
int QV4::IdentifierHash::count | ( | ) | const |
Definition at line 158 of file qv4identifierhash.cpp.
References d.
void QV4::IdentifierHash::detach | ( | ) |
Definition at line 20 of file qv4identifierhash.cpp.
References QBasicAtomicInteger< T >::deref(), QBasicAtomicInteger< T >::loadAcquire(), and QV4::IdentifierHashData::refCount.
QString QV4::IdentifierHash::findId | ( | int | value | ) | const |
Definition at line 123 of file qv4identifierhash.cpp.
References d, QV4::IdentifierHashEntry::identifier, QV4::PropertyKey::isValid(), QV4::PropertyKey::toQString(), and QV4::IdentifierHashEntry::value.
|
inline |
Definition at line 35 of file qv4identifierhash_p.h.
References d.
Referenced by IdentifierHash().
IdentifierHash & QV4::IdentifierHash::operator= | ( | const IdentifierHash & | other | ) |
int QV4::IdentifierHash::value | ( | const QString & | str | ) | const |
Definition at line 175 of file qv4identifierhash.cpp.
References str, and QV4::IdentifierHashEntry::value.
int QV4::IdentifierHash::value | ( | String * | str | ) | const |
Definition at line 181 of file qv4identifierhash.cpp.
References str, and QV4::IdentifierHashEntry::value.