#include <LookupTable.h>
Public Attributes | |
const char * | name |
EnumType | id |
Detailed Description
struct LookupTableRecord< EnumType >
a record in the initializer list for a LookupTable
In case it is wished to extend the structure of a LookupTable's initializer list, it can be done by using a custom struct which must match LookupTableRecord's signature plus any extra custom fields the user may wish to add; the extended record type must then be passed as RecordType template parameter to LookupTable.
Definition at line 27 of file LookupTable.h.
Member Data Documentation
◆ id
EnumType LookupTableRecord< EnumType >::id |
Definition at line 30 of file LookupTable.h.
Referenced by LookupTable< EnumType, RecordType, Hasher >::LookupTable().
◆ name
const char* LookupTableRecord< EnumType >::name |
Definition at line 29 of file LookupTable.h.
Referenced by LookupTable< EnumType, RecordType, Hasher >::LookupTable().
The documentation for this struct was generated from the following file:
- src/base/LookupTable.h