phdMesh
Version of the Day
|
Map the integer value associated with a numeric scalar type to a text name or byte size. More...
#include <NumericEnum.hpp>
Public Types | |
enum | { length = TypeListLength<NumericTypeList>::value } |
enum | { minimum = 1 } |
enum | { maximum = length - 1 } |
enum | { value = TypeListIndex< NumericTypeList , void>::value } |
Static Public Member Functions | |
static const char * | name (unsigned ordinal) |
Text name Type where where ordinal = NumericEnum<Type>::value. | |
static unsigned | size (unsigned ordinal) |
sizeof(Type) where ordinal = NumericEnum<Type>::value | |
Map the integer value associated with a numeric scalar type to a text name or byte size.
Definition at line 97 of file NumericEnum.hpp.