convert enum SelectType into enum class