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
QHashPrivate::Node< Key, T > Struct Template Reference

#include <qhash.h>

+ Collaboration diagram for QHashPrivate::Node< Key, T >:

Public Types

using KeyType = Key
 
using ValueType = T
 

Public Member Functions

template<typename ... Args>
void emplaceValue (Args &&... args)
 
T && takeValue () noexcept(std::is_nothrow_move_assignable_v< T >)
 
bool valuesEqual (const Node *other) const
 

Static Public Member Functions

template<typename ... Args>
static void createInPlace (Node *n, Key &&k, Args &&... args)
 
template<typename ... Args>
static void createInPlace (Node *n, const Key &k, Args &&... args)
 

Public Attributes

Key key
 
value
 

Detailed Description

template<typename Key, typename T>
struct QHashPrivate::Node< Key, T >

Definition at line 70 of file qhash.h.

Member Typedef Documentation

◆ KeyType

template<typename Key , typename T >
using QHashPrivate::Node< Key, T >::KeyType = Key

Definition at line 72 of file qhash.h.

◆ ValueType

template<typename Key , typename T >
using QHashPrivate::Node< Key, T >::ValueType = T

Definition at line 73 of file qhash.h.

Member Function Documentation

◆ createInPlace() [1/2]

template<typename Key , typename T >
template<typename ... Args>
static void QHashPrivate::Node< Key, T >::createInPlace ( Node< Key, T > * n,
const Key & k,
Args &&... args )
inlinestatic

Definition at line 81 of file qhash.h.

References args, and Key.

◆ createInPlace() [2/2]

template<typename Key , typename T >
template<typename ... Args>
static void QHashPrivate::Node< Key, T >::createInPlace ( Node< Key, T > * n,
Key && k,
Args &&... args )
inlinestatic

Definition at line 78 of file qhash.h.

References args.

◆ emplaceValue()

template<typename Key , typename T >
template<typename ... Args>
void QHashPrivate::Node< Key, T >::emplaceValue ( Args &&... args)
inline

Definition at line 84 of file qhash.h.

References args.

◆ takeValue()

template<typename Key , typename T >
T && QHashPrivate::Node< Key, T >::takeValue ( )
inlinenoexcept

Definition at line 88 of file qhash.h.

◆ valuesEqual()

template<typename Key , typename T >
bool QHashPrivate::Node< Key, T >::valuesEqual ( const Node< Key, T > * other) const
inline

Definition at line 92 of file qhash.h.

References other().

+ Here is the call graph for this function:

Member Data Documentation

◆ key

template<typename Key , typename T >
Key QHashPrivate::Node< Key, T >::key

Definition at line 75 of file qhash.h.

◆ value

template<typename Key , typename T >
T QHashPrivate::Node< Key, T >::value

Definition at line 76 of file qhash.h.


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