QtBase  v6.3.1
Public Types | Public Member Functions | Friends | List of all members
QMultiMap< Key, T >::iterator Class Reference

#include <qmap.h>

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 Key & key () const
 
Tvalue () const
 
Toperator* () const
 
Toperator-> () 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 1156 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 1165 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 1164 of file qmap.h.

◆ pointer

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

Definition at line 1167 of file qmap.h.

◆ reference

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

Definition at line 1168 of file qmap.h.

◆ value_type

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

Definition at line 1166 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 1172 of file qmap.h.

◆ operator*()

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

Definition at line 1174 of file qmap.h.

◆ operator++() [1/2]

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

Definition at line 1179 of file qmap.h.

◆ operator++() [2/2]

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

Definition at line 1184 of file qmap.h.

◆ operator--() [1/2]

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

Definition at line 1190 of file qmap.h.

◆ operator--() [2/2]

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

Definition at line 1195 of file qmap.h.

◆ operator->()

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

Definition at line 1175 of file qmap.h.

◆ value()

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

Definition at line 1173 of file qmap.h.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ const_iterator

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

Definition at line 1159 of file qmap.h.

◆ operator!=

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

Definition at line 1177 of file qmap.h.

◆ operator==

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

Definition at line 1176 of file qmap.h.

◆ QMultiMap< Key, T >

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

Definition at line 1557 of file qmap.h.


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