LookupTableRecord< EnumType > Struct Template Reference

#include <LookupTable.h>

Collaboration diagram for LookupTableRecord< EnumType >:

Public Attributes

const char * name
EnumType id

Detailed Description

template<typename EnumType>
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

template<typename EnumType >
EnumType LookupTableRecord< EnumType >::id

◆ name

template<typename EnumType >
const char* LookupTableRecord< EnumType >::name

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






Web Site Translations