Typesafe Enum
Package:
Summary:
Implement enumerated values as class functions
Groups:
Author:
Description:
This class can be used to implement enumerated values as class functions.
It takes the name of a class and the list of names for enumerated values to define and generates code for a new class that defines the enumerated values.
The enumerated values can be retrieved using static function calls to the generated class.
It takes the name of a class and the list of names for enumerated values to define and generates code for a new class that defines the enumerated values.
The enumerated values can be retrieved using static function calls to the generated class.
Comments are closed.