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::IdentifierHashData Struct Reference

#include <qv4identifierhashdata_p.h>

+ Collaboration diagram for QV4::IdentifierHashData:

Public Member Functions

 IdentifierHashData (IdentifierTable *table, int numBits)
 
 IdentifierHashData (IdentifierHashData *other)
 
 ~IdentifierHashData ()
 
void markObjects (MarkStack *markStack) const
 

Public Attributes

QBasicAtomicInt refCount
 
int alloc
 
int size
 
int numBits
 
IdentifierTableidentifierTable
 
IdentifierHashEntryentries
 

Detailed Description

Definition at line 31 of file qv4identifierhashdata_p.h.

Constructor & Destructor Documentation

◆ IdentifierHashData() [1/2]

QV4::IdentifierHashData::IdentifierHashData ( IdentifierTable * table,
int numBits )
inline

Definition at line 33 of file qv4identifierhashdata_p.h.

References QV4::IdentifierTable::addIdentifierHash(), alloc, entries, identifierTable, numBits, qPrimeForNumBits(), refCount, and QBasicAtomicInteger< T >::storeRelaxed().

+ Here is the call graph for this function:

◆ IdentifierHashData() [2/2]

QV4::IdentifierHashData::IdentifierHashData ( IdentifierHashData * other)
inlineexplicit

Definition at line 45 of file qv4identifierhashdata_p.h.

References QV4::IdentifierTable::addIdentifierHash(), alloc, entries, identifierTable, other(), refCount, and QBasicAtomicInteger< T >::storeRelaxed().

+ Here is the call graph for this function:

◆ ~IdentifierHashData()

QV4::IdentifierHashData::~IdentifierHashData ( )
inline

Definition at line 57 of file qv4identifierhashdata_p.h.

References entries, identifierTable, and QV4::IdentifierTable::removeIdentifierHash().

+ Here is the call graph for this function:

Member Function Documentation

◆ markObjects()

void QV4::IdentifierHashData::markObjects ( MarkStack * markStack) const
inline

Definition at line 63 of file qv4identifierhashdata_p.h.

References alloc, QV4::PropertyKey::asStringOrSymbol(), entries, QV4::IdentifierHashEntry::identifier, and o.

+ Here is the call graph for this function:

Member Data Documentation

◆ alloc

int QV4::IdentifierHashData::alloc

Definition at line 75 of file qv4identifierhashdata_p.h.

Referenced by IdentifierHashData(), IdentifierHashData(), and markObjects().

◆ entries

IdentifierHashEntry* QV4::IdentifierHashData::entries

◆ identifierTable

IdentifierTable* QV4::IdentifierHashData::identifierTable

◆ numBits

int QV4::IdentifierHashData::numBits

Definition at line 77 of file qv4identifierhashdata_p.h.

Referenced by IdentifierHashData().

◆ refCount

QBasicAtomicInt QV4::IdentifierHashData::refCount

◆ size

int QV4::IdentifierHashData::size

Definition at line 76 of file qv4identifierhashdata_p.h.


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