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

#include <qv4internalclass_p.h>

Collaboration diagram for QV4::PropertyHash:

Classes

struct  Entry

Public Member Functions

 PropertyHash ()
 PropertyHash (const PropertyHash &other)
 ~PropertyHash ()
PropertyHashoperator= (const PropertyHash &other)
void addEntry (const Entry &entry, int classSize)
Entrylookup (PropertyKey identifier) const
void detach (bool grow, int classSize)

Public Attributes

PropertyHashDatad

Detailed Description

Definition at line 41 of file qv4internalclass_p.h.

Constructor & Destructor Documentation

◆ PropertyHash() [1/2]

QV4::PropertyHash::PropertyHash ( )
inline

Definition at line 75 of file qv4internalclass_p.h.

References QV4::PropertyHashData::PropertyHashData(), and d.

Referenced by QV4::Heap::InternalClass::init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PropertyHash() [2/2]

QV4::PropertyHash::PropertyHash ( const PropertyHash & other)
inline

Definition at line 80 of file qv4internalclass_p.h.

References d, and QV4::PropertyHashData::refCount.

Referenced by QV4::Heap::InternalClass::init().

Here is the caller graph for this function:

◆ ~PropertyHash()

QV4::PropertyHash::~PropertyHash ( )
inline

Definition at line 86 of file qv4internalclass_p.h.

References d, and QV4::PropertyHashData::refCount.

Referenced by QV4::Heap::InternalClass::destroy().

Here is the caller graph for this function:

Member Function Documentation

◆ addEntry()

void QV4::PropertyHash::addEntry ( const Entry & entry,
int classSize )

Definition at line 28 of file qv4internalclass.cpp.

References QV4::PropertyHashData::alloc, d, detach(), QV4::PropertyHashData::entries, and QV4::PropertyHashData::size.

Referenced by QV4::Heap::addDummyEntry().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ detach()

void QV4::PropertyHash::detach ( bool grow,
int classSize )

Definition at line 45 of file qv4internalclass.cpp.

References QV4::PropertyHashData::PropertyHashData(), QV4::PropertyHashData::alloc, d, QV4::PropertyHashData::entries, QV4::PropertyHashData::numBits, QV4::PropertyHashData::refCount, and QV4::PropertyHashData::size.

Referenced by addEntry().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lookup()

PropertyHash::Entry * QV4::PropertyHash::lookup ( PropertyKey identifier) const
inline

Definition at line 103 of file qv4internalclass_p.h.

References QV4::PropertyHashData::alloc, d, and QV4::PropertyHashData::entries.

Referenced by QV4::Heap::InternalClass::find(), QV4::Heap::InternalClass::findEntry(), QV4::Heap::InternalClass::findValueOrGetter(), QV4::Heap::InternalClass::findValueOrSetter(), QV4::Heap::InternalClass::indexOfValueOrGetter(), and QV4::Heap::InternalClass::verifyIndex().

Here is the caller graph for this function:

◆ operator=()

PropertyHash & QV4::PropertyHash::operator= ( const PropertyHash & other)
inline

Definition at line 92 of file qv4internalclass_p.h.

References d, and QV4::PropertyHashData::refCount.

Member Data Documentation

◆ d

PropertyHashData* QV4::PropertyHash::d

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