The base type of the elements in the enumeration.
The base type of the elements in the enumeration. For example for Sides the Base type would be Side and Bid and Ask would extend it.
Side should extend the EnumElement trait. And you should add a override type ET = Side in your CEnum.
Use this class for enumerations. Be sure to call the add method after each element.