Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QHashPrivate::iterator< Node > Struct Template Reference

#include <qhash.h>

+ Collaboration diagram for QHashPrivate::iterator< Node >:

Public Types

using Span = QHashPrivate::Span< Node >
 

Public Member Functions

size_t span () const noexcept
 
size_t index () const noexcept
 
bool isUnused () const noexcept
 
Nodenode () const noexcept
 
bool atEnd () const noexcept
 
iterator operator++ () noexcept
 
bool operator== (iterator other) const noexcept
 
bool operator!= (iterator other) const noexcept
 

Public Attributes

const Data< Node > * d = nullptr
 
size_t bucket = 0
 

Detailed Description

template<typename Node>
struct QHashPrivate::iterator< Node >

Definition at line 775 of file qhash.h.

Member Typedef Documentation

◆ Span

template<typename Node >
using QHashPrivate::iterator< Node >::Span = QHashPrivate::Span<Node>

Definition at line 776 of file qhash.h.

Member Function Documentation

◆ atEnd()

template<typename Node >
bool QHashPrivate::iterator< Node >::atEnd ( ) const
inlinenoexcept

Definition at line 790 of file qhash.h.

References QHashPrivate::iterator< Node >::d.

◆ index()

template<typename Node >
size_t QHashPrivate::iterator< Node >::index ( ) const
inlinenoexcept

Definition at line 782 of file qhash.h.

References QHashPrivate::iterator< Node >::bucket, and QHashPrivate::SpanConstants::LocalBucketMask.

Referenced by QHashPrivate::iterator< Node >::isUnused(), and QHashPrivate::iterator< Node >::node().

+ Here is the caller graph for this function:

◆ isUnused()

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

Definition at line 783 of file qhash.h.

References QHashPrivate::iterator< Node >::d, QHashPrivate::iterator< Node >::index(), and QHashPrivate::iterator< Node >::span().

Referenced by QHashPrivate::iterator< Node >::node(), and QHashPrivate::iterator< Node >::operator++().

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

◆ node()

template<typename Node >
Node * QHashPrivate::iterator< Node >::node ( ) const
inlinenoexcept

Definition at line 785 of file qhash.h.

References QHashPrivate::iterator< Node >::d, QHashPrivate::iterator< Node >::index(), QHashPrivate::iterator< Node >::isUnused(), Q_ASSERT, and QHashPrivate::iterator< Node >::span().

+ Here is the call graph for this function:

◆ operator!=()

template<typename Node >
bool QHashPrivate::iterator< Node >::operator!= ( iterator< Node other) const
inlinenoexcept

Definition at line 808 of file qhash.h.

References other().

+ Here is the call graph for this function:

◆ operator++()

template<typename Node >
iterator QHashPrivate::iterator< Node >::operator++ ( )
inlinenoexcept

Definition at line 792 of file qhash.h.

References QHashPrivate::iterator< Node >::bucket, QHashPrivate::iterator< Node >::d, and QHashPrivate::iterator< Node >::isUnused().

+ Here is the call graph for this function:

◆ operator==()

template<typename Node >
bool QHashPrivate::iterator< Node >::operator== ( iterator< Node other) const
inlinenoexcept

Definition at line 806 of file qhash.h.

References QHashPrivate::iterator< Node >::bucket, QHashPrivate::iterator< Node >::d, and other().

+ Here is the call graph for this function:

◆ span()

template<typename Node >
size_t QHashPrivate::iterator< Node >::span ( ) const
inlinenoexcept

Definition at line 781 of file qhash.h.

References QHashPrivate::iterator< Node >::bucket, and QHashPrivate::SpanConstants::SpanShift.

Referenced by QHashPrivate::iterator< Node >::isUnused(), and QHashPrivate::iterator< Node >::node().

+ Here is the caller graph for this function:

Member Data Documentation

◆ bucket

◆ d


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