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
QStringHashData Class Reference

#include <qstringhash_p.h>

Collaboration diagram for QStringHashData:

Classes

struct  IteratorData

Public Types

enum  { MinNumBits = 4 }

Public Member Functions

 QStringHashData ()=default
 ~QStringHashData ()=default
void rehashToBits (short bits)
void rehashToSize (int size)
void rehashNode (QStringHashNode **newBuckets, int nb, QStringHashNode *node)

Public Attributes

QStringHashNode ** buckets = nullptr
int numBuckets = 0
int size = 0
short numBits = 0

Detailed Description

Definition at line 144 of file qstringhash_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MinNumBits 

Definition at line 155 of file qstringhash_p.h.

Constructor & Destructor Documentation

◆ QStringHashData()

QStringHashData::QStringHashData ( )
default

◆ ~QStringHashData()

QStringHashData::~QStringHashData ( )
default

Member Function Documentation

◆ rehashNode()

void QStringHashData::rehashNode ( QStringHashNode ** newBuckets,
int nb,
QStringHashNode * node )
inline

Definition at line 207 of file qstringhash_p.h.

References rehashNode().

Referenced by rehashNode(), and rehashToBits().

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

◆ rehashToBits()

void QStringHashData::rehashToBits ( short bits)
inline

Definition at line 173 of file qstringhash_p.h.

References buckets, MinNumBits, numBits, numBuckets, and rehashNode().

Referenced by rehashToSize().

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

◆ rehashToSize()

void QStringHashData::rehashToSize ( int size)
inline

Definition at line 197 of file qstringhash_p.h.

References MinNumBits, numBits, and rehashToBits().

Here is the call graph for this function:

Member Data Documentation

◆ buckets

QStringHashNode** QStringHashData::buckets = nullptr

Definition at line 157 of file qstringhash_p.h.

Referenced by rehashToBits().

◆ numBits

short QStringHashData::numBits = 0

Definition at line 160 of file qstringhash_p.h.

Referenced by rehashToBits(), and rehashToSize().

◆ numBuckets

int QStringHashData::numBuckets = 0

Definition at line 158 of file qstringhash_p.h.

Referenced by rehashToBits().

◆ size

int QStringHashData::size = 0

Definition at line 159 of file qstringhash_p.h.


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