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
QHashPrivate::Data< Node >::Bucket Struct Reference

#include <qhash.h>

+ Collaboration diagram for QHashPrivate::Data< Node >::Bucket:

Public Member Functions

 Bucket (Span *s, size_t i) noexcept
 
 Bucket (const Data *d, size_t bucket) noexcept
 
 Bucket (iterator it) noexcept
 
size_t toBucketIndex (const Data *d) const noexcept
 
iterator toIterator (const Data *d) const noexcept
 
void advanceWrapped (const Data *d) noexcept
 
void advance (const Data *d) noexcept
 
bool isUnused () const noexcept
 
size_t offset () const noexcept
 
NodenodeAtOffset (size_t offset)
 
Nodenode ()
 
Nodeinsert () const
 

Public Attributes

Spanspan
 
size_t index
 

Friends

bool operator== (Bucket lhs, Bucket rhs) noexcept
 
bool operator!= (Bucket lhs, Bucket rhs) noexcept
 

Detailed Description

template<typename Node>
struct QHashPrivate::Data< Node >::Bucket

Definition at line 467 of file qhash.h.

Constructor & Destructor Documentation

◆ Bucket() [1/3]

template<typename Node>
QHashPrivate::Data< Node >::Bucket::Bucket ( Span * s,
size_t i )
inlinenoexcept

Definition at line 471 of file qhash.h.

References Bucket(), and span.

Referenced by Bucket().

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

◆ Bucket() [2/3]

template<typename Node>
QHashPrivate::Data< Node >::Bucket::Bucket ( const Data * d,
size_t bucket )
inlinenoexcept

Definition at line 474 of file qhash.h.

References Bucket(), span, and QHashPrivate::Data< Node >::spans.

Referenced by Bucket().

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

◆ Bucket() [3/3]

template<typename Node>
QHashPrivate::Data< Node >::Bucket::Bucket ( iterator it)
inlinenoexcept

Definition at line 478 of file qhash.h.

Member Function Documentation

◆ advance()

template<typename Node>
void QHashPrivate::Data< Node >::Bucket::advance ( const Data * d)
inlinenoexcept

Definition at line 491 of file qhash.h.

◆ advanceWrapped()

template<typename Node>
void QHashPrivate::Data< Node >::Bucket::advanceWrapped ( const Data * d)
inlinenoexcept

Definition at line 487 of file qhash.h.

References QHashPrivate::Data< Node >::spans.

◆ insert()

template<typename Node>
Node * QHashPrivate::Data< Node >::Bucket::insert ( ) const
inline

Definition at line 511 of file qhash.h.

◆ isUnused()

template<typename Node>
bool QHashPrivate::Data< Node >::Bucket::isUnused ( ) const
inlinenoexcept

Definition at line 495 of file qhash.h.

◆ node()

template<typename Node>
Node * QHashPrivate::Data< Node >::Bucket::node ( )
inline

Definition at line 507 of file qhash.h.

◆ nodeAtOffset()

template<typename Node>
Node & QHashPrivate::Data< Node >::Bucket::nodeAtOffset ( size_t offset)
inline

Definition at line 503 of file qhash.h.

References span.

◆ offset()

template<typename Node>
size_t QHashPrivate::Data< Node >::Bucket::offset ( ) const
inlinenoexcept

Definition at line 499 of file qhash.h.

◆ toBucketIndex()

template<typename Node>
size_t QHashPrivate::Data< Node >::Bucket::toBucketIndex ( const Data * d) const
inlinenoexcept

Definition at line 482 of file qhash.h.

◆ toIterator()

template<typename Node>
iterator QHashPrivate::Data< Node >::Bucket::toIterator ( const Data * d) const
inlinenoexcept

Definition at line 486 of file qhash.h.

Friends And Related Symbol Documentation

◆ operator!=

template<typename Node>
bool operator!= ( Bucket lhs,
Bucket rhs )
friend

Definition at line 521 of file qhash.h.

◆ operator==

template<typename Node>
bool operator== ( Bucket lhs,
Bucket rhs )
friend

Definition at line 517 of file qhash.h.

Member Data Documentation

◆ index

template<typename Node>
size_t QHashPrivate::Data< Node >::Bucket::index

Definition at line 469 of file qhash.h.

◆ span

template<typename Node>
Span* QHashPrivate::Data< Node >::Bucket::span

Definition at line 468 of file qhash.h.

Referenced by Bucket(), Bucket(), and nodeAtOffset().


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