convert enum ContLine into enum class