Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
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 777 of file qhash.h.

Member Typedef Documentation

◆ Span

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

Definition at line 778 of file qhash.h.

Member Function Documentation

◆ atEnd()

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

Definition at line 792 of file qhash.h.

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

◆ index()

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

Definition at line 784 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 785 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 787 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 810 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 794 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 808 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 783 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: