fgen.data_models.module_enum_defining
Data model of a module that defines an enum
EnumValue
-
class EnumValue(description, str_value, integer_value)[source]
Bases: object
Data model of an enum value
-
description:
str
Description of the value
-
integer_value:
int
The integer value of the enum.
Ensures consistency across Python and Fortran.
-
str_value:
str
The string value of the enum.