convert enum to enum class

several enum types are enum class (i.e. typesafe C++ enums), several others are not

Started with just 2 of them, worth the effort? Or is the need of some casts already an indication that is not?