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
qmap.h File Reference

(32b0a27d56eefeac3a53f292cf1541550cb352fe)

#include <QtCore/qhashfunctions.h>
#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 812 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 1598 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 1584 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 1592 of file qmap.h.