convert enum DurationType to enum class
convert enum DynamicType to enum class
convert enum HairpinType to enum class