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 473 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 477 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 480 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 484 of file qhash.h.

Member Function Documentation

◆ advance()

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

Definition at line 497 of file qhash.h.

◆ advanceWrapped()

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

Definition at line 493 of file qhash.h.

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

◆ insert()

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

Definition at line 517 of file qhash.h.

References span.

◆ isUnused()

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

Definition at line 501 of file qhash.h.

References span.

◆ node()

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

Definition at line 513 of file qhash.h.

References span.

◆ nodeAtOffset()

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

Definition at line 509 of file qhash.h.

References span.

◆ offset()

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

Definition at line 505 of file qhash.h.

References span.

◆ toBucketIndex()

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

Definition at line 488 of file qhash.h.

◆ toIterator()

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

Definition at line 492 of file qhash.h.

◆ operator!=

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

Definition at line 527 of file qhash.h.

◆ operator==

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

Definition at line 523 of file qhash.h.

Member Data Documentation

◆ index

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

Definition at line 475 of file qhash.h.

◆ span

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

Definition at line 474 of file qhash.h.

Referenced by Bucket(), Bucket(), insert(), isUnused(), node(), nodeAtOffset(), and offset().


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