Catalyst.EnumUtils
Description:
The EnumUtils namespace contains useful functions for operating on enums.
Content:
Functions:
- public T get_value_by_name<T> (string name) throws EnumParseError
Retrieves the enum value for the given string name. The string name is
the value obtained when calling to_string () on an enum value.
- public T get_value_by_nick<T> (string nick) throws EnumParseError
Retrieves the enum value for the given string nick.
- public T[] get_values<T> ()
Retrieves all the values in the enum as an array.