Looks up the code of a description.
Looks up a code in the enum by its index. (ie gets the nth code in the enum).
Looks up the description of a code.
Looks up a description in the enum by the index of its code. (ie gets the description of the nth code in the enum).
Looks up the index of a code in the enum (ie code is the nth code in the enum). This can be useful if the actual enum codes are not consecutive.
Looks up the index of a description in the enum (ie description is for the nth code in the enum).
foreach iterator over the codes and descriptions of the enum.
foreach iterator over the codes and descriptions of the enum and their indices.
Gets the description of a code.
Gets the code of a description.
Two way mapping between codes <-> descriptions.
Members forming the core of each class generated by the SmartEnum mixin. This template is mixed into each class created by the SmartEnum template.