![]() |
Qt 6.x
The Qt SDK
|
#include <qhash.h>
Public Types | |
using | KeyType = Key |
using | ValueType = T |
using | Chain = MultiNodeChain< T > |
Public Member Functions | |
MultiNode (const Key &k, Chain *c) | |
MultiNode (Key &&k, Chain *c) noexcept(std::is_nothrow_move_assignable_v< Key >) | |
MultiNode (MultiNode &&other) | |
MultiNode (const MultiNode &other) | |
~MultiNode () | |
template<typename ... Args> | |
void | insertMulti (Args &&... args) |
template<typename ... Args> | |
void | emplaceValue (Args &&... args) |
Static Public Member Functions | |
template<typename ... Args> | |
static void | createInPlace (MultiNode *n, Key &&k, Args &&... args) |
template<typename ... Args> | |
static void | createInPlace (MultiNode *n, const Key &k, Args &&... args) |
static qsizetype | freeChain (MultiNode *n) noexcept(std::is_nothrow_destructible_v< T >) |
Public Attributes | |
Key | key |
Chain * | value |
using QHashPrivate::MultiNode< Key, T >::Chain = MultiNodeChain<T> |
using QHashPrivate::MultiNode< Key, T >::KeyType = Key |
using QHashPrivate::MultiNode< Key, T >::ValueType = T |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
Definition at line 179 of file qhash.h.
References e, QHashPrivate::MultiNodeChain< T >::next, other(), QHashPrivate::MultiNodeChain< T >::value, and QHashPrivate::MultiNode< Key, T >::value.
|
inline |
|
inlinestatic |
Definition at line 158 of file qhash.h.
References args.
Referenced by QMultiHash< Key, T >::operator[]().
|
inline |
|
inlinestaticnoexcept |
Definition at line 196 of file qhash.h.
Referenced by QMultiHash< Key, T >::remove().
|
inline |
Key QHashPrivate::MultiNode< Key, T >::key |
Chain* QHashPrivate::MultiNode< Key, T >::value |
Definition at line 155 of file qhash.h.
Referenced by QHashPrivate::MultiNode< Key, T >::MultiNode().