Internal storage type for HashSet entries. More...

Public Types | |
| typedef K | key_type |
| Type of key. More... | |
| typedef Foam::zero | mapped_type |
| Type of content (no content: placeholder) More... | |
| typedef key_type | value_type |
| Content storage type to the entry. More... | |
Public Member Functions | |
| HashTableSingle (const HashTableSingle &)=delete | |
| No copy construct. More... | |
| void | operator= (const HashTableSingle &)=delete |
| No copy assignment. More... | |
| template<class... Args> | |
| HashTableSingle (HashTableSingle *next, const key_type &key, Args &&...) | |
| Construct from next pointer, key, (unused) contents. More... | |
| const key_type & | key () const noexcept |
| The key. More... | |
| const mapped_type & | cval () const noexcept |
| Const access to the (dummy) mapped value (for API only) More... | |
| const mapped_type & | val () const noexcept |
| Const access to the (dummy) mapped value (for API only) More... | |
| mapped_type & | val () noexcept |
| Non-const access to the (dummy) mapped value (for API only) More... | |
| bool | operator< (const HashTableSingle &rhs) const |
| Compare keys. More... | |
| void | print (Ostream &os) const |
| Write the key. There is no value to write. More... | |
Static Public Member Functions | |
| static constexpr bool | stores_value () noexcept |
| This class does not store any value. More... | |
Public Attributes | |
| const K | key_ |
| The lookup key == content. More... | |
| HashTableSingle * | next_ |
| Addressing (next in collision list) More... | |
Internal storage type for HashSet entries.
Comprises a single (K) value and a linked-list entry for hash collisions
Definition at line 238 of file HashTableDetail.H.
Type of key.
Definition at line 245 of file HashTableDetail.H.
| typedef Foam::zero mapped_type |
Type of content (no content: placeholder)
Definition at line 250 of file HashTableDetail.H.
| typedef key_type value_type |
Content storage type to the entry.
Definition at line 255 of file HashTableDetail.H.
|
delete |
No copy construct.
|
inline |
Construct from next pointer, key, (unused) contents.
Definition at line 299 of file HashTableDetail.H.
|
inlinestaticnoexcept |
This class does not store any value.
Definition at line 260 of file HashTableDetail.H.
|
delete |
No copy assignment.
|
inlinenoexcept |
|
inlinenoexcept |
Const access to the (dummy) mapped value (for API only)
Definition at line 323 of file HashTableDetail.H.
References zero::dummy.
|
inlinenoexcept |
Const access to the (dummy) mapped value (for API only)
Definition at line 331 of file HashTableDetail.H.
References zero::dummy.
|
inlinenoexcept |
Non-const access to the (dummy) mapped value (for API only)
Definition at line 339 of file HashTableDetail.H.
References zero::dummy.
|
inline |
Compare keys.
Definition at line 348 of file HashTableDetail.H.
References HashTableSingle< K >::key_.
|
inline |
Write the key. There is no value to write.
Definition at line 356 of file HashTableDetail.H.
References HashTableSingle< K >::key_, and os().

| const K key_ |
The lookup key == content.
Definition at line 271 of file HashTableDetail.H.
Referenced by HashTableSingle< K >::key(), HashTableSingle< K >::operator<(), and HashTableSingle< K >::print().
| HashTableSingle* next_ |
Addressing (next in collision list)
Definition at line 276 of file HashTableDetail.H.