Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QV4::IdentifierHash Struct Reference

#include <qv4identifierhash_p.h>

Collaboration diagram for QV4::IdentifierHash:

Public Member Functions

 IdentifierHash ()=default
 IdentifierHash (ExecutionEngine *engine)
 IdentifierHash (const IdentifierHash &other)
 ~IdentifierHash ()
IdentifierHashoperator= (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

Detailed Description

Definition at line 28 of file qv4identifierhash_p.h.

Constructor & Destructor Documentation

◆ IdentifierHash() [1/3]

QV4::IdentifierHash::IdentifierHash ( )
default

◆ IdentifierHash() [2/3]

QV4::IdentifierHash::IdentifierHash ( ExecutionEngine * engine)

Definition at line 15 of file qv4identifierhash.cpp.

◆ IdentifierHash() [3/3]

QV4::IdentifierHash::IdentifierHash ( const IdentifierHash & other)

Definition at line 136 of file qv4identifierhash.cpp.

◆ ~IdentifierHash()

QV4::IdentifierHash::~IdentifierHash ( )

Definition at line 143 of file qv4identifierhash.cpp.

Member Function Documentation

◆ add() [1/2]

void QV4::IdentifierHash::add ( const QString & str,
int value )

Definition at line 164 of file qv4identifierhash.cpp.

◆ add() [2/2]

void QV4::IdentifierHash::add ( Heap::String * str,
int value )

Definition at line 170 of file qv4identifierhash.cpp.

◆ count()

int QV4::IdentifierHash::count ( ) const

Definition at line 159 of file qv4identifierhash.cpp.

◆ detach()

void QV4::IdentifierHash::detach ( )

Definition at line 21 of file qv4identifierhash.cpp.

◆ findId()

QString QV4::IdentifierHash::findId ( int value) const

Definition at line 124 of file qv4identifierhash.cpp.

◆ isEmpty()

bool QV4::IdentifierHash::isEmpty ( ) const
inline

Definition at line 36 of file qv4identifierhash_p.h.

◆ operator=()

IdentifierHash & QV4::IdentifierHash::operator= ( const IdentifierHash & other)

Definition at line 149 of file qv4identifierhash.cpp.

◆ value() [1/2]

int QV4::IdentifierHash::value ( const QString & str) const

Definition at line 176 of file qv4identifierhash.cpp.

◆ value() [2/2]

int QV4::IdentifierHash::value ( String * str) const

Definition at line 182 of file qv4identifierhash.cpp.


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