![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qhash.h>
Classes | |
struct | Entry |
Public Member Functions | |
Span () noexcept | |
~Span () | |
void | freeData () noexcept(std::is_nothrow_destructible< Node >::value) |
Node * | insert (size_t i) |
void | erase (size_t bucket) noexcept(std::is_nothrow_destructible< Node >::value) |
size_t | offset (size_t i) const noexcept |
bool | hasNode (size_t i) const noexcept |
Node & | at (size_t i) noexcept |
const Node & | at (size_t i) const noexcept |
Node & | atOffset (size_t o) noexcept |
const Node & | atOffset (size_t o) const noexcept |
void | moveLocal (size_t from, size_t to) noexcept |
void | moveFromSpan (Span &fromSpan, size_t fromIndex, size_t to) noexcept(std::is_nothrow_move_constructible_v< Node >) |
void | addStorage () |
Public Attributes | |
unsigned char | offsets [SpanConstants::NEntries] |
Entry * | entries = nullptr |
unsigned char | allocated = 0 |
unsigned char | nextFree = 0 |
|
inlinenoexcept |
|
inline |
Definition at line 263 of file qhash.h.
References freeData().
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
unsigned char QHashPrivate::Span< Node >::allocated = 0 |
Definition at line 257 of file qhash.h.
Referenced by addStorage(), atOffset(), atOffset(), insert(), and moveFromSpan().
Entry* QHashPrivate::Span< Node >::entries = nullptr |
Definition at line 256 of file qhash.h.
Referenced by addStorage(), atOffset(), atOffset(), erase(), freeData(), insert(), and moveFromSpan().
unsigned char QHashPrivate::Span< Node >::nextFree = 0 |
Definition at line 258 of file qhash.h.
Referenced by addStorage(), erase(), insert(), and moveFromSpan().
unsigned char QHashPrivate::Span< Node >::offsets[SpanConstants::NEntries] |