This is the documentation for Enlighten.
class Geo GeoHashMap
template<typename, typename, typename, typename>
class Geo::GeoHashMap
The hash table.
It's a straight forward key/value hash table where every key has one associated value (so it's a hash map, rather than a hash multi map).
Typedefs
Name | Description |
|---|---|
GeoHashConstHandle< GeoHashMap > ConstHandle | A const handle to an entry in the container. |
const DataType & DataParamType | The Data type stored internally when passed as a parameter. |
The Data type stored internally. | |
GeoHashHandle< GeoHashMap > Handle | A handle to an entry in the container. |
tHashFunctor HashFunctor | The specified Hash Functor type. |
tKeyCmp KeyCompareFunctor | The specified Key Compare type. |
const KeyType & KeyParamType | The Key type when passed as a parameter. |
tKey KeyType | The specified Key type. |
const ValueType & ValueParamType | The Value type when passed as a parameter. |
tValue ValueType | The specified Value type. |
Variables
Name | Description |
|---|---|
const u32 MemoryAlignment = GEO_ALIGN_OF(DataType) > GEO_ALIGN_OF(u32) ? GEO_ALIGN_OF(DataType) : GEO_ALIGN_OF(u32) | The required alignment of the memory block passed to the appropriate GeoHashMap constructor. |
Functions
Name | Description |
|---|---|
Delete. | |
Gets the amount of memory (in bytes) required by a GeoHashMap with the given capacity. | |
Clears the table. | |
This returns true if the key exists. | |
Construct a hash table. | |
Construct a hash table using the given block of memory for storage. The given block must be at least the size returned by CalcMemoryUsage() and be 4-byte aligned. | |
Copy-constructor. | |
Move constructor. | |
Assignment operator. | |
Move assignment operator. | |
Removes the key/value pair indexed by this key. | |
Removes the key/value pair reference by the handle. | |
Swap places with another table. |
Geo::GeoHashMap< tKey, tValue, tHashFunctor, tKeyCmp >::~GeoHashMap
public: ~GeoHashMap()