C4 Engine
C4 Engine API Documentation

HashTable::FindHashTableElement

Defined in:  TSHash.h
Finds an element in a hash table.
Prototype

type *FindHashTableElement(const KeyType& key) const;

Parameters
key The key value of the element to find.
Description
The FindHashTableElement function searches a hash table for an element having a key that matches the key parameter. If a matching element is found, then a pointer to it is returned. Otherwise, the return value is nullptr.
See Also

HashTable::InsertHashTableElement

HashTable::RemoveHashTableElement