Public Member Functions | Data Fields | Private Member Functions
HashTable::hashedEntry Struct Reference

Structure to hold a hashed entry with SLList for collisions. More...

Collaboration diagram for HashTable::hashedEntry:
Collaboration graph
[legend]

Public Member Functions

 hashedEntry (const Key &, hashedEntry *next, const T &)
 Construct from key, next pointer and object. More...
 

Data Fields

Key key_
 The lookup key. More...
 
hashedEntrynext_
 Pointer to next hashedEntry in sub-list. More...
 
T obj_
 The data object. More...
 

Private Member Functions

 hashedEntry (const hashedEntry &)
 Disallow default bitwise copy construct. More...
 
void operator= (const hashedEntry &)
 Disallow default bitwise assignment. More...
 

Detailed Description

Structure to hold a hashed entry with SLList for collisions.

Definition at line 125 of file HashTable.H.

Constructor & Destructor Documentation

◆ hashedEntry() [1/2]

hashedEntry ( const Key &  ,
hashedEntry next,
const T  
)
inline

Construct from key, next pointer and object.

◆ hashedEntry() [2/2]

hashedEntry ( const hashedEntry )
private

Disallow default bitwise copy construct.

Member Function Documentation

◆ operator=()

void operator= ( const hashedEntry )
private

Disallow default bitwise assignment.

Field Documentation

◆ key_

Key key_

The lookup key.

Definition at line 128 of file HashTable.H.

◆ next_

hashedEntry* next_

Pointer to next hashedEntry in sub-list.

Definition at line 131 of file HashTable.H.

Referenced by HashTable::iteratorBase::erase().

◆ obj_

T obj_

The data object.

Definition at line 134 of file HashTable.H.


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