Cpp Switch Case On Enumeration