Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QMultiMap< Key, T > Class Template Reference

#include <qmap.h>

+ Collaboration diagram for QMultiMap< Key, T >:

Public Types

using key_type = Key
 
using mapped_type = T
 
using difference_type = qptrdiff
 
using size_type = qsizetype
 

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 () &&
 

Friends

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

Detailed Description

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

Definition at line 827 of file qmap.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 836 of file qmap.h.

◆ key_type

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

Definition at line 834 of file qmap.h.

◆ mapped_type

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

Definition at line 835 of file qmap.h.

◆ size_type

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

Definition at line 837 of file qmap.h.

Constructor & Destructor Documentation

◆ QMultiMap() [1/6]

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

◆ QMultiMap() [2/6]

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

Definition at line 843 of file qmap.h.

◆ QMultiMap() [3/6]

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

Definition at line 854 of file qmap.h.

◆ QMultiMap() [4/6]

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

Definition at line 864 of file qmap.h.

◆ QMultiMap() [5/6]

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

Definition at line 883 of file qmap.h.

◆ QMultiMap() [6/6]

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

Definition at line 888 of file qmap.h.

Member Function Documentation

◆ swap()

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

Definition at line 849 of file qmap.h.

◆ toStdMap()

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

Definition at line 895 of file qmap.h.

◆ toStdMultiMap() [1/2]

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

Definition at line 907 of file qmap.h.

◆ toStdMultiMap() [2/2]

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

Definition at line 900 of file qmap.h.

Friends And Related Symbol Documentation

◆ comparesEqual

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

Definition at line 923 of file qmap.h.


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