Module va_toolbox.hashed_enum
This modules provides code to declare enumeration with hashed values instead of usual
numeration starting from 0 to n .
Functions
Name | Description |
toHash(name)
|
Simple hash function for enumeration name
|
Templates
Name | Description |
HashedEnum
|
Create a named enumeration with hash value for each enumeration member calculated from member name
|
Manifest constants
Name | Type | Description |
createEnumLines
|
|
Create the enumerations member list with hashed member name
|
createNames
|
|
Create the enumerations member list with hashed member name
|