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 >::const_iterator Class Reference

#include <qmap.h>

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

Public Types

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

Public Member Functions

 const_iterator ()=default
 
Q_IMPLICIT const_iterator (const iterator &o)
 
const Keykey () const
 
const T & value () const
 
const T & operator* () const
 
const T * operator-> () const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
const_iteratoroperator-- ()
 
const_iterator operator-- (int)
 

Friends

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

Detailed Description

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

Definition at line 1222 of file qmap.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 1230 of file qmap.h.

◆ iterator_category

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

Definition at line 1229 of file qmap.h.

◆ pointer

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

Definition at line 1232 of file qmap.h.

◆ reference

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

Definition at line 1233 of file qmap.h.

◆ value_type

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

Definition at line 1231 of file qmap.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

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

◆ const_iterator() [2/2]

template<class Key , class T >
Q_IMPLICIT QMultiMap< Key, T >::const_iterator::const_iterator ( const iterator & o)
inline

Definition at line 1236 of file qmap.h.

Member Function Documentation

◆ key()

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

Definition at line 1238 of file qmap.h.

References i.

Referenced by QMultiMap< Key, T >::firstKey().

+ Here is the caller graph for this function:

◆ operator*()

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

Definition at line 1240 of file qmap.h.

References i.

◆ operator++() [1/2]

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

Definition at line 1245 of file qmap.h.

References i.

◆ operator++() [2/2]

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

Definition at line 1250 of file qmap.h.

References i.

◆ operator--() [1/2]

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

Definition at line 1256 of file qmap.h.

References i.

◆ operator--() [2/2]

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

Definition at line 1261 of file qmap.h.

References i.

◆ operator->()

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

Definition at line 1241 of file qmap.h.

References i.

◆ value()

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

Definition at line 1239 of file qmap.h.

References i.

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 1243 of file qmap.h.

◆ operator==

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

Definition at line 1242 of file qmap.h.

◆ QMultiMap< Key, T >

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

Definition at line 1190 of file qmap.h.


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