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
QKeyValueIterator< Key, T, Iterator > Class Template Reference

#include <qiterator.h>

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

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
 
using pointer = QtPrivate::ArrowProxy<value_type>
 

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 241 of file qiterator.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 245 of file qiterator.h.

◆ iterator_category

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

Definition at line 244 of file qiterator.h.

◆ pointer

template<typename Key , typename T , class Iterator >
using QKeyValueIterator< Key, T, Iterator >::pointer = QtPrivate::ArrowProxy<value_type>

Definition at line 257 of file qiterator.h.

◆ reference

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

Definition at line 247 of file qiterator.h.

◆ value_type

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

Definition at line 246 of file qiterator.h.

Constructor & Destructor Documentation

◆ QKeyValueIterator() [1/2]

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

◆ QKeyValueIterator() [2/2]

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

Definition at line 250 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 270 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 253 of file qiterator.h.

◆ operator++() [1/2]

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

Definition at line 266 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 267 of file qiterator.h.

◆ operator--() [1/2]

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

Definition at line 268 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 269 of file qiterator.h.

◆ operator->()

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

Definition at line 259 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 264 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 263 of file qiterator.h.


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