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

#include <qmap.h>

+ Collaboration diagram for QMultiMap< Key, T >:

Classes

class  const_iterator
 
class  iterator
 
class  key_iterator
 

Public Types

using key_type = Key
 
using mapped_type = T
 
using difference_type = qptrdiff
 
using size_type = qsizetype
 
typedef QKeyValueIterator< const Key &, const T &, const_iteratorconst_key_value_iterator
 
typedef QKeyValueIterator< const Key &, T &, iteratorkey_value_iterator
 
typedef iterator Iterator
 
typedef const_iterator ConstIterator
 

Public Member Functions

 QMultiMap ()=default
 
 QMultiMap (std::initializer_list< std::pair< Key, T > > list)
 
void swap (QMultiMap< Key, T > &other) noexcept
 
 QMultiMap (const QMap< Key, T > &other)
 
 QMultiMap (QMap< Key, T > &&other)
 
 QMultiMap (const std::multimap< Key, T > &other)
 
 QMultiMap (std::multimap< Key, T > &&other)
 
std::multimap< Key, T > toStdMap () const
 
std::multimap< Key, T > toStdMultiMap () const &
 
std::multimap< Key, T > toStdMultiMap () &&
 
size_type size () const
 
bool isEmpty () const
 
void detach ()
 
bool isDetached () const noexcept
 
bool isSharedWith (const QMultiMap< Key, T > &other) const noexcept
 
void clear ()
 
size_type remove (const Key &key)
 
size_type remove (const Key &key, const T &value)
 
template<typename Predicate >
size_type removeIf (Predicate pred)
 
take (const Key &key)
 
bool contains (const Key &key) const
 
bool contains (const Key &key, const T &value) const
 
Key key (const T &value, const Key &defaultKey=Key()) const
 
value (const Key &key, const T &defaultValue=T()) const
 
QList< Keykeys () const
 
QList< Keykeys (const T &value) const
 
QList< KeyuniqueKeys () const
 
QList< T > values () const
 
QList< T > values (const Key &key) const
 
size_type count (const Key &key) const
 
size_type count (const Key &key, const T &value) const
 
const KeyfirstKey () const
 
const KeylastKey () const
 
T & first ()
 
const T & first () const
 
T & last ()
 
const T & last () const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator constBegin () const
 
const_iterator cbegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator constEnd () const
 
const_iterator cend () const
 
key_iterator keyBegin () const
 
key_iterator keyEnd () const
 
key_value_iterator keyValueBegin ()
 
key_value_iterator keyValueEnd ()
 
const_key_value_iterator keyValueBegin () const
 
const_key_value_iterator constKeyValueBegin () const
 
const_key_value_iterator keyValueEnd () const
 
const_key_value_iterator constKeyValueEnd () const
 
auto asKeyValueRange () &
 
auto asKeyValueRange () const &
 
auto asKeyValueRange () &&
 
auto asKeyValueRange () const &&
 
iterator erase (const_iterator it)
 
iterator erase (const_iterator afirst, const_iterator alast)
 
size_type count () const
 
iterator find (const Key &key)
 
const_iterator find (const Key &key) const
 
const_iterator constFind (const Key &key) const
 
iterator find (const Key &key, const T &value)
 
const_iterator find (const Key &key, const T &value) const
 
const_iterator constFind (const Key &key, const T &value) const
 
iterator lowerBound (const Key &key)
 
const_iterator lowerBound (const Key &key) const
 
iterator upperBound (const Key &key)
 
const_iterator upperBound (const Key &key) const
 
iterator insert (const Key &key, const T &value)
 
iterator insert (const_iterator pos, const Key &key, const T &value)
 
iterator replace (const Key &key, const T &value)
 
bool empty () const
 
QPair< iterator, iteratorequal_range (const Key &akey)
 
QPair< const_iterator, const_iteratorequal_range (const Key &akey) const
 
QMultiMapunite (const QMultiMap &other)
 
QMultiMapunite (QMultiMap< Key, T > &&other)
 

Friends

template<typename AKey = Key, typename AT = T>
QTypeTraits::compare_eq_result_container< QMultiMap, AKey, AToperator== (const QMultiMap &lhs, const QMultiMap &rhs)
 
template<typename AKey = Key, typename AT = T>
QTypeTraits::compare_eq_result_container< QMultiMap, AKey, AToperator!= (const QMultiMap &lhs, const QMultiMap &rhs)
 

Detailed Description

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

Definition at line 796 of file qmap.h.

Member Typedef Documentation

◆ const_key_value_iterator

template<class Key , class T >
typedef QKeyValueIterator<const Key&, const T&, const_iterator> QMultiMap< Key, T >::const_key_value_iterator

Definition at line 1292 of file qmap.h.

◆ ConstIterator

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

Definition at line 1337 of file qmap.h.

◆ difference_type

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

Definition at line 805 of file qmap.h.

◆ Iterator

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

Definition at line 1336 of file qmap.h.

◆ key_type

template<class Key , class T >
using QMultiMap< Key, T >::key_type = Key

Definition at line 803 of file qmap.h.

◆ key_value_iterator

template<class Key , class T >
typedef QKeyValueIterator<const Key&, T&, iterator> QMultiMap< Key, T >::key_value_iterator

Definition at line 1293 of file qmap.h.

◆ mapped_type

template<class Key , class T >
using QMultiMap< Key, T >::mapped_type = T

Definition at line 804 of file qmap.h.

◆ size_type

template<class Key , class T >
using QMultiMap< Key, T >::size_type = qsizetype

Definition at line 806 of file qmap.h.

Constructor & Destructor Documentation

◆ QMultiMap() [1/6]

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

Referenced by QMultiMap< Key, T >::equal_range(), QMultiMap< Key, T >::find(), QMultiMap< Key, T >::find(), QMultiMap< Key, T >::insert(), QMultiMap< Key, T >::insert(), QMultiMap< Key, T >::lowerBound(), QMultiMap< Key, T >::replace(), QMultiMap< Key, T >::take(), and QMultiMap< Key, T >::upperBound().

+ Here is the caller graph for this function:

◆ QMultiMap() [2/6]

template<class Key , class T >
QMultiMap< Key, T >::QMultiMap ( std::initializer_list< std::pair< Key, T > >  list)
inline

Definition at line 812 of file qmap.h.

References QMultiMap< Key, T >::insert(), and list.

+ Here is the call graph for this function:

◆ QMultiMap() [3/6]

template<class Key , class T >
QMultiMap< Key, T >::QMultiMap ( const QMap< Key, T > &  other)
inlineexplicit

Definition at line 823 of file qmap.h.

References d, other(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ QMultiMap() [4/6]

template<class Key , class T >
QMultiMap< Key, T >::QMultiMap ( QMap< Key, T > &&  other)
inlineexplicit

Definition at line 833 of file qmap.h.

References d, other(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ QMultiMap() [5/6]

template<class Key , class T >
QMultiMap< Key, T >::QMultiMap ( const std::multimap< Key, T > &  other)
inlineexplicit

Definition at line 852 of file qmap.h.

References d.

◆ QMultiMap() [6/6]

template<class Key , class T >
QMultiMap< Key, T >::QMultiMap ( std::multimap< Key, T > &&  other)
inlineexplicit

Definition at line 857 of file qmap.h.

References d.

Member Function Documentation

◆ asKeyValueRange() [1/4]

template<class Key , class T >
auto QMultiMap< Key, T >::asKeyValueRange ( ) &
inline

Definition at line 1312 of file qmap.h.

◆ asKeyValueRange() [2/4]

template<class Key , class T >
auto QMultiMap< Key, T >::asKeyValueRange ( ) &&
inline

Definition at line 1314 of file qmap.h.

◆ asKeyValueRange() [3/4]

template<class Key , class T >
auto QMultiMap< Key, T >::asKeyValueRange ( ) const &
inline

Definition at line 1313 of file qmap.h.

◆ asKeyValueRange() [4/4]

template<class Key , class T >
auto QMultiMap< Key, T >::asKeyValueRange ( ) const &&
inline

Definition at line 1315 of file qmap.h.

◆ begin() [1/2]

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

Definition at line 1296 of file qmap.h.

References d, and QMultiMap< Key, T >::detach().

Referenced by QMultiMap< Key, T >::cbegin(), QFontCache::clear(), QMultiMap< Key, T >::constBegin(), QMultiMap< Key, T >::constKeyValueBegin(), QQmlProfilerServiceImpl::dataReady(), QQmlJS::Dom::FieldFilter::describeFieldsFilter(), QMultiMap< Key, T >::first(), QMultiMap< Key, T >::keyBegin(), QMultiMap< Key, T >::keyValueBegin(), QMultiMap< Key, T >::keyValueBegin(), QGraphicsScenePrivate::removeItemHelper(), QHttpNetworkConnectionPrivate::removeReply(), and QQmlJS::Dom::updatePathFromOwnerMultiMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ begin() [2/2]

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

Definition at line 1297 of file qmap.h.

References d.

◆ cbegin()

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

Definition at line 1299 of file qmap.h.

References QMultiMap< Key, T >::begin().

Referenced by QQmlProfilerServiceImpl::dataReady(), and QHttpNetworkConnectionPrivate::emitProxyAuthenticationRequired().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cend()

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

Definition at line 1303 of file qmap.h.

References QMultiMap< Key, T >::end().

Referenced by QQmlProfilerServiceImpl::dataReady(), and QQmlJS::Dom::Map::fromMultiMapRef().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clear()

template<class Key , class T >
void QMultiMap< Key, T >::clear ( )
inline

Definition at line 933 of file qmap.h.

References d.

Referenced by QHttpNetworkConnectionChannel::_q_error(), QFontCache::clear(), QHttpNetworkConnectionChannel::requeueHttp2Requests(), and QHttp2ProtocolHandler::sendRequest().

+ Here is the caller graph for this function:

◆ constBegin()

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

Definition at line 1298 of file qmap.h.

References QMultiMap< Key, T >::begin().

Referenced by QMultiMap< Key, T >::first(), QMultiMap< Key, T >::firstKey(), and QCss::StyleSelector::styleRulesForNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ constEnd()

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

Definition at line 1302 of file qmap.h.

References QMultiMap< Key, T >::end().

Referenced by QMultiMap< Key, T >::last(), QMultiMap< Key, T >::lastKey(), and QCss::StyleSelector::styleRulesForNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ constFind() [1/2]

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

Definition at line 1358 of file qmap.h.

References QMultiMap< Key, T >::find().

+ Here is the call graph for this function:

◆ constFind() [2/2]

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

Definition at line 1392 of file qmap.h.

References QMultiMap< Key, T >::find().

+ Here is the call graph for this function:

◆ constKeyValueBegin()

template<class Key , class T >
const_key_value_iterator QMultiMap< Key, T >::constKeyValueBegin ( ) const
inline

Definition at line 1309 of file qmap.h.

References QMultiMap< Key, T >::begin().

+ Here is the call graph for this function:

◆ constKeyValueEnd()

template<class Key , class T >
const_key_value_iterator QMultiMap< Key, T >::constKeyValueEnd ( ) const
inline

Definition at line 1311 of file qmap.h.

References QMultiMap< Key, T >::end().

+ Here is the call graph for this function:

◆ contains() [1/2]

template<class Key , class T >
bool QMultiMap< Key, T >::contains ( const Key key) const
inline

Definition at line 1018 of file qmap.h.

References d, and i.

Referenced by QGraphicsScenePrivate::filterEvent(), QFontCache::insertEngine(), and QGraphicsScenePrivate::removeSceneEventFilter().

+ Here is the caller graph for this function:

◆ contains() [2/2]

template<class Key , class T >
bool QMultiMap< Key, T >::contains ( const Key key,
const T &  value 
) const
inline

Definition at line 1026 of file qmap.h.

References QMultiMap< Key, T >::end(), and QMultiMap< Key, T >::find().

+ Here is the call graph for this function:

◆ count() [1/3]

template<class Key , class T >
size_type QMultiMap< Key, T >::count ( ) const
inline

Definition at line 1339 of file qmap.h.

References QMultiMap< Key, T >::size().

+ Here is the call graph for this function:

◆ count() [2/3]

template<class Key , class T >
size_type QMultiMap< Key, T >::count ( const Key key) const
inline

Definition at line 1094 of file qmap.h.

References d.

◆ count() [3/3]

template<class Key , class T >
size_type QMultiMap< Key, T >::count ( const Key key,
const T &  value 
) const
inline

Definition at line 1101 of file qmap.h.

References d, and QMapData< AMap >::valueIsEqualTo().

+ Here is the call graph for this function:

◆ detach()

template<class Key , class T >
void QMultiMap< Key, T >::detach ( )
inline

◆ empty()

template<class Key , class T >
bool QMultiMap< Key, T >::empty ( ) const
inline

Definition at line 1493 of file qmap.h.

References QMultiMap< Key, T >::isEmpty().

+ Here is the call graph for this function:

◆ end() [1/2]

◆ end() [2/2]

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

Definition at line 1301 of file qmap.h.

References d.

◆ equal_range() [1/2]

template<class Key , class T >
QPair< iterator, iterator > QMultiMap< Key, T >::equal_range ( const Key akey)
inline

Definition at line 1495 of file qmap.h.

References QMultiMap< Key, T >::QMultiMap(), copy(), d, QMultiMap< Key, T >::detach(), and this.

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ equal_range() [2/2]

template<class Key , class T >
QPair< const_iterator, const_iterator > QMultiMap< Key, T >::equal_range ( const Key akey) const
inline

Definition at line 1503 of file qmap.h.

References d.

◆ erase() [1/2]

template<class Key , class T >
iterator QMultiMap< Key, T >::erase ( const_iterator  afirst,
const_iterator  alast 
)
inline

Definition at line 1322 of file qmap.h.

References d.

◆ erase() [2/2]

template<class Key , class T >
iterator QMultiMap< Key, T >::erase ( const_iterator  it)
inline

Definition at line 1317 of file qmap.h.

References QMultiMap< Key, T >::erase(), and it.

Referenced by QQmlProfilerServiceImpl::dataReady(), QMultiMap< Key, T >::erase(), QGraphicsScenePrivate::removeItemHelper(), and QGraphicsScenePrivate::removeSceneEventFilter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find() [1/4]

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

Definition at line 1344 of file qmap.h.

References QMultiMap< Key, T >::QMultiMap(), copy(), d, QMultiMap< Key, T >::detach(), and this.

Referenced by QMultiMap< Key, T >::constFind(), QMultiMap< Key, T >::constFind(), QMultiMap< Key, T >::contains(), QFontEngineMulti::createMultiFontEngine(), QFontCache::findEngine(), QQmlJS::Dom::Map::fromMultiMapRef(), QQmlJS::Dom::insertUpdatableElementInMultiMap(), and QQmlJS::Dom::valueFromMultimap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find() [2/4]

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

Definition at line 1351 of file qmap.h.

References d.

◆ find() [3/4]

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

Definition at line 1363 of file qmap.h.

References QMultiMap< Key, T >::QMultiMap(), copy(), d, QMultiMap< Key, T >::detach(), i, this, and QMapData< AMap >::valueIsEqualTo().

+ Here is the call graph for this function:

◆ find() [4/4]

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

Definition at line 1378 of file qmap.h.

References d, i, and QMapData< AMap >::valueIsEqualTo().

+ Here is the call graph for this function:

◆ first() [1/2]

template<class Key , class T >
T & QMultiMap< Key, T >::first ( )
inline

Definition at line 1117 of file qmap.h.

References QMultiMap< Key, T >::begin(), QMultiMap< Key, T >::isEmpty(), and Q_ASSERT.

Referenced by QHttpNetworkConnectionChannel::ensureConnection().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ first() [2/2]

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

Definition at line 1118 of file qmap.h.

References QMultiMap< Key, T >::constBegin(), QMultiMap< Key, T >::isEmpty(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ firstKey()

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

Definition at line 1114 of file qmap.h.

References QMultiMap< Key, T >::constBegin(), QMultiMap< Key, T >::isEmpty(), QMultiMap< Key, T >::const_iterator::key(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ insert() [1/2]

◆ insert() [2/2]

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

Definition at line 1435 of file qmap.h.

References QMultiMap< Key, T >::QMultiMap(), copy(), d, QMultiMap< Key, T >::detach(), pos, and this.

+ Here is the call graph for this function:

◆ isDetached()

template<class Key , class T >
bool QMultiMap< Key, T >::isDetached ( ) const
inlinenoexcept

Definition at line 923 of file qmap.h.

References d.

◆ isEmpty()

template<class Key , class T >
bool QMultiMap< Key, T >::isEmpty ( ) const
inline

Definition at line 913 of file qmap.h.

References d.

Referenced by QMultiMap< Key, T >::empty(), QGestureManager::filterEvent(), QMultiMap< Key, T >::first(), QMultiMap< Key, T >::first(), QMultiMap< Key, T >::firstKey(), QMultiMap< Key, T >::last(), QMultiMap< Key, T >::last(), and QMultiMap< Key, T >::lastKey().

+ Here is the caller graph for this function:

◆ isSharedWith()

template<class Key , class T >
bool QMultiMap< Key, T >::isSharedWith ( const QMultiMap< Key, T > &  other) const
inlinenoexcept

Definition at line 928 of file qmap.h.

References d, and other().

+ Here is the call graph for this function:

◆ key()

template<class Key , class T >
Key QMultiMap< Key, T >::key ( const T &  value,
const Key defaultKey = Key() 
) const
inline

Definition at line 1031 of file qmap.h.

References d.

◆ keyBegin()

template<class Key , class T >
key_iterator QMultiMap< Key, T >::keyBegin ( ) const
inline

Definition at line 1304 of file qmap.h.

References QMultiMap< Key, T >::begin().

Referenced by QQmlJS::Dom::Map::fromMultiMapRef(), and QMultiMap< Key, T >::uniqueKeys().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ keyEnd()

template<class Key , class T >
key_iterator QMultiMap< Key, T >::keyEnd ( ) const
inline

Definition at line 1305 of file qmap.h.

References QMultiMap< Key, T >::end().

Referenced by QQmlJS::Dom::Map::fromMultiMapRef(), and QMultiMap< Key, T >::uniqueKeys().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ keys() [1/2]

template<class Key , class T >
QList< Key > QMultiMap< Key, T >::keys ( ) const
inline

Definition at line 1049 of file qmap.h.

References d.

Referenced by QQmlJS::Dom::QmlDirectory::iterateDirectSubpaths().

+ Here is the caller graph for this function:

◆ keys() [2/2]

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

Definition at line 1056 of file qmap.h.

References d.

◆ keyValueBegin() [1/2]

template<class Key , class T >
key_value_iterator QMultiMap< Key, T >::keyValueBegin ( )
inline

Definition at line 1306 of file qmap.h.

References QMultiMap< Key, T >::begin().

+ Here is the call graph for this function:

◆ keyValueBegin() [2/2]

template<class Key , class T >
const_key_value_iterator QMultiMap< Key, T >::keyValueBegin ( ) const
inline

Definition at line 1308 of file qmap.h.

References QMultiMap< Key, T >::begin().

+ Here is the call graph for this function:

◆ keyValueEnd() [1/2]

template<class Key , class T >
key_value_iterator QMultiMap< Key, T >::keyValueEnd ( )
inline

Definition at line 1307 of file qmap.h.

References QMultiMap< Key, T >::end().

+ Here is the call graph for this function:

◆ keyValueEnd() [2/2]

template<class Key , class T >
const_key_value_iterator QMultiMap< Key, T >::keyValueEnd ( ) const
inline

Definition at line 1310 of file qmap.h.

References QMultiMap< Key, T >::end().

+ Here is the call graph for this function:

◆ last() [1/2]

template<class Key , class T >
T & QMultiMap< Key, T >::last ( )
inline

Definition at line 1119 of file qmap.h.

References QMultiMap< Key, T >::end(), QMultiMap< Key, T >::isEmpty(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ last() [2/2]

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

Definition at line 1120 of file qmap.h.

References QMultiMap< Key, T >::constEnd(), QMultiMap< Key, T >::isEmpty(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ lastKey()

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

Definition at line 1115 of file qmap.h.

References QMultiMap< Key, T >::constEnd(), QMultiMap< Key, T >::isEmpty(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ lowerBound() [1/2]

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

Definition at line 1397 of file qmap.h.

References QMultiMap< Key, T >::QMultiMap(), copy(), d, QMultiMap< Key, T >::detach(), and this.

Referenced by QGraphicsScenePrivate::filterEvent(), QGestureManager::filterEventThroughContexts(), and QGraphicsScenePrivate::removeSceneEventFilter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lowerBound() [2/2]

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

Definition at line 1404 of file qmap.h.

References d.

◆ remove() [1/2]

template<class Key , class T >
size_type QMultiMap< Key, T >::remove ( const Key key)
inline

Definition at line 944 of file qmap.h.

References QMapData< AMap >::copyIfNotEquivalentTo(), and d.

Referenced by QQmlJS::Dom::FieldFilter::addFilter(), QQmlDebugTranslationServiceImpl::foundTranslationBinding(), QHttpNetworkConnectionPrivate::removeReply(), QGestureManager::unregisterGestureRecognizer(), and QWaylandXdgShellPrivate::unregisterXdgSurface().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ remove() [2/2]

template<class Key , class T >
size_type QMultiMap< Key, T >::remove ( const Key key,
const T &  value 
)
inline

Definition at line 960 of file qmap.h.

References d, QMultiMap< Key, T >::detach(), e, i, and Key.

+ Here is the call graph for this function:

◆ removeIf()

template<class Key , class T >
template<typename Predicate >
size_type QMultiMap< Key, T >::removeIf ( Predicate  pred)
inline

Definition at line 993 of file qmap.h.

References QtPrivate::associative_erase_if().

+ Here is the call graph for this function:

◆ replace()

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

Definition at line 1474 of file qmap.h.

References QMultiMap< Key, T >::QMultiMap(), copy(), d, QMultiMap< Key, T >::detach(), i, and this.

Referenced by QFontCache::insertEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ size()

◆ swap()

template<class Key , class T >
void QMultiMap< Key, T >::swap ( QMultiMap< Key, T > &  other)
inlinenoexcept

Definition at line 818 of file qmap.h.

References d, and other().

+ Here is the call graph for this function:

◆ take()

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

Definition at line 998 of file qmap.h.

References QMultiMap< Key, T >::QMultiMap(), copy(), d, QMultiMap< Key, T >::detach(), i, and this.

+ Here is the call graph for this function:

◆ toStdMap()

template<class Key , class T >
std::multimap< Key, T > QMultiMap< Key, T >::toStdMap ( ) const
inline

Definition at line 864 of file qmap.h.

References QMultiMap< Key, T >::toStdMultiMap().

+ Here is the call graph for this function:

◆ toStdMultiMap() [1/2]

template<class Key , class T >
std::multimap< Key, T > QMultiMap< Key, T >::toStdMultiMap ( ) &&
inline

Definition at line 876 of file qmap.h.

References d.

◆ toStdMultiMap() [2/2]

template<class Key , class T >
std::multimap< Key, T > QMultiMap< Key, T >::toStdMultiMap ( ) const &
inline

Definition at line 869 of file qmap.h.

References d.

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

+ Here is the caller graph for this function:

◆ uniqueKeys()

template<class Key , class T >
QList< Key > QMultiMap< Key, T >::uniqueKeys ( ) const
inline

Definition at line 1063 of file qmap.h.

References d, QMultiMap< Key, T >::keyBegin(), QMultiMap< Key, T >::keyEnd(), and QMultiMap< Key, T >::size().

Referenced by QTlsPrivate::X509CertificateBase::issuerInfoAttributes(), and QTlsPrivate::X509CertificateBase::subjectInfoAttributes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unite() [1/2]

template<class Key , class T >
QMultiMap & QMultiMap< Key, T >::unite ( const QMultiMap< Key, T > &  other)
inline

Definition at line 1511 of file qmap.h.

References copy(), d, QMultiMap< Key, T >::detach(), and other().

Referenced by QDBusMetaObject::createMetaObject(), and operator+=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unite() [2/2]

template<class Key , class T >
QMultiMap & QMultiMap< Key, T >::unite ( QMultiMap< Key, T > &&  other)
inline

Definition at line 1529 of file qmap.h.

◆ upperBound() [1/2]

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

Definition at line 1411 of file qmap.h.

References QMultiMap< Key, T >::QMultiMap(), copy(), d, QMultiMap< Key, T >::detach(), and this.

Referenced by QGraphicsScenePrivate::filterEvent(), QGestureManager::filterEventThroughContexts(), and QGraphicsScenePrivate::removeSceneEventFilter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ upperBound() [2/2]

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

Definition at line 1418 of file qmap.h.

References d.

◆ value()

template<class Key , class T >
T QMultiMap< Key, T >::value ( const Key key,
const T &  defaultValue = T() 
) const
inline

Definition at line 1039 of file qmap.h.

References d, and i.

Referenced by QFontCache::insertEngine().

+ Here is the caller graph for this function:

◆ values() [1/2]

◆ values() [2/2]

template<class Key , class T >
QList< T > QMultiMap< Key, T >::values ( const Key key) const
inline

Definition at line 1085 of file qmap.h.

References QMultiMap< Key, T >::equal_range().

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ operator!=

template<class Key , class T >
template<typename AKey = Key, typename AT = T>
QTypeTraits::compare_eq_result_container< QMultiMap, AKey, AT > operator!= ( const QMultiMap< Key, T > &  lhs,
const QMultiMap< Key, T > &  rhs 
)
friend

Definition at line 901 of file qmap.h.

◆ operator==

template<class Key , class T >
template<typename AKey = Key, typename AT = T>
QTypeTraits::compare_eq_result_container< QMultiMap, AKey, AT > operator== ( const QMultiMap< Key, T > &  lhs,
const QMultiMap< Key, T > &  rhs 
)
friend

Definition at line 890 of file qmap.h.


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