nmodl icon indicating copy to clipboard operation
nmodl copied to clipboard

Add printing capabilities for enums

Open cattabiani opened this issue 4 years ago • 1 comments

Right now enums are C++ base enums. They lack the capability to print their names (and some other small features). We could create a "super_enum" class (please, feel free to change the name) that has enums properties + it prints its name (not a number). This class can be templated with Jinja or just C++ templates or both (depending on how many enums we have).

cattabiani avatar Mar 04 '20 10:03 cattabiani