Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QKeyValueIterator< Key, T, Iterator > Class Template Reference

#include <qiterator.h>

+ Collaboration diagram for QKeyValueIterator< Key, T, Iterator >:

Classes

struct  pointer
 

Public Types

typedef Iterator::iterator_category iterator_category
 
typedef Iterator::difference_type difference_type
 
typedef std::pair< Key, T > value_type
 
typedef const value_typereference
 

Public Member Functions

 QKeyValueIterator ()=default
 
constexpr QKeyValueIterator (Iterator o) noexcept(std::is_nothrow_move_constructible< Iterator >::value)
 
std::pair< Key, T > operator* () const
 
pointer operator-> () const
 
QKeyValueIteratoroperator++ ()
 
QKeyValueIterator operator++ (int)
 
QKeyValueIteratoroperator-- ()
 
QKeyValueIterator operator-- (int)
 
Iterator base () const
 

Friends

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

Detailed Description

template<typename Key, typename T, class Iterator>
class QKeyValueIterator< Key, T, Iterator >

Definition at line 240 of file qiterator.h.

Member Typedef Documentation

◆ difference_type

template<typename Key , typename T , class Iterator >
typedef Iterator::difference_type QKeyValueIterator< Key, T, Iterator >::difference_type

Definition at line 244 of file qiterator.h.

◆ iterator_category

template<typename Key , typename T , class Iterator >
typedef Iterator::iterator_category QKeyValueIterator< Key, T, Iterator >::iterator_category

Definition at line 243 of file qiterator.h.

◆ reference

template<typename Key , typename T , class Iterator >
typedef const value_type& QKeyValueIterator< Key, T, Iterator >::reference

Definition at line 246 of file qiterator.h.

◆ value_type

template<typename Key , typename T , class Iterator >
typedef std::pair<Key, T> QKeyValueIterator< Key, T, Iterator >::value_type

Definition at line 245 of file qiterator.h.

Constructor & Destructor Documentation

◆ QKeyValueIterator() [1/2]

template<typename Key , typename T , class Iterator >
QKeyValueIterator< Key, T, Iterator >::QKeyValueIterator ( )
default

Referenced by QKeyValueIterator< Key, T, Iterator >::operator++(), and QKeyValueIterator< Key, T, Iterator >::operator--().

+ Here is the caller graph for this function:

◆ QKeyValueIterator() [2/2]

template<typename Key , typename T , class Iterator >
constexpr QKeyValueIterator< Key, T, Iterator >::QKeyValueIterator ( Iterator  o)
inlineexplicitconstexprnoexcept

Definition at line 249 of file qiterator.h.

Member Function Documentation

◆ base()

template<typename Key , typename T , class Iterator >
Iterator QKeyValueIterator< Key, T, Iterator >::base ( ) const
inline

Definition at line 285 of file qiterator.h.

◆ operator*()

template<typename Key , typename T , class Iterator >
std::pair< Key, T > QKeyValueIterator< Key, T, Iterator >::operator* ( ) const
inline

Definition at line 252 of file qiterator.h.

◆ operator++() [1/2]

template<typename Key , typename T , class Iterator >
QKeyValueIterator & QKeyValueIterator< Key, T, Iterator >::operator++ ( )
inline

Definition at line 281 of file qiterator.h.

◆ operator++() [2/2]

template<typename Key , typename T , class Iterator >
QKeyValueIterator QKeyValueIterator< Key, T, Iterator >::operator++ ( int  )
inline

Definition at line 282 of file qiterator.h.

References QKeyValueIterator< Key, T, Iterator >::QKeyValueIterator().

+ Here is the call graph for this function:

◆ operator--() [1/2]

template<typename Key , typename T , class Iterator >
QKeyValueIterator & QKeyValueIterator< Key, T, Iterator >::operator-- ( )
inline

Definition at line 283 of file qiterator.h.

◆ operator--() [2/2]

template<typename Key , typename T , class Iterator >
QKeyValueIterator QKeyValueIterator< Key, T, Iterator >::operator-- ( int  )
inline

Definition at line 284 of file qiterator.h.

References QKeyValueIterator< Key, T, Iterator >::QKeyValueIterator().

+ Here is the call graph for this function:

◆ operator->()

template<typename Key , typename T , class Iterator >
pointer QKeyValueIterator< Key, T, Iterator >::operator-> ( ) const
inline

Definition at line 274 of file qiterator.h.

Friends And Related Symbol Documentation

◆ operator!=

template<typename Key , typename T , class Iterator >
bool operator!= ( QKeyValueIterator< Key, T, Iterator >  lhs,
QKeyValueIterator< Key, T, Iterator >  rhs 
)
friend

Definition at line 279 of file qiterator.h.

◆ operator==

template<typename Key , typename T , class Iterator >
bool operator== ( QKeyValueIterator< Key, T, Iterator >  lhs,
QKeyValueIterator< Key, T, Iterator >  rhs 
)
friend

Definition at line 278 of file qiterator.h.


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