Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::HashTableBaseT< KeyType, TraitsType >::HashData Struct Reference
Collaboration diagram for Arcane::HashTableBaseT< KeyType, TraitsType >::HashData:

Public Member Functions

void changeKey (const KeyType &new_key)
 Changes the key value.

Protected Attributes

KeyTypeValue m_key
 Search key.
HashData * m_next

Friends

class HashTableBaseT< KeyType, TraitsType >

Detailed Description

template<typename KeyType, typename TraitsType>
struct Arcane::HashTableBaseT< KeyType, TraitsType >::HashData

Definition at line 109 of file HashTable.h.

Constructor & Destructor Documentation

◆ HashData()

template<typename KeyType, typename TraitsType>
Arcane::HashTableBaseT< KeyType, TraitsType >::HashData::HashData ( )
inline

Definition at line 117 of file HashTable.h.

Member Function Documentation

◆ changeKey()

template<typename KeyType, typename TraitsType>
void Arcane::HashTableBaseT< KeyType, TraitsType >::HashData::changeKey ( const KeyType & new_key)
inline

Changes the key value.

After changing the value of one or more keys, a rehash must be performed().

Definition at line 129 of file HashTable.h.

References m_key.

◆ HashTableBaseT< KeyType, TraitsType >

template<typename KeyType, typename TraitsType>
friend class HashTableBaseT< KeyType, TraitsType >
friend

Definition at line 265 of file HashTable.h.

Member Data Documentation

◆ m_key

template<typename KeyType, typename TraitsType>
KeyTypeValue Arcane::HashTableBaseT< KeyType, TraitsType >::HashData::m_key
protected

Search key.

Definition at line 136 of file HashTable.h.

Referenced by changeKey(), and Arcane::HashTableBaseT< KeyType, TraitsType >::rehash().

◆ m_next

template<typename KeyType, typename TraitsType>
HashData* Arcane::HashTableBaseT< KeyType, TraitsType >::HashData::m_next
protected

Definition at line 137 of file HashTable.h.


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