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
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 71 of file qhash.h.

Member Typedef Documentation

◆ KeyType

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

Definition at line 73 of file qhash.h.

◆ ValueType

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

Definition at line 74 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 82 of file qhash.h.

◆ 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 79 of file qhash.h.

◆ emplaceValue()

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

Definition at line 85 of file qhash.h.

References QHashPrivate::Node< Key, T >::value.

◆ takeValue()

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

Definition at line 89 of file qhash.h.

References QHashPrivate::Node< Key, T >::value.

◆ valuesEqual()

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

Definition at line 93 of file qhash.h.

References QHashPrivate::Node< Key, T >::value.

Member Data Documentation

◆ key

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

Definition at line 76 of file qhash.h.

◆ value


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