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 (IdentifierHash &&other) noexcept
 ~IdentifierHash ()
IdentifierHashoperator= (const IdentifierHash &other)
void swap (IdentifierHash &other) noexcept
bool isValid () const
int size () const
void add (const QString &str, int value)
void add (Heap::String *str, int value)
int value (const QString &str) const
int value (Heap::String *str) const
template<typename String>
String key (int value) const

Detailed Description

Definition at line 29 of file qv4identifierhash_p.h.

Constructor & Destructor Documentation

◆ IdentifierHash() [1/4]

QV4::IdentifierHash::IdentifierHash ( )
default

◆ IdentifierHash() [2/4]

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

Definition at line 15 of file qv4identifierhash.cpp.

◆ IdentifierHash() [3/4]

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

Definition at line 113 of file qv4identifierhash.cpp.

◆ IdentifierHash() [4/4]

QV4::IdentifierHash::IdentifierHash ( IdentifierHash && other)
inlinenoexcept

Definition at line 34 of file qv4identifierhash_p.h.

◆ ~IdentifierHash()

QV4::IdentifierHash::~IdentifierHash ( )

Definition at line 120 of file qv4identifierhash.cpp.

Member Function Documentation

◆ add() [1/2]

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

Definition at line 44 of file qv4identifierhash_p.h.

◆ add() [2/2]

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

Definition at line 45 of file qv4identifierhash_p.h.

◆ isValid()

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

Definition at line 41 of file qv4identifierhash_p.h.

◆ key()

template<typename String>
String QV4::IdentifierHash::key ( int value) const
inline

Definition at line 51 of file qv4identifierhash_p.h.

◆ operator=()

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

Definition at line 126 of file qv4identifierhash.cpp.

◆ size()

int QV4::IdentifierHash::size ( ) const

Definition at line 136 of file qv4identifierhash.cpp.

◆ swap()

void QV4::IdentifierHash::swap ( IdentifierHash & other)
inlinenoexcept

Definition at line 38 of file qv4identifierhash_p.h.

◆ value() [1/2]

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

Definition at line 47 of file qv4identifierhash_p.h.

◆ value() [2/2]

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

Definition at line 48 of file qv4identifierhash_p.h.


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