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 825 of file qmap.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 834 of file qmap.h.

◆ key_type

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

Definition at line 832 of file qmap.h.

◆ mapped_type

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

Definition at line 833 of file qmap.h.

◆ size_type

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

Definition at line 835 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 841 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 852 of file qmap.h.

◆ QMultiMap() [4/6]

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

Definition at line 862 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 881 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 886 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 847 of file qmap.h.

◆ toStdMap()

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

Definition at line 893 of file qmap.h.

◆ toStdMultiMap() [1/2]

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

Definition at line 905 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 898 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 921 of file qmap.h.


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