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
QMultiMap< Key, T >::iterator Class Reference

#include <qmap.h>

+ Collaboration diagram for QMultiMap< Key, T >::iterator:

Public Types

using iterator_category = std::bidirectional_iterator_tag
 
using difference_type = qptrdiff
 
using value_type = T
 
using pointer = T *
 
using reference = T &
 

Public Member Functions

 iterator ()=default
 
const Keykey () const
 
T & value () const
 
T & operator* () const
 
T * operator-> () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 

Friends

class QMultiMap< Key, T >
 
class const_iterator
 
bool operator== (const iterator &lhs, const iterator &rhs)
 
bool operator!= (const iterator &lhs, const iterator &rhs)
 

Detailed Description

template<class Key, class T>
class QMultiMap< Key, T >::iterator

Definition at line 1151 of file qmap.h.

Member Typedef Documentation

◆ difference_type

template<class Key , class T >
using QMultiMap< Key, T >::iterator::difference_type = qptrdiff

Definition at line 1160 of file qmap.h.

◆ iterator_category

template<class Key , class T >
using QMultiMap< Key, T >::iterator::iterator_category = std::bidirectional_iterator_tag

Definition at line 1159 of file qmap.h.

◆ pointer

template<class Key , class T >
using QMultiMap< Key, T >::iterator::pointer = T *

Definition at line 1162 of file qmap.h.

◆ reference

template<class Key , class T >
using QMultiMap< Key, T >::iterator::reference = T &

Definition at line 1163 of file qmap.h.

◆ value_type

template<class Key , class T >
using QMultiMap< Key, T >::iterator::value_type = T

Definition at line 1161 of file qmap.h.

Constructor & Destructor Documentation

◆ iterator()

template<class Key , class T >
QMultiMap< Key, T >::iterator::iterator ( )
default

Member Function Documentation

◆ key()

template<class Key , class T >
const Key & QMultiMap< Key, T >::iterator::key ( ) const
inline

Definition at line 1167 of file qmap.h.

References i.

◆ operator*()

template<class Key , class T >
T & QMultiMap< Key, T >::iterator::operator* ( ) const
inline

Definition at line 1169 of file qmap.h.

References i.

◆ operator++() [1/2]

template<class Key , class T >
iterator & QMultiMap< Key, T >::iterator::operator++ ( )
inline

Definition at line 1174 of file qmap.h.

References i.

◆ operator++() [2/2]

template<class Key , class T >
iterator QMultiMap< Key, T >::iterator::operator++ ( int )
inline

Definition at line 1179 of file qmap.h.

References i.

◆ operator--() [1/2]

template<class Key , class T >
iterator & QMultiMap< Key, T >::iterator::operator-- ( )
inline

Definition at line 1185 of file qmap.h.

References i.

◆ operator--() [2/2]

template<class Key , class T >
iterator QMultiMap< Key, T >::iterator::operator-- ( int )
inline

Definition at line 1190 of file qmap.h.

References i.

◆ operator->()

template<class Key , class T >
T * QMultiMap< Key, T >::iterator::operator-> ( ) const
inline

Definition at line 1170 of file qmap.h.

References i.

◆ value()

template<class Key , class T >
T & QMultiMap< Key, T >::iterator::value ( ) const
inline

Definition at line 1168 of file qmap.h.

References i.

Friends And Related Symbol Documentation

◆ const_iterator

template<class Key , class T >
friend class const_iterator
friend

Definition at line 1154 of file qmap.h.

◆ operator!=

template<class Key , class T >
bool operator!= ( const iterator & lhs,
const iterator & rhs )
friend

Definition at line 1172 of file qmap.h.

◆ operator==

template<class Key , class T >
bool operator== ( const iterator & lhs,
const iterator & rhs )
friend

Definition at line 1171 of file qmap.h.

◆ QMultiMap< Key, T >

template<class Key , class T >
friend class QMultiMap< Key, T >
friend

Definition at line 1556 of file qmap.h.


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