Feature #2060
Convert enum to enum class
Description
Having been just bitten by code (nb_generic_cg.cpp) comparing enums to numbers it seems prudent to move to enum class wherever possible.
There are some issues involved with linking arrays of strings to numbers, e.g. in mdp files and (old-style) command line options. Thoughts?