generator_enums.hpp file
Generator-class enums (CogenMode, OutageReserveMode).
Mirrors the line_enums.hpp / planning_enums.hpp pattern: the JSON- facing field stays as OptName (a string) and the C++ side reaches the typed enum via Generator::cogen_mode_enum() which delegates to the generic enum_from_name<CogenMode> lookup.
Namespaces
- namespace gtopt