Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qmap.h File Reference
#include <QtCore/qiterator.h>
#include <QtCore/qlist.h>
#include <QtCore/qrefcount.h>
#include <QtCore/qpair.h>
#include <QtCore/qshareddata.h>
#include <QtCore/qshareddata_impl.h>
#include <functional>
#include <initializer_list>
#include <map>
#include <algorithm>
+ Include dependency graph for qmap.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QMapData< AMap >
 
struct  QMapData< AMap >::EraseResult
 
class  QMap< Key, T >
 
class  QMap< Key, T >::iterator
 
class  QMap< Key, T >::const_iterator
 
class  QMap< Key, T >::key_iterator
 
class  QMultiMap< Key, T >
 
class  QMultiMap< Key, T >::iterator
 
class  QMultiMap< Key, T >::const_iterator
 
class  QMultiMap< Key, T >::key_iterator
 

Functions

template<typename Key , typename T , typename Predicate >
qsizetype erase_if (QMap< Key, T > &map, Predicate pred)
 
template<typename Key , typename T >
QMultiMap< Key, T > operator+ (const QMultiMap< Key, T > &lhs, const QMultiMap< Key, T > &rhs)
 
template<typename Key , typename T >
QMultiMap< Key, T > operator+= (QMultiMap< Key, T > &lhs, const QMultiMap< Key, T > &rhs)
 
template<typename Key , typename T , typename Predicate >
qsizetype erase_if (QMultiMap< Key, T > &map, Predicate pred)
 

Function Documentation

◆ erase_if() [1/2]

template<typename Key , typename T , typename Predicate >
qsizetype erase_if ( QMap< Key, T > &  map,
Predicate  pred 
)

Definition at line 786 of file qmap.h.

References QtPrivate::associative_erase_if(), and map.

+ Here is the call graph for this function:

◆ erase_if() [2/2]

template<typename Key , typename T , typename Predicate >
qsizetype erase_if ( QMultiMap< Key, T > &  map,
Predicate  pred 
)

Definition at line 1571 of file qmap.h.

References QtPrivate::associative_erase_if(), and map.

+ Here is the call graph for this function:

◆ operator+()

template<typename Key , typename T >
QMultiMap< Key, T > operator+ ( const QMultiMap< Key, T > &  lhs,
const QMultiMap< Key, T > &  rhs 
)

Definition at line 1557 of file qmap.h.

◆ operator+=()

template<typename Key , typename T >
QMultiMap< Key, T > operator+= ( QMultiMap< Key, T > &  lhs,
const QMultiMap< Key, T > &  rhs 
)

Definition at line 1565 of file qmap.h.

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

+ Here is the call graph for this function: