![]() |
Qt 6.x
The Qt SDK
|
#include <qmap.h>
Inheritance diagram for QMapData< AMap >:
Collaboration diagram for QMapData< AMap >:Classes | |
| struct | EraseResult |
Public Types | |
| using | Map = AMap |
| using | Key = typename Map::key_type |
| using | T = typename Map::mapped_type |
| using | value_type = typename Map::value_type |
| using | size_type = typename Map::size_type |
| using | iterator = typename Map::iterator |
| using | const_iterator = typename Map::const_iterator |
Public Member Functions | |
| QMapData ()=default | |
| QMapData (const Map &other) | |
| QMapData (Map &&other) | |
| size_type | copyIfNotEquivalentTo (const Map &source, const Key &key) |
| Key | key (const T &value, const Key &defaultKey) const |
| QList< Key > | keys () const |
| QList< Key > | keys (const T &value) const |
| QList< T > | values () const |
| size_type | count (const Key &key) const |
| EraseResult | erase (const_iterator first, const_iterator last) const |
Public Member Functions inherited from QSharedData | |
| QSharedData () noexcept | |
| Constructs a QSharedData object with a reference count of 0. | |
| QSharedData (const QSharedData &) noexcept | |
| Constructs a QSharedData object with reference count 0. | |
| QSharedData & | operator= (const QSharedData &)=delete |
| ~QSharedData ()=default | |
Static Public Member Functions | |
| static auto | valueIsEqualTo (const T &value) |
Public Attributes | |
| Map | m |
Public Attributes inherited from QSharedData | |
| QAtomicInt | ref |
| using QMapData< AMap >::const_iterator = typename Map::const_iterator |
| using QMapData< AMap >::iterator = typename Map::iterator |
| using QMapData< AMap >::Key = typename Map::key_type |
| using QMapData< AMap >::size_type = typename Map::size_type |
| using QMapData< AMap >::T = typename Map::mapped_type |
| using QMapData< AMap >::value_type = typename Map::value_type |
|
default |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Definition at line 51 of file qmap.h.
References Q_ASSERT.
Referenced by QMap< Key, T >::remove(), and QMultiMap< Key, T >::remove().
Here is the caller graph for this function:
|
inline |
Definition at line 147 of file qmap.h.
References QMapData< AMap >::QMapData(), e, and i.
Here is the call graph for this function:
|
inline |
Definition at line 81 of file qmap.h.
References i, and QMapData< AMap >::valueIsEqualTo().
Here is the call graph for this function:Definition at line 106 of file qmap.h.
References QMapData< AMap >::m.
|
inlinestatic |
Definition at line 76 of file qmap.h.
Referenced by QMultiMap< Key, T >::count(), QMultiMap< Key, T >::find(), QMultiMap< Key, T >::find(), and QMapData< AMap >::key().
Here is the caller graph for this function:Definition at line 38 of file qmap.h.
Referenced by QMapData< AMap >::keys().