Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Public Attributes | List of all members
Burger::HashMap< T, U >::Entry Class Reference

Key / data pair for HashMap. More...

Inheritance diagram for Burger::HashMap< T, U >::Entry:
Inheritance graph
[legend]
Collaboration diagram for Burger::HashMap< T, U >::Entry:
Collaboration graph
[legend]

Public Attributes

T first
 Key value.
 
second
 Data associated with the key.
 
- Public Attributes inherited from Burger::HashMapShared::Entry
uintptr_t m_uNextInChain
 Next item index in the linked list chain or END_OF_CHAIN to mark the end of a linked list.
 
uintptr_t m_uHashValue
 Computed hash value for this object (INVALID_HASH indicates this entry is not initialized)
 

Additional Inherited Members

- Public Member Functions inherited from Burger::HashMapShared::Entry
uint_t IsEmpty (void) const noexcept
 Is the Entry an empty record.
 
uint_t IsEndOfChain (void) const noexcept
 Is the Entry the last Entry of a linked list.
 
uint_t IsHashInvalid (void) const noexcept
 Is the Entry uninitialized?
 

Detailed Description

template<class T, class U>
class Burger::HashMap< T, U >::Entry

Key / data pair for HashMap.


Entry records have some extra data for connecting to the hash and also data for a copy of the key and data. This is declared in the template so it adjusts depending on the data needed

See also
HashMapShared

Member Data Documentation

◆ first

template<class T , class U >
T Burger::HashMap< T, U >::Entry::first

Key value.

◆ second

template<class T , class U >
U Burger::HashMap< T, U >::Entry::second

Data associated with the key.