diff --git a/lib/include/srsran/asn1/asn1_utils.h b/lib/include/srsran/asn1/asn1_utils.h index 9dbe2ecef..15759481e 100644 --- a/lib/include/srsran/asn1/asn1_utils.h +++ b/lib/include/srsran/asn1/asn1_utils.h @@ -13,6 +13,7 @@ #ifndef SRSASN_COMMON_UTILS_H #define SRSASN_COMMON_UTILS_H +#include "srsran/common/srsran_assert.h" #include "srsran/srslog/srslog.h" #include #include @@ -82,7 +83,16 @@ void log_invalid_access_choice_id(uint32_t val, uint32_t choice_id); void log_invalid_choice_id(uint32_t val, const char* choice_type); void invalid_enum_number(int value, const char* name); void assert_choice_type(uint32_t val, uint32_t choice_id); -void assert_choice_type(const char* access_type, const char* current_type, const char* choice_type); +template +void assert_choice_type(typename Enumerated::options access_type, Enumerated& current_type, const char* choice_type) +{ + if (srsran_unlikely(current_type.value != access_type)) { + log_error("Invalid field access for choice type \"%s\" (\"%s\"!=\"%s\")", + choice_type, + Enumerated(access_type).to_string(), + current_type.to_string()); + } +} /************************ error handling diff --git a/lib/include/srsran/asn1/ngap.h b/lib/include/srsran/asn1/ngap.h index c728d25b1..b90fa9298 100644 --- a/lib/include/srsran/asn1/ngap.h +++ b/lib/include/srsran/asn1/ngap.h @@ -422,22 +422,22 @@ struct cp_transport_layer_info_c { // getters bounded_bitstring<1, 160, true, true>& endpoint_ip_address() { - assert_choice_type("endpointIPAddress", type_.to_string(), "CPTransportLayerInformation"); + assert_choice_type(types::endpoint_ip_address, type_, "CPTransportLayerInformation"); return c.get >(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "CPTransportLayerInformation"); + assert_choice_type(types::choice_exts, type_, "CPTransportLayerInformation"); return c.get >(); } const bounded_bitstring<1, 160, true, true>& endpoint_ip_address() const { - assert_choice_type("endpointIPAddress", type_.to_string(), "CPTransportLayerInformation"); + assert_choice_type(types::endpoint_ip_address, type_, "CPTransportLayerInformation"); return c.get >(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "CPTransportLayerInformation"); + assert_choice_type(types::choice_exts, type_, "CPTransportLayerInformation"); return c.get >(); } bounded_bitstring<1, 160, true, true>& set_endpoint_ip_address(); @@ -963,62 +963,62 @@ struct cause_c { // getters cause_radio_network_e& radio_network() { - assert_choice_type("radioNetwork", type_.to_string(), "Cause"); + assert_choice_type(types::radio_network, type_, "Cause"); return c.get(); } cause_transport_e& transport() { - assert_choice_type("transport", type_.to_string(), "Cause"); + assert_choice_type(types::transport, type_, "Cause"); return c.get(); } cause_nas_e& nas() { - assert_choice_type("nas", type_.to_string(), "Cause"); + assert_choice_type(types::nas, type_, "Cause"); return c.get(); } cause_protocol_e& protocol() { - assert_choice_type("protocol", type_.to_string(), "Cause"); + assert_choice_type(types::protocol, type_, "Cause"); return c.get(); } cause_misc_e& misc() { - assert_choice_type("misc", type_.to_string(), "Cause"); + assert_choice_type(types::misc, type_, "Cause"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "Cause"); + assert_choice_type(types::choice_exts, type_, "Cause"); return c.get >(); } const cause_radio_network_e& radio_network() const { - assert_choice_type("radioNetwork", type_.to_string(), "Cause"); + assert_choice_type(types::radio_network, type_, "Cause"); return c.get(); } const cause_transport_e& transport() const { - assert_choice_type("transport", type_.to_string(), "Cause"); + assert_choice_type(types::transport, type_, "Cause"); return c.get(); } const cause_nas_e& nas() const { - assert_choice_type("nas", type_.to_string(), "Cause"); + assert_choice_type(types::nas, type_, "Cause"); return c.get(); } const cause_protocol_e& protocol() const { - assert_choice_type("protocol", type_.to_string(), "Cause"); + assert_choice_type(types::protocol, type_, "Cause"); return c.get(); } const cause_misc_e& misc() const { - assert_choice_type("misc", type_.to_string(), "Cause"); + assert_choice_type(types::misc, type_, "Cause"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "Cause"); + assert_choice_type(types::choice_exts, type_, "Cause"); return c.get >(); } cause_radio_network_e& set_radio_network(); @@ -1303,22 +1303,22 @@ struct gnb_id_c { // getters bounded_bitstring<22, 32, false, true>& gnb_id() { - assert_choice_type("gNB-ID", type_.to_string(), "GNB-ID"); + assert_choice_type(types::gnb_id, type_, "GNB-ID"); return c.get >(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "GNB-ID"); + assert_choice_type(types::choice_exts, type_, "GNB-ID"); return c.get >(); } const bounded_bitstring<22, 32, false, true>& gnb_id() const { - assert_choice_type("gNB-ID", type_.to_string(), "GNB-ID"); + assert_choice_type(types::gnb_id, type_, "GNB-ID"); return c.get >(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "GNB-ID"); + assert_choice_type(types::choice_exts, type_, "GNB-ID"); return c.get >(); } bounded_bitstring<22, 32, false, true>& set_gnb_id(); @@ -1364,22 +1364,22 @@ struct n3_iwf_id_c { // getters fixed_bitstring<16, false, true>& n3_iwf_id() { - assert_choice_type("n3IWF-ID", type_.to_string(), "N3IWF-ID"); + assert_choice_type(types::n3_iwf_id, type_, "N3IWF-ID"); return c.get >(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "N3IWF-ID"); + assert_choice_type(types::choice_exts, type_, "N3IWF-ID"); return c.get >(); } const fixed_bitstring<16, false, true>& n3_iwf_id() const { - assert_choice_type("n3IWF-ID", type_.to_string(), "N3IWF-ID"); + assert_choice_type(types::n3_iwf_id, type_, "N3IWF-ID"); return c.get >(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "N3IWF-ID"); + assert_choice_type(types::choice_exts, type_, "N3IWF-ID"); return c.get >(); } fixed_bitstring<16, false, true>& set_n3_iwf_id(); @@ -1414,42 +1414,42 @@ struct ng_enb_id_c { // getters fixed_bitstring<20, false, true>& macro_ng_enb_id() { - assert_choice_type("macroNgENB-ID", type_.to_string(), "NgENB-ID"); + assert_choice_type(types::macro_ng_enb_id, type_, "NgENB-ID"); return c.get >(); } fixed_bitstring<18, false, true>& short_macro_ng_enb_id() { - assert_choice_type("shortMacroNgENB-ID", type_.to_string(), "NgENB-ID"); + assert_choice_type(types::short_macro_ng_enb_id, type_, "NgENB-ID"); return c.get >(); } fixed_bitstring<21, false, true>& long_macro_ng_enb_id() { - assert_choice_type("longMacroNgENB-ID", type_.to_string(), "NgENB-ID"); + assert_choice_type(types::long_macro_ng_enb_id, type_, "NgENB-ID"); return c.get >(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "NgENB-ID"); + assert_choice_type(types::choice_exts, type_, "NgENB-ID"); return c.get >(); } const fixed_bitstring<20, false, true>& macro_ng_enb_id() const { - assert_choice_type("macroNgENB-ID", type_.to_string(), "NgENB-ID"); + assert_choice_type(types::macro_ng_enb_id, type_, "NgENB-ID"); return c.get >(); } const fixed_bitstring<18, false, true>& short_macro_ng_enb_id() const { - assert_choice_type("shortMacroNgENB-ID", type_.to_string(), "NgENB-ID"); + assert_choice_type(types::short_macro_ng_enb_id, type_, "NgENB-ID"); return c.get >(); } const fixed_bitstring<21, false, true>& long_macro_ng_enb_id() const { - assert_choice_type("longMacroNgENB-ID", type_.to_string(), "NgENB-ID"); + assert_choice_type(types::long_macro_ng_enb_id, type_, "NgENB-ID"); return c.get >(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "NgENB-ID"); + assert_choice_type(types::choice_exts, type_, "NgENB-ID"); return c.get >(); } fixed_bitstring<20, false, true>& set_macro_ng_enb_id(); @@ -1548,42 +1548,42 @@ struct global_ran_node_id_c { // getters global_gnb_id_s& global_gnb_id() { - assert_choice_type("globalGNB-ID", type_.to_string(), "GlobalRANNodeID"); + assert_choice_type(types::global_gnb_id, type_, "GlobalRANNodeID"); return c.get(); } global_ng_enb_id_s& global_ng_enb_id() { - assert_choice_type("globalNgENB-ID", type_.to_string(), "GlobalRANNodeID"); + assert_choice_type(types::global_ng_enb_id, type_, "GlobalRANNodeID"); return c.get(); } global_n3_iwf_id_s& global_n3_iwf_id() { - assert_choice_type("globalN3IWF-ID", type_.to_string(), "GlobalRANNodeID"); + assert_choice_type(types::global_n3_iwf_id, type_, "GlobalRANNodeID"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "GlobalRANNodeID"); + assert_choice_type(types::choice_exts, type_, "GlobalRANNodeID"); return c.get >(); } const global_gnb_id_s& global_gnb_id() const { - assert_choice_type("globalGNB-ID", type_.to_string(), "GlobalRANNodeID"); + assert_choice_type(types::global_gnb_id, type_, "GlobalRANNodeID"); return c.get(); } const global_ng_enb_id_s& global_ng_enb_id() const { - assert_choice_type("globalNgENB-ID", type_.to_string(), "GlobalRANNodeID"); + assert_choice_type(types::global_ng_enb_id, type_, "GlobalRANNodeID"); return c.get(); } const global_n3_iwf_id_s& global_n3_iwf_id() const { - assert_choice_type("globalN3IWF-ID", type_.to_string(), "GlobalRANNodeID"); + assert_choice_type(types::global_n3_iwf_id, type_, "GlobalRANNodeID"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "GlobalRANNodeID"); + assert_choice_type(types::choice_exts, type_, "GlobalRANNodeID"); return c.get >(); } global_gnb_id_s& set_global_gnb_id(); @@ -1641,32 +1641,32 @@ struct amf_paging_target_c { // getters global_ran_node_id_c& global_ran_node_id() { - assert_choice_type("globalRANNodeID", type_.to_string(), "AMFPagingTarget"); + assert_choice_type(types::global_ran_node_id, type_, "AMFPagingTarget"); return c.get(); } tai_s& tai() { - assert_choice_type("tAI", type_.to_string(), "AMFPagingTarget"); + assert_choice_type(types::tai, type_, "AMFPagingTarget"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "AMFPagingTarget"); + assert_choice_type(types::choice_exts, type_, "AMFPagingTarget"); return c.get >(); } const global_ran_node_id_c& global_ran_node_id() const { - assert_choice_type("globalRANNodeID", type_.to_string(), "AMFPagingTarget"); + assert_choice_type(types::global_ran_node_id, type_, "AMFPagingTarget"); return c.get(); } const tai_s& tai() const { - assert_choice_type("tAI", type_.to_string(), "AMFPagingTarget"); + assert_choice_type(types::tai, type_, "AMFPagingTarget"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "AMFPagingTarget"); + assert_choice_type(types::choice_exts, type_, "AMFPagingTarget"); return c.get >(); } global_ran_node_id_c& set_global_ran_node_id(); @@ -1838,22 +1838,22 @@ struct up_transport_layer_info_c { // getters gtp_tunnel_s& gtp_tunnel() { - assert_choice_type("gTPTunnel", type_.to_string(), "UPTransportLayerInformation"); + assert_choice_type(types::gtp_tunnel, type_, "UPTransportLayerInformation"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "UPTransportLayerInformation"); + assert_choice_type(types::choice_exts, type_, "UPTransportLayerInformation"); return c.get >(); } const gtp_tunnel_s& gtp_tunnel() const { - assert_choice_type("gTPTunnel", type_.to_string(), "UPTransportLayerInformation"); + assert_choice_type(types::gtp_tunnel, type_, "UPTransportLayerInformation"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "UPTransportLayerInformation"); + assert_choice_type(types::choice_exts, type_, "UPTransportLayerInformation"); return c.get >(); } gtp_tunnel_s& set_gtp_tunnel(); @@ -2024,32 +2024,32 @@ struct ngran_cgi_c { // getters nr_cgi_s& nr_cgi() { - assert_choice_type("nR-CGI", type_.to_string(), "NGRAN-CGI"); + assert_choice_type(types::nr_cgi, type_, "NGRAN-CGI"); return c.get(); } eutra_cgi_s& eutra_cgi() { - assert_choice_type("eUTRA-CGI", type_.to_string(), "NGRAN-CGI"); + assert_choice_type(types::eutra_cgi, type_, "NGRAN-CGI"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "NGRAN-CGI"); + assert_choice_type(types::choice_exts, type_, "NGRAN-CGI"); return c.get >(); } const nr_cgi_s& nr_cgi() const { - assert_choice_type("nR-CGI", type_.to_string(), "NGRAN-CGI"); + assert_choice_type(types::nr_cgi, type_, "NGRAN-CGI"); return c.get(); } const eutra_cgi_s& eutra_cgi() const { - assert_choice_type("eUTRA-CGI", type_.to_string(), "NGRAN-CGI"); + assert_choice_type(types::eutra_cgi, type_, "NGRAN-CGI"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "NGRAN-CGI"); + assert_choice_type(types::choice_exts, type_, "NGRAN-CGI"); return c.get >(); } nr_cgi_s& set_nr_cgi(); @@ -2577,72 +2577,72 @@ struct broadcast_cancelled_area_list_c { // getters cell_id_cancelled_eutra_l& cell_id_cancelled_eutra() { - assert_choice_type("cellIDCancelledEUTRA", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::cell_id_cancelled_eutra, type_, "BroadcastCancelledAreaList"); return c.get(); } tai_cancelled_eutra_l& tai_cancelled_eutra() { - assert_choice_type("tAICancelledEUTRA", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::tai_cancelled_eutra, type_, "BroadcastCancelledAreaList"); return c.get(); } emergency_area_id_cancelled_eutra_l& emergency_area_id_cancelled_eutra() { - assert_choice_type("emergencyAreaIDCancelledEUTRA", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::emergency_area_id_cancelled_eutra, type_, "BroadcastCancelledAreaList"); return c.get(); } cell_id_cancelled_nr_l& cell_id_cancelled_nr() { - assert_choice_type("cellIDCancelledNR", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::cell_id_cancelled_nr, type_, "BroadcastCancelledAreaList"); return c.get(); } tai_cancelled_nr_l& tai_cancelled_nr() { - assert_choice_type("tAICancelledNR", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::tai_cancelled_nr, type_, "BroadcastCancelledAreaList"); return c.get(); } emergency_area_id_cancelled_nr_l& emergency_area_id_cancelled_nr() { - assert_choice_type("emergencyAreaIDCancelledNR", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::emergency_area_id_cancelled_nr, type_, "BroadcastCancelledAreaList"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::choice_exts, type_, "BroadcastCancelledAreaList"); return c.get >(); } const cell_id_cancelled_eutra_l& cell_id_cancelled_eutra() const { - assert_choice_type("cellIDCancelledEUTRA", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::cell_id_cancelled_eutra, type_, "BroadcastCancelledAreaList"); return c.get(); } const tai_cancelled_eutra_l& tai_cancelled_eutra() const { - assert_choice_type("tAICancelledEUTRA", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::tai_cancelled_eutra, type_, "BroadcastCancelledAreaList"); return c.get(); } const emergency_area_id_cancelled_eutra_l& emergency_area_id_cancelled_eutra() const { - assert_choice_type("emergencyAreaIDCancelledEUTRA", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::emergency_area_id_cancelled_eutra, type_, "BroadcastCancelledAreaList"); return c.get(); } const cell_id_cancelled_nr_l& cell_id_cancelled_nr() const { - assert_choice_type("cellIDCancelledNR", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::cell_id_cancelled_nr, type_, "BroadcastCancelledAreaList"); return c.get(); } const tai_cancelled_nr_l& tai_cancelled_nr() const { - assert_choice_type("tAICancelledNR", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::tai_cancelled_nr, type_, "BroadcastCancelledAreaList"); return c.get(); } const emergency_area_id_cancelled_nr_l& emergency_area_id_cancelled_nr() const { - assert_choice_type("emergencyAreaIDCancelledNR", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::emergency_area_id_cancelled_nr, type_, "BroadcastCancelledAreaList"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::choice_exts, type_, "BroadcastCancelledAreaList"); return c.get >(); } cell_id_cancelled_eutra_l& set_cell_id_cancelled_eutra(); @@ -2925,72 +2925,72 @@ struct broadcast_completed_area_list_c { // getters cell_id_broadcast_eutra_l& cell_id_broadcast_eutra() { - assert_choice_type("cellIDBroadcastEUTRA", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::cell_id_broadcast_eutra, type_, "BroadcastCompletedAreaList"); return c.get(); } tai_broadcast_eutra_l& tai_broadcast_eutra() { - assert_choice_type("tAIBroadcastEUTRA", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::tai_broadcast_eutra, type_, "BroadcastCompletedAreaList"); return c.get(); } emergency_area_id_broadcast_eutra_l& emergency_area_id_broadcast_eutra() { - assert_choice_type("emergencyAreaIDBroadcastEUTRA", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::emergency_area_id_broadcast_eutra, type_, "BroadcastCompletedAreaList"); return c.get(); } cell_id_broadcast_nr_l& cell_id_broadcast_nr() { - assert_choice_type("cellIDBroadcastNR", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::cell_id_broadcast_nr, type_, "BroadcastCompletedAreaList"); return c.get(); } tai_broadcast_nr_l& tai_broadcast_nr() { - assert_choice_type("tAIBroadcastNR", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::tai_broadcast_nr, type_, "BroadcastCompletedAreaList"); return c.get(); } emergency_area_id_broadcast_nr_l& emergency_area_id_broadcast_nr() { - assert_choice_type("emergencyAreaIDBroadcastNR", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::emergency_area_id_broadcast_nr, type_, "BroadcastCompletedAreaList"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::choice_exts, type_, "BroadcastCompletedAreaList"); return c.get >(); } const cell_id_broadcast_eutra_l& cell_id_broadcast_eutra() const { - assert_choice_type("cellIDBroadcastEUTRA", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::cell_id_broadcast_eutra, type_, "BroadcastCompletedAreaList"); return c.get(); } const tai_broadcast_eutra_l& tai_broadcast_eutra() const { - assert_choice_type("tAIBroadcastEUTRA", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::tai_broadcast_eutra, type_, "BroadcastCompletedAreaList"); return c.get(); } const emergency_area_id_broadcast_eutra_l& emergency_area_id_broadcast_eutra() const { - assert_choice_type("emergencyAreaIDBroadcastEUTRA", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::emergency_area_id_broadcast_eutra, type_, "BroadcastCompletedAreaList"); return c.get(); } const cell_id_broadcast_nr_l& cell_id_broadcast_nr() const { - assert_choice_type("cellIDBroadcastNR", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::cell_id_broadcast_nr, type_, "BroadcastCompletedAreaList"); return c.get(); } const tai_broadcast_nr_l& tai_broadcast_nr() const { - assert_choice_type("tAIBroadcastNR", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::tai_broadcast_nr, type_, "BroadcastCompletedAreaList"); return c.get(); } const emergency_area_id_broadcast_nr_l& emergency_area_id_broadcast_nr() const { - assert_choice_type("emergencyAreaIDBroadcastNR", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::emergency_area_id_broadcast_nr, type_, "BroadcastCompletedAreaList"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::choice_exts, type_, "BroadcastCompletedAreaList"); return c.get >(); } cell_id_broadcast_eutra_l& set_cell_id_broadcast_eutra(); @@ -3109,32 +3109,32 @@ struct cell_id_list_for_restart_c { // getters eutra_cgi_list_l& eutra_cgi_listfor_restart() { - assert_choice_type("eUTRA-CGIListforRestart", type_.to_string(), "CellIDListForRestart"); + assert_choice_type(types::eutra_cgi_listfor_restart, type_, "CellIDListForRestart"); return c.get(); } nr_cgi_list_l& nr_cgi_listfor_restart() { - assert_choice_type("nR-CGIListforRestart", type_.to_string(), "CellIDListForRestart"); + assert_choice_type(types::nr_cgi_listfor_restart, type_, "CellIDListForRestart"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "CellIDListForRestart"); + assert_choice_type(types::choice_exts, type_, "CellIDListForRestart"); return c.get >(); } const eutra_cgi_list_l& eutra_cgi_listfor_restart() const { - assert_choice_type("eUTRA-CGIListforRestart", type_.to_string(), "CellIDListForRestart"); + assert_choice_type(types::eutra_cgi_listfor_restart, type_, "CellIDListForRestart"); return c.get(); } const nr_cgi_list_l& nr_cgi_listfor_restart() const { - assert_choice_type("nR-CGIListforRestart", type_.to_string(), "CellIDListForRestart"); + assert_choice_type(types::nr_cgi_listfor_restart, type_, "CellIDListForRestart"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "CellIDListForRestart"); + assert_choice_type(types::choice_exts, type_, "CellIDListForRestart"); return c.get >(); } eutra_cgi_list_l& set_eutra_cgi_listfor_restart(); @@ -3431,22 +3431,22 @@ struct ue_id_idx_value_c { // getters fixed_bitstring<10, false, true>& idx_len10() { - assert_choice_type("indexLength10", type_.to_string(), "UEIdentityIndexValue"); + assert_choice_type(types::idx_len10, type_, "UEIdentityIndexValue"); return c.get >(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "UEIdentityIndexValue"); + assert_choice_type(types::choice_exts, type_, "UEIdentityIndexValue"); return c.get >(); } const fixed_bitstring<10, false, true>& idx_len10() const { - assert_choice_type("indexLength10", type_.to_string(), "UEIdentityIndexValue"); + assert_choice_type(types::idx_len10, type_, "UEIdentityIndexValue"); return c.get >(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "UEIdentityIndexValue"); + assert_choice_type(types::choice_exts, type_, "UEIdentityIndexValue"); return c.get >(); } fixed_bitstring<10, false, true>& set_idx_len10(); @@ -3548,32 +3548,32 @@ struct drb_status_dl_c { // getters drb_status_dl12_s& drb_status_dl12() { - assert_choice_type("dRBStatusDL12", type_.to_string(), "DRBStatusDL"); + assert_choice_type(types::drb_status_dl12, type_, "DRBStatusDL"); return c.get(); } drb_status_dl18_s& drb_status_dl18() { - assert_choice_type("dRBStatusDL18", type_.to_string(), "DRBStatusDL"); + assert_choice_type(types::drb_status_dl18, type_, "DRBStatusDL"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "DRBStatusDL"); + assert_choice_type(types::choice_exts, type_, "DRBStatusDL"); return c.get >(); } const drb_status_dl12_s& drb_status_dl12() const { - assert_choice_type("dRBStatusDL12", type_.to_string(), "DRBStatusDL"); + assert_choice_type(types::drb_status_dl12, type_, "DRBStatusDL"); return c.get(); } const drb_status_dl18_s& drb_status_dl18() const { - assert_choice_type("dRBStatusDL18", type_.to_string(), "DRBStatusDL"); + assert_choice_type(types::drb_status_dl18, type_, "DRBStatusDL"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "DRBStatusDL"); + assert_choice_type(types::choice_exts, type_, "DRBStatusDL"); return c.get >(); } drb_status_dl12_s& set_drb_status_dl12(); @@ -3656,32 +3656,32 @@ struct drb_status_ul_c { // getters drb_status_ul12_s& drb_status_ul12() { - assert_choice_type("dRBStatusUL12", type_.to_string(), "DRBStatusUL"); + assert_choice_type(types::drb_status_ul12, type_, "DRBStatusUL"); return c.get(); } drb_status_ul18_s& drb_status_ul18() { - assert_choice_type("dRBStatusUL18", type_.to_string(), "DRBStatusUL"); + assert_choice_type(types::drb_status_ul18, type_, "DRBStatusUL"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "DRBStatusUL"); + assert_choice_type(types::choice_exts, type_, "DRBStatusUL"); return c.get >(); } const drb_status_ul12_s& drb_status_ul12() const { - assert_choice_type("dRBStatusUL12", type_.to_string(), "DRBStatusUL"); + assert_choice_type(types::drb_status_ul12, type_, "DRBStatusUL"); return c.get(); } const drb_status_ul18_s& drb_status_ul18() const { - assert_choice_type("dRBStatusUL18", type_.to_string(), "DRBStatusUL"); + assert_choice_type(types::drb_status_ul18, type_, "DRBStatusUL"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "DRBStatusUL"); + assert_choice_type(types::choice_exts, type_, "DRBStatusUL"); return c.get >(); } drb_status_ul12_s& set_drb_status_ul12(); @@ -4290,32 +4290,32 @@ struct son_info_c { // getters son_info_request_e& son_info_request() { - assert_choice_type("sONInformationRequest", type_.to_string(), "SONInformation"); + assert_choice_type(types::son_info_request, type_, "SONInformation"); return c.get(); } son_info_reply_s& son_info_reply() { - assert_choice_type("sONInformationReply", type_.to_string(), "SONInformation"); + assert_choice_type(types::son_info_reply, type_, "SONInformation"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "SONInformation"); + assert_choice_type(types::choice_exts, type_, "SONInformation"); return c.get >(); } const son_info_request_e& son_info_request() const { - assert_choice_type("sONInformationRequest", type_.to_string(), "SONInformation"); + assert_choice_type(types::son_info_request, type_, "SONInformation"); return c.get(); } const son_info_reply_s& son_info_reply() const { - assert_choice_type("sONInformationReply", type_.to_string(), "SONInformation"); + assert_choice_type(types::son_info_reply, type_, "SONInformation"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "SONInformation"); + assert_choice_type(types::choice_exts, type_, "SONInformation"); return c.get >(); } son_info_request_e& set_son_info_request(); @@ -5504,42 +5504,42 @@ struct user_location_info_c { // getters user_location_info_eutra_s& user_location_info_eutra() { - assert_choice_type("userLocationInformationEUTRA", type_.to_string(), "UserLocationInformation"); + assert_choice_type(types::user_location_info_eutra, type_, "UserLocationInformation"); return c.get(); } user_location_info_nr_s& user_location_info_nr() { - assert_choice_type("userLocationInformationNR", type_.to_string(), "UserLocationInformation"); + assert_choice_type(types::user_location_info_nr, type_, "UserLocationInformation"); return c.get(); } user_location_info_n3_iwf_s& user_location_info_n3_iwf() { - assert_choice_type("userLocationInformationN3IWF", type_.to_string(), "UserLocationInformation"); + assert_choice_type(types::user_location_info_n3_iwf, type_, "UserLocationInformation"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "UserLocationInformation"); + assert_choice_type(types::choice_exts, type_, "UserLocationInformation"); return c.get >(); } const user_location_info_eutra_s& user_location_info_eutra() const { - assert_choice_type("userLocationInformationEUTRA", type_.to_string(), "UserLocationInformation"); + assert_choice_type(types::user_location_info_eutra, type_, "UserLocationInformation"); return c.get(); } const user_location_info_nr_s& user_location_info_nr() const { - assert_choice_type("userLocationInformationNR", type_.to_string(), "UserLocationInformation"); + assert_choice_type(types::user_location_info_nr, type_, "UserLocationInformation"); return c.get(); } const user_location_info_n3_iwf_s& user_location_info_n3_iwf() const { - assert_choice_type("userLocationInformationN3IWF", type_.to_string(), "UserLocationInformation"); + assert_choice_type(types::user_location_info_n3_iwf, type_, "UserLocationInformation"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "UserLocationInformation"); + assert_choice_type(types::choice_exts, type_, "UserLocationInformation"); return c.get >(); } user_location_info_eutra_s& set_user_location_info_eutra(); @@ -6405,32 +6405,32 @@ struct target_id_c { // getters target_ran_node_id_s& target_ran_node_id() { - assert_choice_type("targetRANNodeID", type_.to_string(), "TargetID"); + assert_choice_type(types::target_ran_node_id, type_, "TargetID"); return c.get(); } targetenb_id_s& targetenb_id() { - assert_choice_type("targeteNB-ID", type_.to_string(), "TargetID"); + assert_choice_type(types::targetenb_id, type_, "TargetID"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "TargetID"); + assert_choice_type(types::choice_exts, type_, "TargetID"); return c.get >(); } const target_ran_node_id_s& target_ran_node_id() const { - assert_choice_type("targetRANNodeID", type_.to_string(), "TargetID"); + assert_choice_type(types::target_ran_node_id, type_, "TargetID"); return c.get(); } const targetenb_id_s& targetenb_id() const { - assert_choice_type("targeteNB-ID", type_.to_string(), "TargetID"); + assert_choice_type(types::targetenb_id, type_, "TargetID"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "TargetID"); + assert_choice_type(types::choice_exts, type_, "TargetID"); return c.get >(); } target_ran_node_id_s& set_target_ran_node_id(); @@ -7313,22 +7313,22 @@ struct overload_resp_c { // getters overload_action_e& overload_action() { - assert_choice_type("overloadAction", type_.to_string(), "OverloadResponse"); + assert_choice_type(types::overload_action, type_, "OverloadResponse"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "OverloadResponse"); + assert_choice_type(types::choice_exts, type_, "OverloadResponse"); return c.get >(); } const overload_action_e& overload_action() const { - assert_choice_type("overloadAction", type_.to_string(), "OverloadResponse"); + assert_choice_type(types::overload_action, type_, "OverloadResponse"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "OverloadResponse"); + assert_choice_type(types::choice_exts, type_, "OverloadResponse"); return c.get >(); } overload_action_e& set_overload_action(); @@ -7484,12 +7484,12 @@ struct private_ie_id_c { // getters uint32_t& local() { - assert_choice_type("local", type_.to_string(), "PrivateIE-ID"); + assert_choice_type(types::local, type_, "PrivateIE-ID"); return c; } const uint32_t& local() const { - assert_choice_type("local", type_.to_string(), "PrivateIE-ID"); + assert_choice_type(types::local, type_, "PrivateIE-ID"); return c; } uint32_t& set_local(); @@ -8137,32 +8137,32 @@ struct pws_failed_cell_id_list_c { // getters eutra_cgi_list_l& eutra_cgi_pws_failed_list() { - assert_choice_type("eUTRA-CGI-PWSFailedList", type_.to_string(), "PWSFailedCellIDList"); + assert_choice_type(types::eutra_cgi_pws_failed_list, type_, "PWSFailedCellIDList"); return c.get(); } nr_cgi_list_l& nr_cgi_pws_failed_list() { - assert_choice_type("nR-CGI-PWSFailedList", type_.to_string(), "PWSFailedCellIDList"); + assert_choice_type(types::nr_cgi_pws_failed_list, type_, "PWSFailedCellIDList"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "PWSFailedCellIDList"); + assert_choice_type(types::choice_exts, type_, "PWSFailedCellIDList"); return c.get >(); } const eutra_cgi_list_l& eutra_cgi_pws_failed_list() const { - assert_choice_type("eUTRA-CGI-PWSFailedList", type_.to_string(), "PWSFailedCellIDList"); + assert_choice_type(types::eutra_cgi_pws_failed_list, type_, "PWSFailedCellIDList"); return c.get(); } const nr_cgi_list_l& nr_cgi_pws_failed_list() const { - assert_choice_type("nR-CGI-PWSFailedList", type_.to_string(), "PWSFailedCellIDList"); + assert_choice_type(types::nr_cgi_pws_failed_list, type_, "PWSFailedCellIDList"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "PWSFailedCellIDList"); + assert_choice_type(types::choice_exts, type_, "PWSFailedCellIDList"); return c.get >(); } eutra_cgi_list_l& set_eutra_cgi_pws_failed_list(); @@ -8250,32 +8250,32 @@ struct reset_type_c { // getters reset_all_e& ng_interface() { - assert_choice_type("nG-Interface", type_.to_string(), "ResetType"); + assert_choice_type(types::ng_interface, type_, "ResetType"); return c.get(); } ue_associated_lc_ng_conn_list_l& part_of_ng_interface() { - assert_choice_type("partOfNG-Interface", type_.to_string(), "ResetType"); + assert_choice_type(types::part_of_ng_interface, type_, "ResetType"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "ResetType"); + assert_choice_type(types::choice_exts, type_, "ResetType"); return c.get >(); } const reset_all_e& ng_interface() const { - assert_choice_type("nG-Interface", type_.to_string(), "ResetType"); + assert_choice_type(types::ng_interface, type_, "ResetType"); return c.get(); } const ue_associated_lc_ng_conn_list_l& part_of_ng_interface() const { - assert_choice_type("partOfNG-Interface", type_.to_string(), "ResetType"); + assert_choice_type(types::part_of_ng_interface, type_, "ResetType"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "ResetType"); + assert_choice_type(types::choice_exts, type_, "ResetType"); return c.get >(); } reset_all_e& set_ng_interface(); @@ -8320,32 +8320,32 @@ struct ue_ngap_ids_c { // getters ue_ngap_id_pair_s& ue_ngap_id_pair() { - assert_choice_type("uE-NGAP-ID-pair", type_.to_string(), "UE-NGAP-IDs"); + assert_choice_type(types::ue_ngap_id_pair, type_, "UE-NGAP-IDs"); return c.get(); } uint64_t& amf_ue_ngap_id() { - assert_choice_type("aMF-UE-NGAP-ID", type_.to_string(), "UE-NGAP-IDs"); + assert_choice_type(types::amf_ue_ngap_id, type_, "UE-NGAP-IDs"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "UE-NGAP-IDs"); + assert_choice_type(types::choice_exts, type_, "UE-NGAP-IDs"); return c.get >(); } const ue_ngap_id_pair_s& ue_ngap_id_pair() const { - assert_choice_type("uE-NGAP-ID-pair", type_.to_string(), "UE-NGAP-IDs"); + assert_choice_type(types::ue_ngap_id_pair, type_, "UE-NGAP-IDs"); return c.get(); } const uint64_t& amf_ue_ngap_id() const { - assert_choice_type("aMF-UE-NGAP-ID", type_.to_string(), "UE-NGAP-IDs"); + assert_choice_type(types::amf_ue_ngap_id, type_, "UE-NGAP-IDs"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "UE-NGAP-IDs"); + assert_choice_type(types::choice_exts, type_, "UE-NGAP-IDs"); return c.get >(); } ue_ngap_id_pair_s& set_ue_ngap_id_pair(); @@ -8383,22 +8383,22 @@ struct ue_paging_id_c { // getters five_g_s_tmsi_s& five_g_s_tmsi() { - assert_choice_type("fiveG-S-TMSI", type_.to_string(), "UEPagingIdentity"); + assert_choice_type(types::five_g_s_tmsi, type_, "UEPagingIdentity"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "UEPagingIdentity"); + assert_choice_type(types::choice_exts, type_, "UEPagingIdentity"); return c.get >(); } const five_g_s_tmsi_s& five_g_s_tmsi() const { - assert_choice_type("fiveG-S-TMSI", type_.to_string(), "UEPagingIdentity"); + assert_choice_type(types::five_g_s_tmsi, type_, "UEPagingIdentity"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "UEPagingIdentity"); + assert_choice_type(types::choice_exts, type_, "UEPagingIdentity"); return c.get >(); } five_g_s_tmsi_s& set_five_g_s_tmsi(); @@ -8451,52 +8451,52 @@ struct warning_area_list_c { // getters eutra_cgi_list_for_warning_l& eutra_cgi_list_for_warning() { - assert_choice_type("eUTRA-CGIListForWarning", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::eutra_cgi_list_for_warning, type_, "WarningAreaList"); return c.get(); } nr_cgi_list_for_warning_l& nr_cgi_list_for_warning() { - assert_choice_type("nR-CGIListForWarning", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::nr_cgi_list_for_warning, type_, "WarningAreaList"); return c.get(); } tai_list_for_warning_l& tai_list_for_warning() { - assert_choice_type("tAIListForWarning", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::tai_list_for_warning, type_, "WarningAreaList"); return c.get(); } emergency_area_id_list_l& emergency_area_id_list() { - assert_choice_type("emergencyAreaIDList", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::emergency_area_id_list, type_, "WarningAreaList"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::choice_exts, type_, "WarningAreaList"); return c.get >(); } const eutra_cgi_list_for_warning_l& eutra_cgi_list_for_warning() const { - assert_choice_type("eUTRA-CGIListForWarning", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::eutra_cgi_list_for_warning, type_, "WarningAreaList"); return c.get(); } const nr_cgi_list_for_warning_l& nr_cgi_list_for_warning() const { - assert_choice_type("nR-CGIListForWarning", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::nr_cgi_list_for_warning, type_, "WarningAreaList"); return c.get(); } const tai_list_for_warning_l& tai_list_for_warning() const { - assert_choice_type("tAIListForWarning", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::tai_list_for_warning, type_, "WarningAreaList"); return c.get(); } const emergency_area_id_list_l& emergency_area_id_list() const { - assert_choice_type("emergencyAreaIDList", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::emergency_area_id_list, type_, "WarningAreaList"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::choice_exts, type_, "WarningAreaList"); return c.get >(); } eutra_cgi_list_for_warning_l& set_eutra_cgi_list_for_warning(); @@ -13322,52 +13322,52 @@ struct last_visited_cell_info_c { // getters last_visited_ngran_cell_info_s& ngran_cell() { - assert_choice_type("nGRANCell", type_.to_string(), "LastVisitedCellInformation"); + assert_choice_type(types::ngran_cell, type_, "LastVisitedCellInformation"); return c.get(); } unbounded_octstring& eutran_cell() { - assert_choice_type("eUTRANCell", type_.to_string(), "LastVisitedCellInformation"); + assert_choice_type(types::eutran_cell, type_, "LastVisitedCellInformation"); return c.get >(); } unbounded_octstring& utran_cell() { - assert_choice_type("uTRANCell", type_.to_string(), "LastVisitedCellInformation"); + assert_choice_type(types::utran_cell, type_, "LastVisitedCellInformation"); return c.get >(); } unbounded_octstring& geran_cell() { - assert_choice_type("gERANCell", type_.to_string(), "LastVisitedCellInformation"); + assert_choice_type(types::geran_cell, type_, "LastVisitedCellInformation"); return c.get >(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "LastVisitedCellInformation"); + assert_choice_type(types::choice_exts, type_, "LastVisitedCellInformation"); return c.get >(); } const last_visited_ngran_cell_info_s& ngran_cell() const { - assert_choice_type("nGRANCell", type_.to_string(), "LastVisitedCellInformation"); + assert_choice_type(types::ngran_cell, type_, "LastVisitedCellInformation"); return c.get(); } const unbounded_octstring& eutran_cell() const { - assert_choice_type("eUTRANCell", type_.to_string(), "LastVisitedCellInformation"); + assert_choice_type(types::eutran_cell, type_, "LastVisitedCellInformation"); return c.get >(); } const unbounded_octstring& utran_cell() const { - assert_choice_type("uTRANCell", type_.to_string(), "LastVisitedCellInformation"); + assert_choice_type(types::utran_cell, type_, "LastVisitedCellInformation"); return c.get >(); } const unbounded_octstring& geran_cell() const { - assert_choice_type("gERANCell", type_.to_string(), "LastVisitedCellInformation"); + assert_choice_type(types::geran_cell, type_, "LastVisitedCellInformation"); return c.get >(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "LastVisitedCellInformation"); + assert_choice_type(types::choice_exts, type_, "LastVisitedCellInformation"); return c.get >(); } last_visited_ngran_cell_info_s& set_ngran_cell(); @@ -13451,32 +13451,32 @@ struct ngap_pdu_c { // getters init_msg_s& init_msg() { - assert_choice_type("initiatingMessage", type_.to_string(), "NGAP-PDU"); + assert_choice_type(types::init_msg, type_, "NGAP-PDU"); return c.get(); } successful_outcome_s& successful_outcome() { - assert_choice_type("successfulOutcome", type_.to_string(), "NGAP-PDU"); + assert_choice_type(types::successful_outcome, type_, "NGAP-PDU"); return c.get(); } unsuccessful_outcome_s& unsuccessful_outcome() { - assert_choice_type("unsuccessfulOutcome", type_.to_string(), "NGAP-PDU"); + assert_choice_type(types::unsuccessful_outcome, type_, "NGAP-PDU"); return c.get(); } const init_msg_s& init_msg() const { - assert_choice_type("initiatingMessage", type_.to_string(), "NGAP-PDU"); + assert_choice_type(types::init_msg, type_, "NGAP-PDU"); return c.get(); } const successful_outcome_s& successful_outcome() const { - assert_choice_type("successfulOutcome", type_.to_string(), "NGAP-PDU"); + assert_choice_type(types::successful_outcome, type_, "NGAP-PDU"); return c.get(); } const unsuccessful_outcome_s& unsuccessful_outcome() const { - assert_choice_type("unsuccessfulOutcome", type_.to_string(), "NGAP-PDU"); + assert_choice_type(types::unsuccessful_outcome, type_, "NGAP-PDU"); return c.get(); } init_msg_s& set_init_msg(); @@ -13887,32 +13887,32 @@ struct qos_characteristics_c { // getters non_dynamic5_qi_descriptor_s& non_dynamic5_qi() { - assert_choice_type("nonDynamic5QI", type_.to_string(), "QosCharacteristics"); + assert_choice_type(types::non_dynamic5_qi, type_, "QosCharacteristics"); return c.get(); } dynamic5_qi_descriptor_s& dynamic5_qi() { - assert_choice_type("dynamic5QI", type_.to_string(), "QosCharacteristics"); + assert_choice_type(types::dynamic5_qi, type_, "QosCharacteristics"); return c.get(); } protocol_ie_single_container_s& choice_exts() { - assert_choice_type("choice-Extensions", type_.to_string(), "QosCharacteristics"); + assert_choice_type(types::choice_exts, type_, "QosCharacteristics"); return c.get >(); } const non_dynamic5_qi_descriptor_s& non_dynamic5_qi() const { - assert_choice_type("nonDynamic5QI", type_.to_string(), "QosCharacteristics"); + assert_choice_type(types::non_dynamic5_qi, type_, "QosCharacteristics"); return c.get(); } const dynamic5_qi_descriptor_s& dynamic5_qi() const { - assert_choice_type("dynamic5QI", type_.to_string(), "QosCharacteristics"); + assert_choice_type(types::dynamic5_qi, type_, "QosCharacteristics"); return c.get(); } const protocol_ie_single_container_s& choice_exts() const { - assert_choice_type("choice-Extensions", type_.to_string(), "QosCharacteristics"); + assert_choice_type(types::choice_exts, type_, "QosCharacteristics"); return c.get >(); } non_dynamic5_qi_descriptor_s& set_non_dynamic5_qi(); diff --git a/lib/include/srsran/asn1/rrc.h b/lib/include/srsran/asn1/rrc.h index bc4d6eaeb..84e22f6b6 100644 --- a/lib/include/srsran/asn1/rrc.h +++ b/lib/include/srsran/asn1/rrc.h @@ -96,22 +96,22 @@ struct bcch_dl_sch_msg_type_mbms_r14_c { // getters sys_info_mbms_r14_s& sys_info_mbms_r14() { - assert_choice_type("systemInformation-MBMS-r14", type_.to_string(), "c1"); + assert_choice_type(types::sys_info_mbms_r14, type_, "c1"); return c.get(); } sib_type1_mbms_r14_s& sib_type1_mbms_r14() { - assert_choice_type("systemInformationBlockType1-MBMS-r14", type_.to_string(), "c1"); + assert_choice_type(types::sib_type1_mbms_r14, type_, "c1"); return c.get(); } const sys_info_mbms_r14_s& sys_info_mbms_r14() const { - assert_choice_type("systemInformation-MBMS-r14", type_.to_string(), "c1"); + assert_choice_type(types::sys_info_mbms_r14, type_, "c1"); return c.get(); } const sib_type1_mbms_r14_s& sib_type1_mbms_r14() const { - assert_choice_type("systemInformationBlockType1-MBMS-r14", type_.to_string(), "c1"); + assert_choice_type(types::sib_type1_mbms_r14, type_, "c1"); return c.get(); } sys_info_mbms_r14_s& set_sys_info_mbms_r14(); @@ -142,12 +142,12 @@ struct bcch_dl_sch_msg_type_mbms_r14_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "BCCH-DL-SCH-MessageType-MBMS-r14"); + assert_choice_type(types::c1, type_, "BCCH-DL-SCH-MessageType-MBMS-r14"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "BCCH-DL-SCH-MessageType-MBMS-r14"); + assert_choice_type(types::c1, type_, "BCCH-DL-SCH-MessageType-MBMS-r14"); return c; } c1_c_& set_c1(); @@ -212,22 +212,22 @@ struct pmch_cfg_r12_s { // getters uint8_t& normal_r12() { - assert_choice_type("normal-r12", type_.to_string(), "dataMCS-r12"); + assert_choice_type(types::normal_r12, type_, "dataMCS-r12"); return c.get(); } uint8_t& higer_order_r12() { - assert_choice_type("higerOrder-r12", type_.to_string(), "dataMCS-r12"); + assert_choice_type(types::higer_order_r12, type_, "dataMCS-r12"); return c.get(); } const uint8_t& normal_r12() const { - assert_choice_type("normal-r12", type_.to_string(), "dataMCS-r12"); + assert_choice_type(types::normal_r12, type_, "dataMCS-r12"); return c.get(); } const uint8_t& higer_order_r12() const { - assert_choice_type("higerOrder-r12", type_.to_string(), "dataMCS-r12"); + assert_choice_type(types::higer_order_r12, type_, "dataMCS-r12"); return c.get(); } uint8_t& set_normal_r12(); @@ -485,12 +485,12 @@ struct mcch_msg_type_c { // getters c2_c_& c2() { - assert_choice_type("c2", type_.to_string(), "later"); + assert_choice_type(types::c2, type_, "later"); return c; } const c2_c_& c2() const { - assert_choice_type("c2", type_.to_string(), "later"); + assert_choice_type(types::c2, type_, "later"); return c; } c2_c_& set_c2(); @@ -522,22 +522,22 @@ struct mcch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "MCCH-MessageType"); + assert_choice_type(types::c1, type_, "MCCH-MessageType"); return c.get(); } later_c_& later() { - assert_choice_type("later", type_.to_string(), "MCCH-MessageType"); + assert_choice_type(types::later, type_, "MCCH-MessageType"); return c.get(); } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "MCCH-MessageType"); + assert_choice_type(types::c1, type_, "MCCH-MessageType"); return c.get(); } const later_c_& later() const { - assert_choice_type("later", type_.to_string(), "MCCH-MessageType"); + assert_choice_type(types::later, type_, "MCCH-MessageType"); return c.get(); } c1_c_& set_c1(); @@ -649,162 +649,162 @@ struct sc_mtch_sched_info_br_r14_s { // getters uint8_t& sf10() { - assert_choice_type("sf10", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf10, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf20() { - assert_choice_type("sf20", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf20, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf32() { - assert_choice_type("sf32", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf32, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf40() { - assert_choice_type("sf40", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf40, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf64() { - assert_choice_type("sf64", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf64, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf80() { - assert_choice_type("sf80", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf80, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf128() { - assert_choice_type("sf128", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf128, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf160() { - assert_choice_type("sf160", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf160, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf256() { - assert_choice_type("sf256", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf256, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf320() { - assert_choice_type("sf320", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf320, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf512() { - assert_choice_type("sf512", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf512, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf640() { - assert_choice_type("sf640", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf640, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf1024() { - assert_choice_type("sf1024", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf1024, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf2048() { - assert_choice_type("sf2048", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf2048, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf4096() { - assert_choice_type("sf4096", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf4096, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf8192() { - assert_choice_type("sf8192", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf8192, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf10() const { - assert_choice_type("sf10", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf10, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf20() const { - assert_choice_type("sf20", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf20, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf32() const { - assert_choice_type("sf32", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf32, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf40() const { - assert_choice_type("sf40", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf40, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf64() const { - assert_choice_type("sf64", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf64, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf80() const { - assert_choice_type("sf80", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf80, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf128() const { - assert_choice_type("sf128", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf128, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf160() const { - assert_choice_type("sf160", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf160, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf256() const { - assert_choice_type("sf256", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf256, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf320() const { - assert_choice_type("sf320", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf320, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf512() const { - assert_choice_type("sf512", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf512, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf640() const { - assert_choice_type("sf640", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf640, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf1024() const { - assert_choice_type("sf1024", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf1024, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf2048() const { - assert_choice_type("sf2048", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf2048, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf4096() const { - assert_choice_type("sf4096", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf4096, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf8192() const { - assert_choice_type("sf8192", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf8192, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& set_sf10(); @@ -939,162 +939,162 @@ struct sc_mtch_sched_info_r13_s { // getters uint8_t& sf10() { - assert_choice_type("sf10", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf10, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint8_t& sf20() { - assert_choice_type("sf20", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf20, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint8_t& sf32() { - assert_choice_type("sf32", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf32, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint8_t& sf40() { - assert_choice_type("sf40", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf40, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint8_t& sf64() { - assert_choice_type("sf64", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf64, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint8_t& sf80() { - assert_choice_type("sf80", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf80, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint8_t& sf128() { - assert_choice_type("sf128", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf128, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint8_t& sf160() { - assert_choice_type("sf160", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf160, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint16_t& sf256() { - assert_choice_type("sf256", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf256, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint16_t& sf320() { - assert_choice_type("sf320", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf320, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint16_t& sf512() { - assert_choice_type("sf512", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf512, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint16_t& sf640() { - assert_choice_type("sf640", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf640, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint16_t& sf1024() { - assert_choice_type("sf1024", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf1024, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint16_t& sf2048() { - assert_choice_type("sf2048", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf2048, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint16_t& sf4096() { - assert_choice_type("sf4096", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf4096, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint16_t& sf8192() { - assert_choice_type("sf8192", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf8192, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint8_t& sf10() const { - assert_choice_type("sf10", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf10, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint8_t& sf20() const { - assert_choice_type("sf20", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf20, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint8_t& sf32() const { - assert_choice_type("sf32", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf32, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint8_t& sf40() const { - assert_choice_type("sf40", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf40, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint8_t& sf64() const { - assert_choice_type("sf64", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf64, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint8_t& sf80() const { - assert_choice_type("sf80", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf80, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint8_t& sf128() const { - assert_choice_type("sf128", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf128, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint8_t& sf160() const { - assert_choice_type("sf160", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf160, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint16_t& sf256() const { - assert_choice_type("sf256", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf256, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint16_t& sf320() const { - assert_choice_type("sf320", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf320, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint16_t& sf512() const { - assert_choice_type("sf512", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf512, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint16_t& sf640() const { - assert_choice_type("sf640", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf640, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint16_t& sf1024() const { - assert_choice_type("sf1024", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf1024, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint16_t& sf2048() const { - assert_choice_type("sf2048", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf2048, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint16_t& sf4096() const { - assert_choice_type("sf4096", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf4096, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } const uint16_t& sf8192() const { - assert_choice_type("sf8192", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r13"); + assert_choice_type(types::sf8192, type_, "schedulingPeriodStartOffsetSCPTM-r13"); return c.get(); } uint8_t& set_sf10(); @@ -1194,22 +1194,22 @@ struct sc_mtch_info_br_r14_s { // getters fdd_r14_e_& fdd_r14() { - assert_choice_type("fdd-r14", type_.to_string(), "mpdcch-StartSF-SC-MTCH-r14"); + assert_choice_type(types::fdd_r14, type_, "mpdcch-StartSF-SC-MTCH-r14"); return c.get(); } tdd_r14_e_& tdd_r14() { - assert_choice_type("tdd-r14", type_.to_string(), "mpdcch-StartSF-SC-MTCH-r14"); + assert_choice_type(types::tdd_r14, type_, "mpdcch-StartSF-SC-MTCH-r14"); return c.get(); } const fdd_r14_e_& fdd_r14() const { - assert_choice_type("fdd-r14", type_.to_string(), "mpdcch-StartSF-SC-MTCH-r14"); + assert_choice_type(types::fdd_r14, type_, "mpdcch-StartSF-SC-MTCH-r14"); return c.get(); } const tdd_r14_e_& tdd_r14() const { - assert_choice_type("tdd-r14", type_.to_string(), "mpdcch-StartSF-SC-MTCH-r14"); + assert_choice_type(types::tdd_r14, type_, "mpdcch-StartSF-SC-MTCH-r14"); return c.get(); } fdd_r14_e_& set_fdd_r14(); @@ -1423,12 +1423,12 @@ struct sc_mcch_msg_type_r13_c { // getters scptm_cfg_br_r14_s& scptm_cfg_br_r14() { - assert_choice_type("scptmConfiguration-BR-r14", type_.to_string(), "c2"); + assert_choice_type(types::scptm_cfg_br_r14, type_, "c2"); return c; } const scptm_cfg_br_r14_s& scptm_cfg_br_r14() const { - assert_choice_type("scptmConfiguration-BR-r14", type_.to_string(), "c2"); + assert_choice_type(types::scptm_cfg_br_r14, type_, "c2"); return c; } scptm_cfg_br_r14_s& set_scptm_cfg_br_r14(); @@ -1457,12 +1457,12 @@ struct sc_mcch_msg_type_r13_c { // getters c2_c_& c2() { - assert_choice_type("c2", type_.to_string(), "messageClassExtension"); + assert_choice_type(types::c2, type_, "messageClassExtension"); return c; } const c2_c_& c2() const { - assert_choice_type("c2", type_.to_string(), "messageClassExtension"); + assert_choice_type(types::c2, type_, "messageClassExtension"); return c; } c2_c_& set_c2(); @@ -1494,22 +1494,22 @@ struct sc_mcch_msg_type_r13_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "SC-MCCH-MessageType-r13"); + assert_choice_type(types::c1, type_, "SC-MCCH-MessageType-r13"); return c.get(); } msg_class_ext_c_& msg_class_ext() { - assert_choice_type("messageClassExtension", type_.to_string(), "SC-MCCH-MessageType-r13"); + assert_choice_type(types::msg_class_ext, type_, "SC-MCCH-MessageType-r13"); return c.get(); } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "SC-MCCH-MessageType-r13"); + assert_choice_type(types::c1, type_, "SC-MCCH-MessageType-r13"); return c.get(); } const msg_class_ext_c_& msg_class_ext() const { - assert_choice_type("messageClassExtension", type_.to_string(), "SC-MCCH-MessageType-r13"); + assert_choice_type(types::msg_class_ext, type_, "SC-MCCH-MessageType-r13"); return c.get(); } c1_c_& set_c1(); @@ -1690,22 +1690,22 @@ struct cells_triggered_list_item_c_ { // getters uint16_t& fdd() { - assert_choice_type("fdd", type_.to_string(), "physCellIdUTRA"); + assert_choice_type(types::fdd, type_, "physCellIdUTRA"); return c.get(); } uint8_t& tdd() { - assert_choice_type("tdd", type_.to_string(), "physCellIdUTRA"); + assert_choice_type(types::tdd, type_, "physCellIdUTRA"); return c.get(); } const uint16_t& fdd() const { - assert_choice_type("fdd", type_.to_string(), "physCellIdUTRA"); + assert_choice_type(types::fdd, type_, "physCellIdUTRA"); return c.get(); } const uint8_t& tdd() const { - assert_choice_type("tdd", type_.to_string(), "physCellIdUTRA"); + assert_choice_type(types::tdd, type_, "physCellIdUTRA"); return c.get(); } uint16_t& set_fdd(); @@ -1749,62 +1749,62 @@ struct cells_triggered_list_item_c_ { // getters uint16_t& pci_eutra() { - assert_choice_type("physCellIdEUTRA", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_eutra, type_, "CellsTriggeredList-item"); return c.get(); } pci_utra_c_& pci_utra() { - assert_choice_type("physCellIdUTRA", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_utra, type_, "CellsTriggeredList-item"); return c.get(); } pci_geran_s_& pci_geran() { - assert_choice_type("physCellIdGERAN", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_geran, type_, "CellsTriggeredList-item"); return c.get(); } uint16_t& pci_cdma2000() { - assert_choice_type("physCellIdCDMA2000", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_cdma2000, type_, "CellsTriggeredList-item"); return c.get(); } wlan_ids_r12_s& wlan_ids_r13() { - assert_choice_type("wlan-Identifiers-r13", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::wlan_ids_r13, type_, "CellsTriggeredList-item"); return c.get(); } pci_nr_r15_s_& pci_nr_r15() { - assert_choice_type("physCellIdNR-r15", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_nr_r15, type_, "CellsTriggeredList-item"); return c.get(); } const uint16_t& pci_eutra() const { - assert_choice_type("physCellIdEUTRA", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_eutra, type_, "CellsTriggeredList-item"); return c.get(); } const pci_utra_c_& pci_utra() const { - assert_choice_type("physCellIdUTRA", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_utra, type_, "CellsTriggeredList-item"); return c.get(); } const pci_geran_s_& pci_geran() const { - assert_choice_type("physCellIdGERAN", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_geran, type_, "CellsTriggeredList-item"); return c.get(); } const uint16_t& pci_cdma2000() const { - assert_choice_type("physCellIdCDMA2000", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_cdma2000, type_, "CellsTriggeredList-item"); return c.get(); } const wlan_ids_r12_s& wlan_ids_r13() const { - assert_choice_type("wlan-Identifiers-r13", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::wlan_ids_r13, type_, "CellsTriggeredList-item"); return c.get(); } const pci_nr_r15_s_& pci_nr_r15() const { - assert_choice_type("physCellIdNR-r15", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_nr_r15, type_, "CellsTriggeredList-item"); return c.get(); } uint16_t& set_pci_eutra(); @@ -2142,12 +2142,12 @@ struct scg_cfg_info_r12_s { // getters scg_cfg_info_r12_ies_s& scg_cfg_info_r12() { - assert_choice_type("scg-ConfigInfo-r12", type_.to_string(), "c1"); + assert_choice_type(types::scg_cfg_info_r12, type_, "c1"); return c; } const scg_cfg_info_r12_ies_s& scg_cfg_info_r12() const { - assert_choice_type("scg-ConfigInfo-r12", type_.to_string(), "c1"); + assert_choice_type(types::scg_cfg_info_r12, type_, "c1"); return c; } scg_cfg_info_r12_ies_s& set_scg_cfg_info_r12(); @@ -2175,12 +2175,12 @@ struct scg_cfg_info_r12_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); diff --git a/lib/include/srsran/asn1/rrc/bcch_msg.h b/lib/include/srsran/asn1/rrc/bcch_msg.h index 9ca9c84e9..2c648d235 100644 --- a/lib/include/srsran/asn1/rrc/bcch_msg.h +++ b/lib/include/srsran/asn1/rrc/bcch_msg.h @@ -262,22 +262,22 @@ struct plmn_id_info2_r12_c { // getters uint8_t& plmn_idx_r12() { - assert_choice_type("plmn-Index-r12", type_.to_string(), "PLMN-IdentityInfo2-r12"); + assert_choice_type(types::plmn_idx_r12, type_, "PLMN-IdentityInfo2-r12"); return c.get(); } plmn_id_s& plmn_id_r12() { - assert_choice_type("plmnIdentity-r12", type_.to_string(), "PLMN-IdentityInfo2-r12"); + assert_choice_type(types::plmn_id_r12, type_, "PLMN-IdentityInfo2-r12"); return c.get(); } const uint8_t& plmn_idx_r12() const { - assert_choice_type("plmn-Index-r12", type_.to_string(), "PLMN-IdentityInfo2-r12"); + assert_choice_type(types::plmn_idx_r12, type_, "PLMN-IdentityInfo2-r12"); return c.get(); } const plmn_id_s& plmn_id_r12() const { - assert_choice_type("plmnIdentity-r12", type_.to_string(), "PLMN-IdentityInfo2-r12"); + assert_choice_type(types::plmn_id_r12, type_, "PLMN-IdentityInfo2-r12"); return c.get(); } uint8_t& set_plmn_idx_r12(); @@ -319,22 +319,22 @@ struct sys_time_info_cdma2000_s { // getters fixed_bitstring<39>& sync_sys_time() { - assert_choice_type("synchronousSystemTime", type_.to_string(), "cdma-SystemTime"); + assert_choice_type(types::sync_sys_time, type_, "cdma-SystemTime"); return c.get >(); } fixed_bitstring<49>& async_sys_time() { - assert_choice_type("asynchronousSystemTime", type_.to_string(), "cdma-SystemTime"); + assert_choice_type(types::async_sys_time, type_, "cdma-SystemTime"); return c.get >(); } const fixed_bitstring<39>& sync_sys_time() const { - assert_choice_type("synchronousSystemTime", type_.to_string(), "cdma-SystemTime"); + assert_choice_type(types::sync_sys_time, type_, "cdma-SystemTime"); return c.get >(); } const fixed_bitstring<49>& async_sys_time() const { - assert_choice_type("asynchronousSystemTime", type_.to_string(), "cdma-SystemTime"); + assert_choice_type(types::async_sys_time, type_, "cdma-SystemTime"); return c.get >(); } fixed_bitstring<39>& set_sync_sys_time(); @@ -433,12 +433,12 @@ struct params_cdma2000_r11_s { // getters sys_time_info_cdma2000_s& explicit_value() { - assert_choice_type("explicitValue", type_.to_string(), "systemTimeInfo-r11"); + assert_choice_type(types::explicit_value, type_, "systemTimeInfo-r11"); return c; } const sys_time_info_cdma2000_s& explicit_value() const { - assert_choice_type("explicitValue", type_.to_string(), "systemTimeInfo-r11"); + assert_choice_type(types::explicit_value, type_, "systemTimeInfo-r11"); return c; } sys_time_info_cdma2000_s& set_explicit_value(); @@ -1086,12 +1086,12 @@ struct sib8_per_plmn_r11_s { // getters params_cdma2000_r11_s& explicit_value() { - assert_choice_type("explicitValue", type_.to_string(), "parametersCDMA2000-r11"); + assert_choice_type(types::explicit_value, type_, "parametersCDMA2000-r11"); return c; } const params_cdma2000_r11_s& explicit_value() const { - assert_choice_type("explicitValue", type_.to_string(), "parametersCDMA2000-r11"); + assert_choice_type(types::explicit_value, type_, "parametersCDMA2000-r11"); return c; } params_cdma2000_r11_s& set_explicit_value(); @@ -1214,22 +1214,22 @@ struct uac_barr_per_plmn_r15_s { // getters uac_implicit_ac_barr_list_r15_l_& uac_implicit_ac_barr_list_r15() { - assert_choice_type("uac-ImplicitAC-BarringList-r15", type_.to_string(), "uac-AC-BarringListType-r15"); + assert_choice_type(types::uac_implicit_ac_barr_list_r15, type_, "uac-AC-BarringListType-r15"); return c.get(); } uac_barr_per_cat_list_r15_l& uac_explicit_ac_barr_list_r15() { - assert_choice_type("uac-ExplicitAC-BarringList-r15", type_.to_string(), "uac-AC-BarringListType-r15"); + assert_choice_type(types::uac_explicit_ac_barr_list_r15, type_, "uac-AC-BarringListType-r15"); return c.get(); } const uac_implicit_ac_barr_list_r15_l_& uac_implicit_ac_barr_list_r15() const { - assert_choice_type("uac-ImplicitAC-BarringList-r15", type_.to_string(), "uac-AC-BarringListType-r15"); + assert_choice_type(types::uac_implicit_ac_barr_list_r15, type_, "uac-AC-BarringListType-r15"); return c.get(); } const uac_barr_per_cat_list_r15_l& uac_explicit_ac_barr_list_r15() const { - assert_choice_type("uac-ExplicitAC-BarringList-r15", type_.to_string(), "uac-AC-BarringListType-r15"); + assert_choice_type(types::uac_explicit_ac_barr_list_r15, type_, "uac-AC-BarringListType-r15"); return c.get(); } uac_implicit_ac_barr_list_r15_l_& set_uac_implicit_ac_barr_list_r15(); @@ -1554,162 +1554,162 @@ struct sc_mcch_sched_info_r14_s { // getters uint8_t& sf10() { - assert_choice_type("sf10", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf10, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf20() { - assert_choice_type("sf20", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf20, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf32() { - assert_choice_type("sf32", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf32, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf40() { - assert_choice_type("sf40", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf40, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf64() { - assert_choice_type("sf64", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf64, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf80() { - assert_choice_type("sf80", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf80, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf128() { - assert_choice_type("sf128", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf128, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf160() { - assert_choice_type("sf160", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf160, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf256() { - assert_choice_type("sf256", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf256, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf320() { - assert_choice_type("sf320", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf320, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf512() { - assert_choice_type("sf512", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf512, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf640() { - assert_choice_type("sf640", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf640, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf1024() { - assert_choice_type("sf1024", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf1024, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf2048() { - assert_choice_type("sf2048", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf2048, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf4096() { - assert_choice_type("sf4096", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf4096, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf8192() { - assert_choice_type("sf8192", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf8192, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf10() const { - assert_choice_type("sf10", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf10, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf20() const { - assert_choice_type("sf20", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf20, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf32() const { - assert_choice_type("sf32", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf32, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf40() const { - assert_choice_type("sf40", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf40, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf64() const { - assert_choice_type("sf64", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf64, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf80() const { - assert_choice_type("sf80", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf80, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf128() const { - assert_choice_type("sf128", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf128, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf160() const { - assert_choice_type("sf160", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf160, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf256() const { - assert_choice_type("sf256", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf256, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf320() const { - assert_choice_type("sf320", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf320, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf512() const { - assert_choice_type("sf512", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf512, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf640() const { - assert_choice_type("sf640", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf640, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf1024() const { - assert_choice_type("sf1024", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf1024, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf2048() const { - assert_choice_type("sf2048", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf2048, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf4096() const { - assert_choice_type("sf4096", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf4096, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf8192() const { - assert_choice_type("sf8192", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf8192, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& set_sf10(); @@ -1990,22 +1990,22 @@ struct sib_type14_r11_s { // getters eab_cfg_r11_s& eab_common_r11() { - assert_choice_type("eab-Common-r11", type_.to_string(), "eab-Param-r11"); + assert_choice_type(types::eab_common_r11, type_, "eab-Param-r11"); return c.get(); } eab_per_plmn_list_r11_l_& eab_per_plmn_list_r11() { - assert_choice_type("eab-PerPLMN-List-r11", type_.to_string(), "eab-Param-r11"); + assert_choice_type(types::eab_per_plmn_list_r11, type_, "eab-Param-r11"); return c.get(); } const eab_cfg_r11_s& eab_common_r11() const { - assert_choice_type("eab-Common-r11", type_.to_string(), "eab-Param-r11"); + assert_choice_type(types::eab_common_r11, type_, "eab-Param-r11"); return c.get(); } const eab_per_plmn_list_r11_l_& eab_per_plmn_list_r11() const { - assert_choice_type("eab-PerPLMN-List-r11", type_.to_string(), "eab-Param-r11"); + assert_choice_type(types::eab_per_plmn_list_r11, type_, "eab-Param-r11"); return c.get(); } eab_cfg_r11_s& set_eab_common_r11(); @@ -2270,22 +2270,22 @@ struct sib_type20_r13_s { // getters fdd_r14_e_& fdd_r14() { - assert_choice_type("fdd-r14", type_.to_string(), "mpdcch-StartSF-SC-MCCH-r14"); + assert_choice_type(types::fdd_r14, type_, "mpdcch-StartSF-SC-MCCH-r14"); return c.get(); } tdd_r14_e_& tdd_r14() { - assert_choice_type("tdd-r14", type_.to_string(), "mpdcch-StartSF-SC-MCCH-r14"); + assert_choice_type(types::tdd_r14, type_, "mpdcch-StartSF-SC-MCCH-r14"); return c.get(); } const fdd_r14_e_& fdd_r14() const { - assert_choice_type("fdd-r14", type_.to_string(), "mpdcch-StartSF-SC-MCCH-r14"); + assert_choice_type(types::fdd_r14, type_, "mpdcch-StartSF-SC-MCCH-r14"); return c.get(); } const tdd_r14_e_& tdd_r14() const { - assert_choice_type("tdd-r14", type_.to_string(), "mpdcch-StartSF-SC-MCCH-r14"); + assert_choice_type(types::tdd_r14, type_, "mpdcch-StartSF-SC-MCCH-r14"); return c.get(); } fdd_r14_e_& set_fdd_r14(); @@ -2449,22 +2449,22 @@ struct sib_type25_r15_s { // getters uac_ac1_select_assist_info_r15_e& plmn_common_r15() { - assert_choice_type("plmnCommon-r15", type_.to_string(), "uac-AC1-SelectAssistInfo-r15"); + assert_choice_type(types::plmn_common_r15, type_, "uac-AC1-SelectAssistInfo-r15"); return c.get(); } individual_plmn_list_r15_l_& individual_plmn_list_r15() { - assert_choice_type("individualPLMNList-r15", type_.to_string(), "uac-AC1-SelectAssistInfo-r15"); + assert_choice_type(types::individual_plmn_list_r15, type_, "uac-AC1-SelectAssistInfo-r15"); return c.get(); } const uac_ac1_select_assist_info_r15_e& plmn_common_r15() const { - assert_choice_type("plmnCommon-r15", type_.to_string(), "uac-AC1-SelectAssistInfo-r15"); + assert_choice_type(types::plmn_common_r15, type_, "uac-AC1-SelectAssistInfo-r15"); return c.get(); } const individual_plmn_list_r15_l_& individual_plmn_list_r15() const { - assert_choice_type("individualPLMNList-r15", type_.to_string(), "uac-AC1-SelectAssistInfo-r15"); + assert_choice_type(types::individual_plmn_list_r15, type_, "uac-AC1-SelectAssistInfo-r15"); return c.get(); } uac_ac1_select_assist_info_r15_e& set_plmn_common_r15(); @@ -2875,272 +2875,272 @@ struct pos_sys_info_r15_ies_s { // getters sib_pos_r15_s& pos_sib1_minus1_r15() { - assert_choice_type("posSib1-1-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus1_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib1_minus2_r15() { - assert_choice_type("posSib1-2-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus2_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib1_minus3_r15() { - assert_choice_type("posSib1-3-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus3_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib1_minus4_r15() { - assert_choice_type("posSib1-4-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus4_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib1_minus5_r15() { - assert_choice_type("posSib1-5-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus5_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib1_minus6_r15() { - assert_choice_type("posSib1-6-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus6_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib1_minus7_r15() { - assert_choice_type("posSib1-7-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus7_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus1_r15() { - assert_choice_type("posSib2-1-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus1_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus2_r15() { - assert_choice_type("posSib2-2-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus2_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus3_r15() { - assert_choice_type("posSib2-3-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus3_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus4_r15() { - assert_choice_type("posSib2-4-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus4_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus5_r15() { - assert_choice_type("posSib2-5-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus5_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus6_r15() { - assert_choice_type("posSib2-6-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus6_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus7_r15() { - assert_choice_type("posSib2-7-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus7_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus8_r15() { - assert_choice_type("posSib2-8-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus8_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus9_r15() { - assert_choice_type("posSib2-9-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus9_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus10_r15() { - assert_choice_type("posSib2-10-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus10_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus11_r15() { - assert_choice_type("posSib2-11-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus11_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus12_r15() { - assert_choice_type("posSib2-12-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus12_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus13_r15() { - assert_choice_type("posSib2-13-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus13_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus14_r15() { - assert_choice_type("posSib2-14-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus14_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus15_r15() { - assert_choice_type("posSib2-15-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus15_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus16_r15() { - assert_choice_type("posSib2-16-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus16_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus17_r15() { - assert_choice_type("posSib2-17-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus17_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus18_r15() { - assert_choice_type("posSib2-18-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus18_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib2_minus19_r15() { - assert_choice_type("posSib2-19-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus19_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& pos_sib3_minus1_r15() { - assert_choice_type("posSib3-1-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib3_minus1_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib1_minus1_r15() const { - assert_choice_type("posSib1-1-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus1_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib1_minus2_r15() const { - assert_choice_type("posSib1-2-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus2_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib1_minus3_r15() const { - assert_choice_type("posSib1-3-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus3_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib1_minus4_r15() const { - assert_choice_type("posSib1-4-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus4_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib1_minus5_r15() const { - assert_choice_type("posSib1-5-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus5_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib1_minus6_r15() const { - assert_choice_type("posSib1-6-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus6_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib1_minus7_r15() const { - assert_choice_type("posSib1-7-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib1_minus7_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus1_r15() const { - assert_choice_type("posSib2-1-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus1_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus2_r15() const { - assert_choice_type("posSib2-2-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus2_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus3_r15() const { - assert_choice_type("posSib2-3-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus3_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus4_r15() const { - assert_choice_type("posSib2-4-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus4_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus5_r15() const { - assert_choice_type("posSib2-5-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus5_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus6_r15() const { - assert_choice_type("posSib2-6-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus6_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus7_r15() const { - assert_choice_type("posSib2-7-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus7_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus8_r15() const { - assert_choice_type("posSib2-8-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus8_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus9_r15() const { - assert_choice_type("posSib2-9-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus9_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus10_r15() const { - assert_choice_type("posSib2-10-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus10_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus11_r15() const { - assert_choice_type("posSib2-11-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus11_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus12_r15() const { - assert_choice_type("posSib2-12-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus12_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus13_r15() const { - assert_choice_type("posSib2-13-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus13_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus14_r15() const { - assert_choice_type("posSib2-14-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus14_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus15_r15() const { - assert_choice_type("posSib2-15-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus15_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus16_r15() const { - assert_choice_type("posSib2-16-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus16_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus17_r15() const { - assert_choice_type("posSib2-17-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus17_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus18_r15() const { - assert_choice_type("posSib2-18-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus18_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib2_minus19_r15() const { - assert_choice_type("posSib2-19-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib2_minus19_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } const sib_pos_r15_s& pos_sib3_minus1_r15() const { - assert_choice_type("posSib3-1-r15", type_.to_string(), "posSIB-TypeAndInfo-r15-item"); + assert_choice_type(types::pos_sib3_minus1_r15, type_, "posSIB-TypeAndInfo-r15-item"); return c.get(); } sib_pos_r15_s& set_pos_sib1_minus1_r15(); @@ -3240,232 +3240,232 @@ struct sib_info_item_c { // getters sib_type2_s& sib2() { - assert_choice_type("sib2", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib2, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type3_s& sib3() { - assert_choice_type("sib3", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib3, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type4_s& sib4() { - assert_choice_type("sib4", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib4, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type5_s& sib5() { - assert_choice_type("sib5", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib5, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type6_s& sib6() { - assert_choice_type("sib6", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib6, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type7_s& sib7() { - assert_choice_type("sib7", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib7, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type8_s& sib8() { - assert_choice_type("sib8", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib8, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type9_s& sib9() { - assert_choice_type("sib9", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib9, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type10_s& sib10() { - assert_choice_type("sib10", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib10, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type11_s& sib11() { - assert_choice_type("sib11", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib11, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type12_r9_s& sib12_v920() { - assert_choice_type("sib12-v920", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib12_v920, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type13_r9_s& sib13_v920() { - assert_choice_type("sib13-v920", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib13_v920, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type14_r11_s& sib14_v1130() { - assert_choice_type("sib14-v1130", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib14_v1130, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type15_r11_s& sib15_v1130() { - assert_choice_type("sib15-v1130", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib15_v1130, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type16_r11_s& sib16_v1130() { - assert_choice_type("sib16-v1130", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib16_v1130, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type17_r12_s& sib17_v1250() { - assert_choice_type("sib17-v1250", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib17_v1250, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type18_r12_s& sib18_v1250() { - assert_choice_type("sib18-v1250", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib18_v1250, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type19_r12_s& sib19_v1250() { - assert_choice_type("sib19-v1250", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib19_v1250, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type20_r13_s& sib20_v1310() { - assert_choice_type("sib20-v1310", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib20_v1310, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type21_r14_s& sib21_v1430() { - assert_choice_type("sib21-v1430", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib21_v1430, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type24_r15_s& sib24_v1530() { - assert_choice_type("sib24-v1530", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib24_v1530, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type25_r15_s& sib25_v1530() { - assert_choice_type("sib25-v1530", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib25_v1530, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type26_r15_s& sib26_v1530() { - assert_choice_type("sib26-v1530", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib26_v1530, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type2_s& sib2() const { - assert_choice_type("sib2", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib2, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type3_s& sib3() const { - assert_choice_type("sib3", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib3, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type4_s& sib4() const { - assert_choice_type("sib4", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib4, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type5_s& sib5() const { - assert_choice_type("sib5", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib5, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type6_s& sib6() const { - assert_choice_type("sib6", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib6, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type7_s& sib7() const { - assert_choice_type("sib7", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib7, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type8_s& sib8() const { - assert_choice_type("sib8", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib8, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type9_s& sib9() const { - assert_choice_type("sib9", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib9, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type10_s& sib10() const { - assert_choice_type("sib10", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib10, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type11_s& sib11() const { - assert_choice_type("sib11", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib11, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type12_r9_s& sib12_v920() const { - assert_choice_type("sib12-v920", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib12_v920, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type13_r9_s& sib13_v920() const { - assert_choice_type("sib13-v920", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib13_v920, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type14_r11_s& sib14_v1130() const { - assert_choice_type("sib14-v1130", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib14_v1130, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type15_r11_s& sib15_v1130() const { - assert_choice_type("sib15-v1130", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib15_v1130, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type16_r11_s& sib16_v1130() const { - assert_choice_type("sib16-v1130", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib16_v1130, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type17_r12_s& sib17_v1250() const { - assert_choice_type("sib17-v1250", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib17_v1250, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type18_r12_s& sib18_v1250() const { - assert_choice_type("sib18-v1250", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib18_v1250, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type19_r12_s& sib19_v1250() const { - assert_choice_type("sib19-v1250", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib19_v1250, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type20_r13_s& sib20_v1310() const { - assert_choice_type("sib20-v1310", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib20_v1310, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type21_r14_s& sib21_v1430() const { - assert_choice_type("sib21-v1430", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib21_v1430, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type24_r15_s& sib24_v1530() const { - assert_choice_type("sib24-v1530", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib24_v1530, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type25_r15_s& sib25_v1530() const { - assert_choice_type("sib25-v1530", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib25_v1530, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib_type26_r15_s& sib26_v1530() const { - assert_choice_type("sib26-v1530", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib26_v1530, type_, "sib-TypeAndInfo-item"); return c.get(); } sib_type2_s& set_sib2(); @@ -3559,12 +3559,12 @@ struct sys_info_s { // getters pos_sys_info_r15_ies_s& pos_sys_info_r15() { - assert_choice_type("posSystemInformation-r15", type_.to_string(), "criticalExtensionsFuture-r15"); + assert_choice_type(types::pos_sys_info_r15, type_, "criticalExtensionsFuture-r15"); return c; } const pos_sys_info_r15_ies_s& pos_sys_info_r15() const { - assert_choice_type("posSystemInformation-r15", type_.to_string(), "criticalExtensionsFuture-r15"); + assert_choice_type(types::pos_sys_info_r15, type_, "criticalExtensionsFuture-r15"); return c; } pos_sys_info_r15_ies_s& set_pos_sys_info_r15(); @@ -3594,22 +3594,22 @@ struct sys_info_s { // getters sys_info_r8_ies_s& sys_info_r8() { - assert_choice_type("systemInformation-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::sys_info_r8, type_, "criticalExtensions"); return c.get(); } crit_exts_future_r15_c_& crit_exts_future_r15() { - assert_choice_type("criticalExtensionsFuture-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::crit_exts_future_r15, type_, "criticalExtensions"); return c.get(); } const sys_info_r8_ies_s& sys_info_r8() const { - assert_choice_type("systemInformation-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::sys_info_r8, type_, "criticalExtensions"); return c.get(); } const crit_exts_future_r15_c_& crit_exts_future_r15() const { - assert_choice_type("criticalExtensionsFuture-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::crit_exts_future_r15, type_, "criticalExtensions"); return c.get(); } sys_info_r8_ies_s& set_sys_info_r8(); @@ -3656,22 +3656,22 @@ struct bcch_dl_sch_msg_type_c { // getters sys_info_s& sys_info() { - assert_choice_type("systemInformation", type_.to_string(), "c1"); + assert_choice_type(types::sys_info, type_, "c1"); return c.get(); } sib_type1_s& sib_type1() { - assert_choice_type("systemInformationBlockType1", type_.to_string(), "c1"); + assert_choice_type(types::sib_type1, type_, "c1"); return c.get(); } const sys_info_s& sys_info() const { - assert_choice_type("systemInformation", type_.to_string(), "c1"); + assert_choice_type(types::sys_info, type_, "c1"); return c.get(); } const sib_type1_s& sib_type1() const { - assert_choice_type("systemInformationBlockType1", type_.to_string(), "c1"); + assert_choice_type(types::sib_type1, type_, "c1"); return c.get(); } sys_info_s& set_sys_info(); @@ -3702,12 +3702,12 @@ struct bcch_dl_sch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "BCCH-DL-SCH-MessageType"); + assert_choice_type(types::c1, type_, "BCCH-DL-SCH-MessageType"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "BCCH-DL-SCH-MessageType"); + assert_choice_type(types::c1, type_, "BCCH-DL-SCH-MessageType"); return c; } c1_c_& set_c1(); @@ -3759,22 +3759,22 @@ struct bcch_dl_sch_msg_type_br_r13_c { // getters sys_info_br_r13_s& sys_info_br_r13() { - assert_choice_type("systemInformation-BR-r13", type_.to_string(), "c1"); + assert_choice_type(types::sys_info_br_r13, type_, "c1"); return c.get(); } sib_type1_br_r13_s& sib_type1_br_r13() { - assert_choice_type("systemInformationBlockType1-BR-r13", type_.to_string(), "c1"); + assert_choice_type(types::sib_type1_br_r13, type_, "c1"); return c.get(); } const sys_info_br_r13_s& sys_info_br_r13() const { - assert_choice_type("systemInformation-BR-r13", type_.to_string(), "c1"); + assert_choice_type(types::sys_info_br_r13, type_, "c1"); return c.get(); } const sib_type1_br_r13_s& sib_type1_br_r13() const { - assert_choice_type("systemInformationBlockType1-BR-r13", type_.to_string(), "c1"); + assert_choice_type(types::sib_type1_br_r13, type_, "c1"); return c.get(); } sys_info_br_r13_s& set_sys_info_br_r13(); @@ -3805,12 +3805,12 @@ struct bcch_dl_sch_msg_type_br_r13_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "BCCH-DL-SCH-MessageType-BR-r13"); + assert_choice_type(types::c1, type_, "BCCH-DL-SCH-MessageType-BR-r13"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "BCCH-DL-SCH-MessageType-BR-r13"); + assert_choice_type(types::c1, type_, "BCCH-DL-SCH-MessageType-BR-r13"); return c; } c1_c_& set_c1(); diff --git a/lib/include/srsran/asn1/rrc/common.h b/lib/include/srsran/asn1/rrc/common.h index 20567ed91..77a887644 100644 --- a/lib/include/srsran/asn1/rrc/common.h +++ b/lib/include/srsran/asn1/rrc/common.h @@ -385,22 +385,22 @@ struct mbsfn_sf_cfg_s { // getters fixed_bitstring<6>& one_frame() { - assert_choice_type("oneFrame", type_.to_string(), "subframeAllocation"); + assert_choice_type(types::one_frame, type_, "subframeAllocation"); return c.get >(); } fixed_bitstring<24>& four_frames() { - assert_choice_type("fourFrames", type_.to_string(), "subframeAllocation"); + assert_choice_type(types::four_frames, type_, "subframeAllocation"); return c.get >(); } const fixed_bitstring<6>& one_frame() const { - assert_choice_type("oneFrame", type_.to_string(), "subframeAllocation"); + assert_choice_type(types::one_frame, type_, "subframeAllocation"); return c.get >(); } const fixed_bitstring<24>& four_frames() const { - assert_choice_type("fourFrames", type_.to_string(), "subframeAllocation"); + assert_choice_type(types::four_frames, type_, "subframeAllocation"); return c.get >(); } fixed_bitstring<6>& set_one_frame(); @@ -453,22 +453,22 @@ struct mbsfn_sf_cfg_v1430_s { // getters fixed_bitstring<2>& one_frame_v1430() { - assert_choice_type("oneFrame-v1430", type_.to_string(), "subframeAllocation-v1430"); + assert_choice_type(types::one_frame_v1430, type_, "subframeAllocation-v1430"); return c.get >(); } fixed_bitstring<8>& four_frames_v1430() { - assert_choice_type("fourFrames-v1430", type_.to_string(), "subframeAllocation-v1430"); + assert_choice_type(types::four_frames_v1430, type_, "subframeAllocation-v1430"); return c.get >(); } const fixed_bitstring<2>& one_frame_v1430() const { - assert_choice_type("oneFrame-v1430", type_.to_string(), "subframeAllocation-v1430"); + assert_choice_type(types::one_frame_v1430, type_, "subframeAllocation-v1430"); return c.get >(); } const fixed_bitstring<8>& four_frames_v1430() const { - assert_choice_type("fourFrames-v1430", type_.to_string(), "subframeAllocation-v1430"); + assert_choice_type(types::four_frames_v1430, type_, "subframeAllocation-v1430"); return c.get >(); } fixed_bitstring<2>& set_one_frame_v1430(); @@ -525,32 +525,32 @@ struct meas_sf_pattern_r10_c { // getters fixed_bitstring<20>& sf_cfg1_minus5_r10() { - assert_choice_type("subframeConfig1-5-r10", type_.to_string(), "subframePatternTDD-r10"); + assert_choice_type(types::sf_cfg1_minus5_r10, type_, "subframePatternTDD-r10"); return c.get >(); } fixed_bitstring<70>& sf_cfg0_r10() { - assert_choice_type("subframeConfig0-r10", type_.to_string(), "subframePatternTDD-r10"); + assert_choice_type(types::sf_cfg0_r10, type_, "subframePatternTDD-r10"); return c.get >(); } fixed_bitstring<60>& sf_cfg6_r10() { - assert_choice_type("subframeConfig6-r10", type_.to_string(), "subframePatternTDD-r10"); + assert_choice_type(types::sf_cfg6_r10, type_, "subframePatternTDD-r10"); return c.get >(); } const fixed_bitstring<20>& sf_cfg1_minus5_r10() const { - assert_choice_type("subframeConfig1-5-r10", type_.to_string(), "subframePatternTDD-r10"); + assert_choice_type(types::sf_cfg1_minus5_r10, type_, "subframePatternTDD-r10"); return c.get >(); } const fixed_bitstring<70>& sf_cfg0_r10() const { - assert_choice_type("subframeConfig0-r10", type_.to_string(), "subframePatternTDD-r10"); + assert_choice_type(types::sf_cfg0_r10, type_, "subframePatternTDD-r10"); return c.get >(); } const fixed_bitstring<60>& sf_cfg6_r10() const { - assert_choice_type("subframeConfig6-r10", type_.to_string(), "subframePatternTDD-r10"); + assert_choice_type(types::sf_cfg6_r10, type_, "subframePatternTDD-r10"); return c.get >(); } fixed_bitstring<20>& set_sf_cfg1_minus5_r10(); @@ -585,22 +585,22 @@ struct meas_sf_pattern_r10_c { // getters fixed_bitstring<40>& sf_pattern_fdd_r10() { - assert_choice_type("subframePatternFDD-r10", type_.to_string(), "MeasSubframePattern-r10"); + assert_choice_type(types::sf_pattern_fdd_r10, type_, "MeasSubframePattern-r10"); return c.get >(); } sf_pattern_tdd_r10_c_& sf_pattern_tdd_r10() { - assert_choice_type("subframePatternTDD-r10", type_.to_string(), "MeasSubframePattern-r10"); + assert_choice_type(types::sf_pattern_tdd_r10, type_, "MeasSubframePattern-r10"); return c.get(); } const fixed_bitstring<40>& sf_pattern_fdd_r10() const { - assert_choice_type("subframePatternFDD-r10", type_.to_string(), "MeasSubframePattern-r10"); + assert_choice_type(types::sf_pattern_fdd_r10, type_, "MeasSubframePattern-r10"); return c.get >(); } const sf_pattern_tdd_r10_c_& sf_pattern_tdd_r10() const { - assert_choice_type("subframePatternTDD-r10", type_.to_string(), "MeasSubframePattern-r10"); + assert_choice_type(types::sf_pattern_tdd_r10, type_, "MeasSubframePattern-r10"); return c.get(); } fixed_bitstring<40>& set_sf_pattern_fdd_r10(); diff --git a/lib/include/srsran/asn1/rrc/common_ext.h b/lib/include/srsran/asn1/rrc/common_ext.h index 23ada861c..8b18d9360 100644 --- a/lib/include/srsran/asn1/rrc/common_ext.h +++ b/lib/include/srsran/asn1/rrc/common_ext.h @@ -63,12 +63,12 @@ struct sl_tx_pwr_r14_c { // getters int8_t& tx_pwr_r14() { - assert_choice_type("txPower-r14", type_.to_string(), "SL-TxPower-r14"); + assert_choice_type(types::tx_pwr_r14, type_, "SL-TxPower-r14"); return c; } const int8_t& tx_pwr_r14() const { - assert_choice_type("txPower-r14", type_.to_string(), "SL-TxPower-r14"); + assert_choice_type(types::tx_pwr_r14, type_, "SL-TxPower-r14"); return c; } void set_minusinfinity_r14(); @@ -233,22 +233,22 @@ struct sl_offset_ind_r12_c { // getters uint16_t& small_r12() { - assert_choice_type("small-r12", type_.to_string(), "SL-OffsetIndicator-r12"); + assert_choice_type(types::small_r12, type_, "SL-OffsetIndicator-r12"); return c.get(); } uint16_t& large_r12() { - assert_choice_type("large-r12", type_.to_string(), "SL-OffsetIndicator-r12"); + assert_choice_type(types::large_r12, type_, "SL-OffsetIndicator-r12"); return c.get(); } const uint16_t& small_r12() const { - assert_choice_type("small-r12", type_.to_string(), "SL-OffsetIndicator-r12"); + assert_choice_type(types::small_r12, type_, "SL-OffsetIndicator-r12"); return c.get(); } const uint16_t& large_r12() const { - assert_choice_type("large-r12", type_.to_string(), "SL-OffsetIndicator-r12"); + assert_choice_type(types::large_r12, type_, "SL-OffsetIndicator-r12"); return c.get(); } uint16_t& set_small_r12(); @@ -351,72 +351,72 @@ struct sf_bitmap_sl_r12_c { // getters fixed_bitstring<4>& bs4_r12() { - assert_choice_type("bs4-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs4_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } fixed_bitstring<8>& bs8_r12() { - assert_choice_type("bs8-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs8_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } fixed_bitstring<12>& bs12_r12() { - assert_choice_type("bs12-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs12_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } fixed_bitstring<16>& bs16_r12() { - assert_choice_type("bs16-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs16_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } fixed_bitstring<30>& bs30_r12() { - assert_choice_type("bs30-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs30_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } fixed_bitstring<40>& bs40_r12() { - assert_choice_type("bs40-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs40_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } fixed_bitstring<42>& bs42_r12() { - assert_choice_type("bs42-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs42_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } const fixed_bitstring<4>& bs4_r12() const { - assert_choice_type("bs4-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs4_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } const fixed_bitstring<8>& bs8_r12() const { - assert_choice_type("bs8-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs8_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } const fixed_bitstring<12>& bs12_r12() const { - assert_choice_type("bs12-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs12_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } const fixed_bitstring<16>& bs16_r12() const { - assert_choice_type("bs16-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs16_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } const fixed_bitstring<30>& bs30_r12() const { - assert_choice_type("bs30-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs30_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } const fixed_bitstring<40>& bs40_r12() const { - assert_choice_type("bs40-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs40_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } const fixed_bitstring<42>& bs42_r12() const { - assert_choice_type("bs42-r12", type_.to_string(), "SubframeBitmapSL-r12"); + assert_choice_type(types::bs42_r12, type_, "SubframeBitmapSL-r12"); return c.get >(); } fixed_bitstring<4>& set_bs4_r12(); @@ -458,82 +458,82 @@ struct sf_bitmap_sl_r14_c { // getters fixed_bitstring<10>& bs10_r14() { - assert_choice_type("bs10-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs10_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } fixed_bitstring<16>& bs16_r14() { - assert_choice_type("bs16-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs16_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } fixed_bitstring<20>& bs20_r14() { - assert_choice_type("bs20-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs20_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } fixed_bitstring<30>& bs30_r14() { - assert_choice_type("bs30-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs30_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } fixed_bitstring<40>& bs40_r14() { - assert_choice_type("bs40-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs40_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } fixed_bitstring<50>& bs50_r14() { - assert_choice_type("bs50-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs50_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } fixed_bitstring<60>& bs60_r14() { - assert_choice_type("bs60-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs60_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } fixed_bitstring<100>& bs100_r14() { - assert_choice_type("bs100-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs100_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } const fixed_bitstring<10>& bs10_r14() const { - assert_choice_type("bs10-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs10_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } const fixed_bitstring<16>& bs16_r14() const { - assert_choice_type("bs16-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs16_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } const fixed_bitstring<20>& bs20_r14() const { - assert_choice_type("bs20-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs20_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } const fixed_bitstring<30>& bs30_r14() const { - assert_choice_type("bs30-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs30_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } const fixed_bitstring<40>& bs40_r14() const { - assert_choice_type("bs40-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs40_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } const fixed_bitstring<50>& bs50_r14() const { - assert_choice_type("bs50-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs50_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } const fixed_bitstring<60>& bs60_r14() const { - assert_choice_type("bs60-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs60_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } const fixed_bitstring<100>& bs100_r14() const { - assert_choice_type("bs100-r14", type_.to_string(), "SubframeBitmapSL-r14"); + assert_choice_type(types::bs100_r14, type_, "SubframeBitmapSL-r14"); return c.get >(); } fixed_bitstring<10>& set_bs10_r14(); @@ -834,12 +834,12 @@ struct sl_disc_res_pool_r12_s { // getters sl_pool_sel_cfg_r12_s& rsrp_based_r12() { - assert_choice_type("rsrpBased-r12", type_.to_string(), "poolSelection-r12"); + assert_choice_type(types::rsrp_based_r12, type_, "poolSelection-r12"); return c; } const sl_pool_sel_cfg_r12_s& rsrp_based_r12() const { - assert_choice_type("rsrpBased-r12", type_.to_string(), "poolSelection-r12"); + assert_choice_type(types::rsrp_based_r12, type_, "poolSelection-r12"); return c; } sl_pool_sel_cfg_r12_s& set_rsrp_based_r12(); @@ -894,12 +894,12 @@ struct sl_disc_res_pool_r12_s { // getters setup_e_& setup() { - assert_choice_type("setup", type_.to_string(), "discPeriod-v1310"); + assert_choice_type(types::setup, type_, "discPeriod-v1310"); return c; } const setup_e_& setup() const { - assert_choice_type("setup", type_.to_string(), "discPeriod-v1310"); + assert_choice_type(types::setup, type_, "discPeriod-v1310"); return c; } void set_release(); @@ -925,12 +925,12 @@ struct sl_disc_res_pool_r12_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "rxParamsAddNeighFreq-r13"); + assert_choice_type(types::setup, type_, "rxParamsAddNeighFreq-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "rxParamsAddNeighFreq-r13"); + assert_choice_type(types::setup, type_, "rxParamsAddNeighFreq-r13"); return c; } void set_release(); @@ -985,12 +985,12 @@ struct sl_disc_res_pool_r12_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "txParamsAddNeighFreq-r13"); + assert_choice_type(types::setup, type_, "txParamsAddNeighFreq-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "txParamsAddNeighFreq-r13"); + assert_choice_type(types::setup, type_, "txParamsAddNeighFreq-r13"); return c; } void set_release(); @@ -1021,12 +1021,12 @@ struct sl_disc_res_pool_r12_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "txParamsAddNeighFreq-v1370"); + assert_choice_type(types::setup, type_, "txParamsAddNeighFreq-v1370"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "txParamsAddNeighFreq-v1370"); + assert_choice_type(types::setup, type_, "txParamsAddNeighFreq-v1370"); return c; } void set_release(); @@ -1303,12 +1303,12 @@ struct sl_disc_tx_res_inter_freq_r13_c { // getters sl_disc_tx_pool_list_r12_l& disc_tx_pool_common_r13() { - assert_choice_type("discTxPoolCommon-r13", type_.to_string(), "SL-DiscTxResourcesInterFreq-r13"); + assert_choice_type(types::disc_tx_pool_common_r13, type_, "SL-DiscTxResourcesInterFreq-r13"); return c; } const sl_disc_tx_pool_list_r12_l& disc_tx_pool_common_r13() const { - assert_choice_type("discTxPoolCommon-r13", type_.to_string(), "SL-DiscTxResourcesInterFreq-r13"); + assert_choice_type(types::disc_tx_pool_common_r13, type_, "SL-DiscTxResourcesInterFreq-r13"); return c; } void set_acquire_si_from_carrier_r13(); @@ -1428,22 +1428,22 @@ struct sl_inter_freq_info_v2x_r14_s { // getters uint8_t& add_spec_emission_r14() { - assert_choice_type("additionalSpectrumEmission-r14", type_.to_string(), "additionalSpectrumEmissionV2X-r14"); + assert_choice_type(types::add_spec_emission_r14, type_, "additionalSpectrumEmissionV2X-r14"); return c.get(); } uint16_t& add_spec_emission_v1440() { - assert_choice_type("additionalSpectrumEmission-v1440", type_.to_string(), "additionalSpectrumEmissionV2X-r14"); + assert_choice_type(types::add_spec_emission_v1440, type_, "additionalSpectrumEmissionV2X-r14"); return c.get(); } const uint8_t& add_spec_emission_r14() const { - assert_choice_type("additionalSpectrumEmission-r14", type_.to_string(), "additionalSpectrumEmissionV2X-r14"); + assert_choice_type(types::add_spec_emission_r14, type_, "additionalSpectrumEmissionV2X-r14"); return c.get(); } const uint16_t& add_spec_emission_v1440() const { - assert_choice_type("additionalSpectrumEmission-v1440", type_.to_string(), "additionalSpectrumEmissionV2X-r14"); + assert_choice_type(types::add_spec_emission_v1440, type_, "additionalSpectrumEmissionV2X-r14"); return c.get(); } uint8_t& set_add_spec_emission_r14(); diff --git a/lib/include/srsran/asn1/rrc/dl_ccch_msg.h b/lib/include/srsran/asn1/rrc/dl_ccch_msg.h index 656c6a3fa..746cb827f 100644 --- a/lib/include/srsran/asn1/rrc/dl_ccch_msg.h +++ b/lib/include/srsran/asn1/rrc/dl_ccch_msg.h @@ -379,62 +379,62 @@ struct redirected_carrier_info_r15_ies_c { // getters uint32_t& eutra_r15() { - assert_choice_type("eutra-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::eutra_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } carrier_freqs_geran_s& geran_r15() { - assert_choice_type("geran-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::geran_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } uint16_t& utra_fdd_r15() { - assert_choice_type("utra-FDD-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::utra_fdd_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } carrier_freq_cdma2000_s& cdma2000_hrpd_r15() { - assert_choice_type("cdma2000-HRPD-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::cdma2000_hrpd_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } carrier_freq_cdma2000_s& cdma2000_minus1x_rtt_r15() { - assert_choice_type("cdma2000-1xRTT-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::cdma2000_minus1x_rtt_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } carrier_freq_list_utra_tdd_r10_l& utra_tdd_r15() { - assert_choice_type("utra-TDD-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::utra_tdd_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } const uint32_t& eutra_r15() const { - assert_choice_type("eutra-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::eutra_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } const carrier_freqs_geran_s& geran_r15() const { - assert_choice_type("geran-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::geran_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } const uint16_t& utra_fdd_r15() const { - assert_choice_type("utra-FDD-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::utra_fdd_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } const carrier_freq_cdma2000_s& cdma2000_hrpd_r15() const { - assert_choice_type("cdma2000-HRPD-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::cdma2000_hrpd_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } const carrier_freq_cdma2000_s& cdma2000_minus1x_rtt_r15() const { - assert_choice_type("cdma2000-1xRTT-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::cdma2000_minus1x_rtt_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } const carrier_freq_list_utra_tdd_r10_l& utra_tdd_r15() const { - assert_choice_type("utra-TDD-r15", type_.to_string(), "RedirectedCarrierInfo-r15-IEs"); + assert_choice_type(types::utra_tdd_r15, type_, "RedirectedCarrierInfo-r15-IEs"); return c.get(); } uint32_t& set_eutra_r15(); @@ -541,12 +541,12 @@ struct rrc_conn_reest_s { // getters rrc_conn_reest_r8_ies_s& rrc_conn_reest_r8() { - assert_choice_type("rrcConnectionReestablishment-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_r8, type_, "c1"); return c; } const rrc_conn_reest_r8_ies_s& rrc_conn_reest_r8() const { - assert_choice_type("rrcConnectionReestablishment-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_r8, type_, "c1"); return c; } rrc_conn_reest_r8_ies_s& set_rrc_conn_reest_r8(); @@ -574,12 +574,12 @@ struct rrc_conn_reest_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -620,12 +620,12 @@ struct rrc_conn_reest_reject_s { // getters rrc_conn_reest_reject_r8_ies_s& rrc_conn_reest_reject_r8() { - assert_choice_type("rrcConnectionReestablishmentReject-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_reest_reject_r8, type_, "criticalExtensions"); return c; } const rrc_conn_reest_reject_r8_ies_s& rrc_conn_reest_reject_r8() const { - assert_choice_type("rrcConnectionReestablishmentReject-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_reest_reject_r8, type_, "criticalExtensions"); return c; } rrc_conn_reest_reject_r8_ies_s& set_rrc_conn_reest_reject_r8(); @@ -666,12 +666,12 @@ struct rrc_conn_reject_s { // getters rrc_conn_reject_r8_ies_s& rrc_conn_reject_r8() { - assert_choice_type("rrcConnectionReject-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reject_r8, type_, "c1"); return c; } const rrc_conn_reject_r8_ies_s& rrc_conn_reject_r8() const { - assert_choice_type("rrcConnectionReject-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reject_r8, type_, "c1"); return c; } rrc_conn_reject_r8_ies_s& set_rrc_conn_reject_r8(); @@ -695,12 +695,12 @@ struct rrc_conn_reject_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -741,12 +741,12 @@ struct rrc_conn_setup_s { // getters rrc_conn_setup_r8_ies_s& rrc_conn_setup_r8() { - assert_choice_type("rrcConnectionSetup-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_r8, type_, "c1"); return c; } const rrc_conn_setup_r8_ies_s& rrc_conn_setup_r8() const { - assert_choice_type("rrcConnectionSetup-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_r8, type_, "c1"); return c; } rrc_conn_setup_r8_ies_s& set_rrc_conn_setup_r8(); @@ -774,12 +774,12 @@ struct rrc_conn_setup_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -820,12 +820,12 @@ struct rrc_early_data_complete_r15_s { // getters rrc_early_data_complete_r15_ies_s& rrc_early_data_complete_r15() { - assert_choice_type("rrcEarlyDataComplete-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_early_data_complete_r15, type_, "criticalExtensions"); return c; } const rrc_early_data_complete_r15_ies_s& rrc_early_data_complete_r15() const { - assert_choice_type("rrcEarlyDataComplete-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_early_data_complete_r15, type_, "criticalExtensions"); return c; } rrc_early_data_complete_r15_ies_s& set_rrc_early_data_complete_r15(); @@ -868,42 +868,42 @@ struct dl_ccch_msg_type_c { // getters rrc_conn_reest_s& rrc_conn_reest() { - assert_choice_type("rrcConnectionReestablishment", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest, type_, "c1"); return c.get(); } rrc_conn_reest_reject_s& rrc_conn_reest_reject() { - assert_choice_type("rrcConnectionReestablishmentReject", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_reject, type_, "c1"); return c.get(); } rrc_conn_reject_s& rrc_conn_reject() { - assert_choice_type("rrcConnectionReject", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reject, type_, "c1"); return c.get(); } rrc_conn_setup_s& rrc_conn_setup() { - assert_choice_type("rrcConnectionSetup", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup, type_, "c1"); return c.get(); } const rrc_conn_reest_s& rrc_conn_reest() const { - assert_choice_type("rrcConnectionReestablishment", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest, type_, "c1"); return c.get(); } const rrc_conn_reest_reject_s& rrc_conn_reest_reject() const { - assert_choice_type("rrcConnectionReestablishmentReject", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_reject, type_, "c1"); return c.get(); } const rrc_conn_reject_s& rrc_conn_reject() const { - assert_choice_type("rrcConnectionReject", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reject, type_, "c1"); return c.get(); } const rrc_conn_setup_s& rrc_conn_setup() const { - assert_choice_type("rrcConnectionSetup", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup, type_, "c1"); return c.get(); } rrc_conn_reest_s& set_rrc_conn_reest(); @@ -936,12 +936,12 @@ struct dl_ccch_msg_type_c { // getters rrc_early_data_complete_r15_s& rrc_early_data_complete_r15() { - assert_choice_type("rrcEarlyDataComplete-r15", type_.to_string(), "c2"); + assert_choice_type(types::rrc_early_data_complete_r15, type_, "c2"); return c; } const rrc_early_data_complete_r15_s& rrc_early_data_complete_r15() const { - assert_choice_type("rrcEarlyDataComplete-r15", type_.to_string(), "c2"); + assert_choice_type(types::rrc_early_data_complete_r15, type_, "c2"); return c; } rrc_early_data_complete_r15_s& set_rrc_early_data_complete_r15(); @@ -972,12 +972,12 @@ struct dl_ccch_msg_type_c { // getters c2_c_& c2() { - assert_choice_type("c2", type_.to_string(), "messageClassExtension"); + assert_choice_type(types::c2, type_, "messageClassExtension"); return c; } const c2_c_& c2() const { - assert_choice_type("c2", type_.to_string(), "messageClassExtension"); + assert_choice_type(types::c2, type_, "messageClassExtension"); return c; } c2_c_& set_c2(); @@ -1009,22 +1009,22 @@ struct dl_ccch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "DL-CCCH-MessageType"); + assert_choice_type(types::c1, type_, "DL-CCCH-MessageType"); return c.get(); } msg_class_ext_c_& msg_class_ext() { - assert_choice_type("messageClassExtension", type_.to_string(), "DL-CCCH-MessageType"); + assert_choice_type(types::msg_class_ext, type_, "DL-CCCH-MessageType"); return c.get(); } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "DL-CCCH-MessageType"); + assert_choice_type(types::c1, type_, "DL-CCCH-MessageType"); return c.get(); } const msg_class_ext_c_& msg_class_ext() const { - assert_choice_type("messageClassExtension", type_.to_string(), "DL-CCCH-MessageType"); + assert_choice_type(types::msg_class_ext, type_, "DL-CCCH-MessageType"); return c.get(); } c1_c_& set_c1(); diff --git a/lib/include/srsran/asn1/rrc/dl_dcch_msg.h b/lib/include/srsran/asn1/rrc/dl_dcch_msg.h index 8ce86f652..b82632259 100644 --- a/lib/include/srsran/asn1/rrc/dl_dcch_msg.h +++ b/lib/include/srsran/asn1/rrc/dl_dcch_msg.h @@ -154,22 +154,22 @@ struct ip_address_r13_c { // getters fixed_bitstring<32>& ipv4_r13() { - assert_choice_type("ipv4-r13", type_.to_string(), "IP-Address-r13"); + assert_choice_type(types::ipv4_r13, type_, "IP-Address-r13"); return c.get >(); } fixed_bitstring<128>& ipv6_r13() { - assert_choice_type("ipv6-r13", type_.to_string(), "IP-Address-r13"); + assert_choice_type(types::ipv6_r13, type_, "IP-Address-r13"); return c.get >(); } const fixed_bitstring<32>& ipv4_r13() const { - assert_choice_type("ipv4-r13", type_.to_string(), "IP-Address-r13"); + assert_choice_type(types::ipv4_r13, type_, "IP-Address-r13"); return c.get >(); } const fixed_bitstring<128>& ipv6_r13() const { - assert_choice_type("ipv6-r13", type_.to_string(), "IP-Address-r13"); + assert_choice_type(types::ipv6_r13, type_, "IP-Address-r13"); return c.get >(); } fixed_bitstring<32>& set_ipv4_r13(); @@ -509,12 +509,12 @@ struct sl_disc_tx_ref_carrier_ded_r13_c { // getters uint8_t& scell() { - assert_choice_type("sCell", type_.to_string(), "SL-DiscTxRefCarrierDedicated-r13"); + assert_choice_type(types::scell, type_, "SL-DiscTxRefCarrierDedicated-r13"); return c; } const uint8_t& scell() const { - assert_choice_type("sCell", type_.to_string(), "SL-DiscTxRefCarrierDedicated-r13"); + assert_choice_type(types::scell, type_, "SL-DiscTxRefCarrierDedicated-r13"); return c; } void set_pcell(); @@ -548,22 +548,22 @@ struct sl_disc_tx_res_r13_c { // getters sl_disc_tx_cfg_sched_r13_s& sched_r13() { - assert_choice_type("scheduled-r13", type_.to_string(), "setup"); + assert_choice_type(types::sched_r13, type_, "setup"); return c.get(); } sl_disc_tx_pool_ded_r13_s& ue_sel_r13() { - assert_choice_type("ue-Selected-r13", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_r13, type_, "setup"); return c.get(); } const sl_disc_tx_cfg_sched_r13_s& sched_r13() const { - assert_choice_type("scheduled-r13", type_.to_string(), "setup"); + assert_choice_type(types::sched_r13, type_, "setup"); return c.get(); } const sl_disc_tx_pool_ded_r13_s& ue_sel_r13() const { - assert_choice_type("ue-Selected-r13", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_r13, type_, "setup"); return c.get(); } sl_disc_tx_cfg_sched_r13_s& set_sched_r13(); @@ -587,12 +587,12 @@ struct sl_disc_tx_res_r13_c { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "SL-DiscTxResource-r13"); + assert_choice_type(types::setup, type_, "SL-DiscTxResource-r13"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "SL-DiscTxResource-r13"); + assert_choice_type(types::setup, type_, "SL-DiscTxResource-r13"); return c; } void set_release(); @@ -627,12 +627,12 @@ struct tdm_pattern_cfg_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "TDM-PatternConfig-r15"); + assert_choice_type(types::setup, type_, "TDM-PatternConfig-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "TDM-PatternConfig-r15"); + assert_choice_type(types::setup, type_, "TDM-PatternConfig-r15"); return c; } void set_release(); @@ -826,12 +826,12 @@ struct rclwi_cfg_r13_s { // getters steer_to_wlan_r13_s_& steer_to_wlan_r13() { - assert_choice_type("steerToWLAN-r13", type_.to_string(), "command"); + assert_choice_type(types::steer_to_wlan_r13, type_, "command"); return c; } const steer_to_wlan_r13_s_& steer_to_wlan_r13() const { - assert_choice_type("steerToWLAN-r13", type_.to_string(), "command"); + assert_choice_type(types::steer_to_wlan_r13, type_, "command"); return c; } steer_to_wlan_r13_s_& set_steer_to_wlan_r13(); @@ -875,12 +875,12 @@ struct rrc_conn_recfg_v1510_ies_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "nr-Config-r15"); + assert_choice_type(types::setup, type_, "nr-Config-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "nr-Config-r15"); + assert_choice_type(types::setup, type_, "nr-Config-r15"); return c; } void set_release(); @@ -1015,22 +1015,22 @@ struct sl_v2x_cfg_ded_r14_s { // getters sched_r14_s_& sched_r14() { - assert_choice_type("scheduled-r14", type_.to_string(), "setup"); + assert_choice_type(types::sched_r14, type_, "setup"); return c.get(); } ue_sel_r14_s_& ue_sel_r14() { - assert_choice_type("ue-Selected-r14", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_r14, type_, "setup"); return c.get(); } const sched_r14_s_& sched_r14() const { - assert_choice_type("scheduled-r14", type_.to_string(), "setup"); + assert_choice_type(types::sched_r14, type_, "setup"); return c.get(); } const ue_sel_r14_s_& ue_sel_r14() const { - assert_choice_type("ue-Selected-r14", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_r14, type_, "setup"); return c.get(); } sched_r14_s_& set_sched_r14(); @@ -1054,12 +1054,12 @@ struct sl_v2x_cfg_ded_r14_s { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "commTxResources-r14"); + assert_choice_type(types::setup, type_, "commTxResources-r14"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "commTxResources-r14"); + assert_choice_type(types::setup, type_, "commTxResources-r14"); return c; } void set_release(); @@ -1101,22 +1101,22 @@ struct sl_v2x_cfg_ded_r14_s { // getters sched_v1530_s_& sched_v1530() { - assert_choice_type("scheduled-v1530", type_.to_string(), "setup"); + assert_choice_type(types::sched_v1530, type_, "setup"); return c.get(); } ue_sel_v1530_s_& ue_sel_v1530() { - assert_choice_type("ue-Selected-v1530", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_v1530, type_, "setup"); return c.get(); } const sched_v1530_s_& sched_v1530() const { - assert_choice_type("scheduled-v1530", type_.to_string(), "setup"); + assert_choice_type(types::sched_v1530, type_, "setup"); return c.get(); } const ue_sel_v1530_s_& ue_sel_v1530() const { - assert_choice_type("ue-Selected-v1530", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_v1530, type_, "setup"); return c.get(); } sched_v1530_s_& set_sched_v1530(); @@ -1140,12 +1140,12 @@ struct sl_v2x_cfg_ded_r14_s { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "commTxResources-v1530"); + assert_choice_type(types::setup, type_, "commTxResources-v1530"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "commTxResources-v1530"); + assert_choice_type(types::setup, type_, "commTxResources-v1530"); return c; } void set_release(); @@ -1200,12 +1200,12 @@ struct lwa_cfg_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "LWA-Configuration-r13"); + assert_choice_type(types::setup, type_, "LWA-Configuration-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "LWA-Configuration-r13"); + assert_choice_type(types::setup, type_, "LWA-Configuration-r13"); return c; } void set_release(); @@ -1233,12 +1233,12 @@ struct lwip_cfg_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "LWIP-Configuration-r13"); + assert_choice_type(types::setup, type_, "LWIP-Configuration-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "LWIP-Configuration-r13"); + assert_choice_type(types::setup, type_, "LWIP-Configuration-r13"); return c; } void set_release(); @@ -1283,22 +1283,22 @@ struct ran_notif_area_info_r15_c { // getters plmn_ran_area_cell_list_r15_l& cell_list_r15() { - assert_choice_type("cellList-r15", type_.to_string(), "RAN-NotificationAreaInfo-r15"); + assert_choice_type(types::cell_list_r15, type_, "RAN-NotificationAreaInfo-r15"); return c.get(); } plmn_ran_area_cfg_list_r15_l& ran_area_cfg_list_r15() { - assert_choice_type("ran-AreaConfigList-r15", type_.to_string(), "RAN-NotificationAreaInfo-r15"); + assert_choice_type(types::ran_area_cfg_list_r15, type_, "RAN-NotificationAreaInfo-r15"); return c.get(); } const plmn_ran_area_cell_list_r15_l& cell_list_r15() const { - assert_choice_type("cellList-r15", type_.to_string(), "RAN-NotificationAreaInfo-r15"); + assert_choice_type(types::cell_list_r15, type_, "RAN-NotificationAreaInfo-r15"); return c.get(); } const plmn_ran_area_cfg_list_r15_l& ran_area_cfg_list_r15() const { - assert_choice_type("ran-AreaConfigList-r15", type_.to_string(), "RAN-NotificationAreaInfo-r15"); + assert_choice_type(types::ran_area_cfg_list_r15, type_, "RAN-NotificationAreaInfo-r15"); return c.get(); } plmn_ran_area_cell_list_r15_l& set_cell_list_r15(); @@ -1328,12 +1328,12 @@ struct rclwi_cfg_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "RCLWI-Configuration-r13"); + assert_choice_type(types::setup, type_, "RCLWI-Configuration-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "RCLWI-Configuration-r13"); + assert_choice_type(types::setup, type_, "RCLWI-Configuration-r13"); return c; } void set_release(); @@ -1591,12 +1591,12 @@ struct scg_cfg_r12_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SCG-Configuration-r12"); + assert_choice_type(types::setup, type_, "SCG-Configuration-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SCG-Configuration-r12"); + assert_choice_type(types::setup, type_, "SCG-Configuration-r12"); return c; } void set_release(); @@ -1649,22 +1649,22 @@ struct sl_comm_cfg_r12_s { // getters sched_r12_s_& sched_r12() { - assert_choice_type("scheduled-r12", type_.to_string(), "setup"); + assert_choice_type(types::sched_r12, type_, "setup"); return c.get(); } ue_sel_r12_s_& ue_sel_r12() { - assert_choice_type("ue-Selected-r12", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_r12, type_, "setup"); return c.get(); } const sched_r12_s_& sched_r12() const { - assert_choice_type("scheduled-r12", type_.to_string(), "setup"); + assert_choice_type(types::sched_r12, type_, "setup"); return c.get(); } const ue_sel_r12_s_& ue_sel_r12() const { - assert_choice_type("ue-Selected-r12", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_r12, type_, "setup"); return c.get(); } sched_r12_s_& set_sched_r12(); @@ -1688,12 +1688,12 @@ struct sl_comm_cfg_r12_s { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "commTxResources-r12"); + assert_choice_type(types::setup, type_, "commTxResources-r12"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "commTxResources-r12"); + assert_choice_type(types::setup, type_, "commTxResources-r12"); return c; } void set_release(); @@ -1740,22 +1740,22 @@ struct sl_comm_cfg_r12_s { // getters sched_v1310_s_& sched_v1310() { - assert_choice_type("scheduled-v1310", type_.to_string(), "setup"); + assert_choice_type(types::sched_v1310, type_, "setup"); return c.get(); } ue_sel_v1310_s_& ue_sel_v1310() { - assert_choice_type("ue-Selected-v1310", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_v1310, type_, "setup"); return c.get(); } const sched_v1310_s_& sched_v1310() const { - assert_choice_type("scheduled-v1310", type_.to_string(), "setup"); + assert_choice_type(types::sched_v1310, type_, "setup"); return c.get(); } const ue_sel_v1310_s_& ue_sel_v1310() const { - assert_choice_type("ue-Selected-v1310", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_v1310, type_, "setup"); return c.get(); } sched_v1310_s_& set_sched_v1310(); @@ -1779,12 +1779,12 @@ struct sl_comm_cfg_r12_s { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "commTxResources-v1310"); + assert_choice_type(types::setup, type_, "commTxResources-v1310"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "commTxResources-v1310"); + assert_choice_type(types::setup, type_, "commTxResources-v1310"); return c; } void set_release(); @@ -1855,22 +1855,22 @@ struct sl_disc_cfg_r12_s { // getters sched_r12_s_& sched_r12() { - assert_choice_type("scheduled-r12", type_.to_string(), "setup"); + assert_choice_type(types::sched_r12, type_, "setup"); return c.get(); } ue_sel_r12_s_& ue_sel_r12() { - assert_choice_type("ue-Selected-r12", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_r12, type_, "setup"); return c.get(); } const sched_r12_s_& sched_r12() const { - assert_choice_type("scheduled-r12", type_.to_string(), "setup"); + assert_choice_type(types::sched_r12, type_, "setup"); return c.get(); } const ue_sel_r12_s_& ue_sel_r12() const { - assert_choice_type("ue-Selected-r12", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_r12, type_, "setup"); return c.get(); } sched_r12_s_& set_sched_r12(); @@ -1894,12 +1894,12 @@ struct sl_disc_cfg_r12_s { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "discTxResources-r12"); + assert_choice_type(types::setup, type_, "discTxResources-r12"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "discTxResources-r12"); + assert_choice_type(types::setup, type_, "discTxResources-r12"); return c; } void set_release(); @@ -1925,12 +1925,12 @@ struct sl_disc_cfg_r12_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "discTF-IndexList-v1260"); + assert_choice_type(types::setup, type_, "discTF-IndexList-v1260"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "discTF-IndexList-v1260"); + assert_choice_type(types::setup, type_, "discTF-IndexList-v1260"); return c; } void set_release(); @@ -1965,22 +1965,22 @@ struct sl_disc_cfg_r12_s { // getters sl_disc_tx_cfg_sched_r13_s& sched_r13() { - assert_choice_type("scheduled-r13", type_.to_string(), "setup"); + assert_choice_type(types::sched_r13, type_, "setup"); return c.get(); } ue_sel_r13_s_& ue_sel_r13() { - assert_choice_type("ue-Selected-r13", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_r13, type_, "setup"); return c.get(); } const sl_disc_tx_cfg_sched_r13_s& sched_r13() const { - assert_choice_type("scheduled-r13", type_.to_string(), "setup"); + assert_choice_type(types::sched_r13, type_, "setup"); return c.get(); } const ue_sel_r13_s_& ue_sel_r13() const { - assert_choice_type("ue-Selected-r13", type_.to_string(), "setup"); + assert_choice_type(types::ue_sel_r13, type_, "setup"); return c.get(); } sl_disc_tx_cfg_sched_r13_s& set_sched_r13(); @@ -2004,12 +2004,12 @@ struct sl_disc_cfg_r12_s { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "discTxResourcesPS-r13"); + assert_choice_type(types::setup, type_, "discTxResourcesPS-r13"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "discTxResourcesPS-r13"); + assert_choice_type(types::setup, type_, "discTxResourcesPS-r13"); return c; } void set_release(); @@ -2040,12 +2040,12 @@ struct sl_disc_cfg_r12_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "discTxInterFreqInfo-r13"); + assert_choice_type(types::setup, type_, "discTxInterFreqInfo-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "discTxInterFreqInfo-r13"); + assert_choice_type(types::setup, type_, "discTxInterFreqInfo-r13"); return c; } void set_release(); @@ -2068,12 +2068,12 @@ struct sl_disc_cfg_r12_s { // getters sl_gap_cfg_r13_s& setup() { - assert_choice_type("setup", type_.to_string(), "discRxGapConfig-r13"); + assert_choice_type(types::setup, type_, "discRxGapConfig-r13"); return c; } const sl_gap_cfg_r13_s& setup() const { - assert_choice_type("setup", type_.to_string(), "discRxGapConfig-r13"); + assert_choice_type(types::setup, type_, "discRxGapConfig-r13"); return c; } void set_release(); @@ -2096,12 +2096,12 @@ struct sl_disc_cfg_r12_s { // getters sl_gap_cfg_r13_s& setup() { - assert_choice_type("setup", type_.to_string(), "discTxGapConfig-r13"); + assert_choice_type(types::setup, type_, "discTxGapConfig-r13"); return c; } const sl_gap_cfg_r13_s& setup() const { - assert_choice_type("setup", type_.to_string(), "discTxGapConfig-r13"); + assert_choice_type(types::setup, type_, "discTxGapConfig-r13"); return c; } void set_release(); @@ -2124,12 +2124,12 @@ struct sl_disc_cfg_r12_s { // getters sl_disc_sys_info_to_report_freq_list_r13_l& setup() { - assert_choice_type("setup", type_.to_string(), "discSysInfoToReportConfig-r13"); + assert_choice_type(types::setup, type_, "discSysInfoToReportConfig-r13"); return c; } const sl_disc_sys_info_to_report_freq_list_r13_l& setup() const { - assert_choice_type("setup", type_.to_string(), "discSysInfoToReportConfig-r13"); + assert_choice_type(types::setup, type_, "discSysInfoToReportConfig-r13"); return c; } void set_release(); @@ -2214,12 +2214,12 @@ struct rrc_conn_recfg_v1250_ies_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "wlan-OffloadInfo-r12"); + assert_choice_type(types::setup, type_, "wlan-OffloadInfo-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "wlan-OffloadInfo-r12"); + assert_choice_type(types::setup, type_, "wlan-OffloadInfo-r12"); return c; } void set_release(); @@ -2405,12 +2405,12 @@ struct idc_cfg_r11_s { // getters candidate_serving_freq_list_nr_r15_l& setup() { - assert_choice_type("setup", type_.to_string(), "idc-Indication-MRDC-r15"); + assert_choice_type(types::setup, type_, "idc-Indication-MRDC-r15"); return c; } const candidate_serving_freq_list_nr_r15_l& setup() const { - assert_choice_type("setup", type_.to_string(), "idc-Indication-MRDC-r15"); + assert_choice_type(types::setup, type_, "idc-Indication-MRDC-r15"); return c; } void set_release(); @@ -2496,12 +2496,12 @@ struct pwr_pref_ind_cfg_r11_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "PowerPrefIndicationConfig-r11"); + assert_choice_type(types::setup, type_, "PowerPrefIndicationConfig-r11"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "PowerPrefIndicationConfig-r11"); + assert_choice_type(types::setup, type_, "PowerPrefIndicationConfig-r11"); return c; } void set_release(); @@ -2696,12 +2696,12 @@ struct other_cfg_r9_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "delayBudgetReportingConfig-r14"); + assert_choice_type(types::setup, type_, "delayBudgetReportingConfig-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "delayBudgetReportingConfig-r14"); + assert_choice_type(types::setup, type_, "delayBudgetReportingConfig-r14"); return c; } void set_release(); @@ -2757,12 +2757,12 @@ struct other_cfg_r9_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "rlm-ReportConfig-r14"); + assert_choice_type(types::setup, type_, "rlm-ReportConfig-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "rlm-ReportConfig-r14"); + assert_choice_type(types::setup, type_, "rlm-ReportConfig-r14"); return c; } void set_release(); @@ -2817,12 +2817,12 @@ struct other_cfg_r9_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "overheatingAssistanceConfig-r14"); + assert_choice_type(types::setup, type_, "overheatingAssistanceConfig-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "overheatingAssistanceConfig-r14"); + assert_choice_type(types::setup, type_, "overheatingAssistanceConfig-r14"); return c; } void set_release(); @@ -2857,12 +2857,12 @@ struct other_cfg_r9_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "measConfigAppLayer-r15"); + assert_choice_type(types::setup, type_, "measConfigAppLayer-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "measConfigAppLayer-r15"); + assert_choice_type(types::setup, type_, "measConfigAppLayer-r15"); return c; } void set_release(); @@ -3086,42 +3086,42 @@ struct rrc_conn_release_v920_ies_s { // getters cell_info_list_geran_r9_l& geran_r9() { - assert_choice_type("geran-r9", type_.to_string(), "cellInfoList-r9"); + assert_choice_type(types::geran_r9, type_, "cellInfoList-r9"); return c.get(); } cell_info_list_utra_fdd_r9_l& utra_fdd_r9() { - assert_choice_type("utra-FDD-r9", type_.to_string(), "cellInfoList-r9"); + assert_choice_type(types::utra_fdd_r9, type_, "cellInfoList-r9"); return c.get(); } cell_info_list_utra_tdd_r9_l& utra_tdd_r9() { - assert_choice_type("utra-TDD-r9", type_.to_string(), "cellInfoList-r9"); + assert_choice_type(types::utra_tdd_r9, type_, "cellInfoList-r9"); return c.get(); } cell_info_list_utra_tdd_r10_l& utra_tdd_r10() { - assert_choice_type("utra-TDD-r10", type_.to_string(), "cellInfoList-r9"); + assert_choice_type(types::utra_tdd_r10, type_, "cellInfoList-r9"); return c.get(); } const cell_info_list_geran_r9_l& geran_r9() const { - assert_choice_type("geran-r9", type_.to_string(), "cellInfoList-r9"); + assert_choice_type(types::geran_r9, type_, "cellInfoList-r9"); return c.get(); } const cell_info_list_utra_fdd_r9_l& utra_fdd_r9() const { - assert_choice_type("utra-FDD-r9", type_.to_string(), "cellInfoList-r9"); + assert_choice_type(types::utra_fdd_r9, type_, "cellInfoList-r9"); return c.get(); } const cell_info_list_utra_tdd_r9_l& utra_tdd_r9() const { - assert_choice_type("utra-TDD-r9", type_.to_string(), "cellInfoList-r9"); + assert_choice_type(types::utra_tdd_r9, type_, "cellInfoList-r9"); return c.get(); } const cell_info_list_utra_tdd_r10_l& utra_tdd_r10() const { - assert_choice_type("utra-TDD-r10", type_.to_string(), "cellInfoList-r9"); + assert_choice_type(types::utra_tdd_r10, type_, "cellInfoList-r9"); return c.get(); } cell_info_list_geran_r9_l& set_geran_r9(); @@ -3191,22 +3191,22 @@ struct si_or_psi_geran_c { // getters sys_info_list_geran_l& si() { - assert_choice_type("si", type_.to_string(), "SI-OrPSI-GERAN"); + assert_choice_type(types::si, type_, "SI-OrPSI-GERAN"); return c.get(); } sys_info_list_geran_l& psi() { - assert_choice_type("psi", type_.to_string(), "SI-OrPSI-GERAN"); + assert_choice_type(types::psi, type_, "SI-OrPSI-GERAN"); return c.get(); } const sys_info_list_geran_l& si() const { - assert_choice_type("si", type_.to_string(), "SI-OrPSI-GERAN"); + assert_choice_type(types::si, type_, "SI-OrPSI-GERAN"); return c.get(); } const sys_info_list_geran_l& psi() const { - assert_choice_type("psi", type_.to_string(), "SI-OrPSI-GERAN"); + assert_choice_type(types::psi, type_, "SI-OrPSI-GERAN"); return c.get(); } sys_info_list_geran_l& set_si(); @@ -3256,22 +3256,22 @@ struct area_cfg_r10_c { // getters cell_global_id_list_r10_l& cell_global_id_list_r10() { - assert_choice_type("cellGlobalIdList-r10", type_.to_string(), "AreaConfiguration-r10"); + assert_choice_type(types::cell_global_id_list_r10, type_, "AreaConfiguration-r10"); return c.get(); } tac_list_r10_l& tac_list_r10() { - assert_choice_type("trackingAreaCodeList-r10", type_.to_string(), "AreaConfiguration-r10"); + assert_choice_type(types::tac_list_r10, type_, "AreaConfiguration-r10"); return c.get(); } const cell_global_id_list_r10_l& cell_global_id_list_r10() const { - assert_choice_type("cellGlobalIdList-r10", type_.to_string(), "AreaConfiguration-r10"); + assert_choice_type(types::cell_global_id_list_r10, type_, "AreaConfiguration-r10"); return c.get(); } const tac_list_r10_l& tac_list_r10() const { - assert_choice_type("trackingAreaCodeList-r10", type_.to_string(), "AreaConfiguration-r10"); + assert_choice_type(types::tac_list_r10, type_, "AreaConfiguration-r10"); return c.get(); } cell_global_id_list_r10_l& set_cell_global_id_list_r10(); @@ -3526,22 +3526,22 @@ struct rn_sf_cfg_r10_s { // getters fixed_bitstring<8>& sf_cfg_pattern_fdd_r10() { - assert_choice_type("subframeConfigPatternFDD-r10", type_.to_string(), "subframeConfigPattern-r10"); + assert_choice_type(types::sf_cfg_pattern_fdd_r10, type_, "subframeConfigPattern-r10"); return c.get >(); } uint8_t& sf_cfg_pattern_tdd_r10() { - assert_choice_type("subframeConfigPatternTDD-r10", type_.to_string(), "subframeConfigPattern-r10"); + assert_choice_type(types::sf_cfg_pattern_tdd_r10, type_, "subframeConfigPattern-r10"); return c.get(); } const fixed_bitstring<8>& sf_cfg_pattern_fdd_r10() const { - assert_choice_type("subframeConfigPatternFDD-r10", type_.to_string(), "subframeConfigPattern-r10"); + assert_choice_type(types::sf_cfg_pattern_fdd_r10, type_, "subframeConfigPattern-r10"); return c.get >(); } const uint8_t& sf_cfg_pattern_tdd_r10() const { - assert_choice_type("subframeConfigPatternTDD-r10", type_.to_string(), "subframeConfigPattern-r10"); + assert_choice_type(types::sf_cfg_pattern_tdd_r10, type_, "subframeConfigPattern-r10"); return c.get(); } fixed_bitstring<8>& set_sf_cfg_pattern_fdd_r10(); @@ -3584,62 +3584,62 @@ struct rn_sf_cfg_r10_s { // getters fixed_bitstring<6>& nrb6_r10() { - assert_choice_type("nrb6-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb6_r10, type_, "type01-r10"); return c.get >(); } fixed_bitstring<8>& nrb15_r10() { - assert_choice_type("nrb15-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb15_r10, type_, "type01-r10"); return c.get >(); } fixed_bitstring<13>& nrb25_r10() { - assert_choice_type("nrb25-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb25_r10, type_, "type01-r10"); return c.get >(); } fixed_bitstring<17>& nrb50_r10() { - assert_choice_type("nrb50-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb50_r10, type_, "type01-r10"); return c.get >(); } fixed_bitstring<19>& nrb75_r10() { - assert_choice_type("nrb75-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb75_r10, type_, "type01-r10"); return c.get >(); } fixed_bitstring<25>& nrb100_r10() { - assert_choice_type("nrb100-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb100_r10, type_, "type01-r10"); return c.get >(); } const fixed_bitstring<6>& nrb6_r10() const { - assert_choice_type("nrb6-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb6_r10, type_, "type01-r10"); return c.get >(); } const fixed_bitstring<8>& nrb15_r10() const { - assert_choice_type("nrb15-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb15_r10, type_, "type01-r10"); return c.get >(); } const fixed_bitstring<13>& nrb25_r10() const { - assert_choice_type("nrb25-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb25_r10, type_, "type01-r10"); return c.get >(); } const fixed_bitstring<17>& nrb50_r10() const { - assert_choice_type("nrb50-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb50_r10, type_, "type01-r10"); return c.get >(); } const fixed_bitstring<19>& nrb75_r10() const { - assert_choice_type("nrb75-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb75_r10, type_, "type01-r10"); return c.get >(); } const fixed_bitstring<25>& nrb100_r10() const { - assert_choice_type("nrb100-r10", type_.to_string(), "type01-r10"); + assert_choice_type(types::nrb100_r10, type_, "type01-r10"); return c.get >(); } fixed_bitstring<6>& set_nrb6_r10(); @@ -3678,62 +3678,62 @@ struct rn_sf_cfg_r10_s { // getters fixed_bitstring<5>& nrb6_r10() { - assert_choice_type("nrb6-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb6_r10, type_, "type2-r10"); return c.get >(); } fixed_bitstring<7>& nrb15_r10() { - assert_choice_type("nrb15-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb15_r10, type_, "type2-r10"); return c.get >(); } fixed_bitstring<9>& nrb25_r10() { - assert_choice_type("nrb25-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb25_r10, type_, "type2-r10"); return c.get >(); } fixed_bitstring<11>& nrb50_r10() { - assert_choice_type("nrb50-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb50_r10, type_, "type2-r10"); return c.get >(); } fixed_bitstring<12>& nrb75_r10() { - assert_choice_type("nrb75-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb75_r10, type_, "type2-r10"); return c.get >(); } fixed_bitstring<13>& nrb100_r10() { - assert_choice_type("nrb100-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb100_r10, type_, "type2-r10"); return c.get >(); } const fixed_bitstring<5>& nrb6_r10() const { - assert_choice_type("nrb6-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb6_r10, type_, "type2-r10"); return c.get >(); } const fixed_bitstring<7>& nrb15_r10() const { - assert_choice_type("nrb15-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb15_r10, type_, "type2-r10"); return c.get >(); } const fixed_bitstring<9>& nrb25_r10() const { - assert_choice_type("nrb25-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb25_r10, type_, "type2-r10"); return c.get >(); } const fixed_bitstring<11>& nrb50_r10() const { - assert_choice_type("nrb50-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb50_r10, type_, "type2-r10"); return c.get >(); } const fixed_bitstring<12>& nrb75_r10() const { - assert_choice_type("nrb75-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb75_r10, type_, "type2-r10"); return c.get >(); } const fixed_bitstring<13>& nrb100_r10() const { - assert_choice_type("nrb100-r10", type_.to_string(), "type2-r10"); + assert_choice_type(types::nrb100_r10, type_, "type2-r10"); return c.get >(); } fixed_bitstring<5>& set_nrb6_r10(); @@ -3772,22 +3772,22 @@ struct rn_sf_cfg_r10_s { // getters type01_r10_c_& type01_r10() { - assert_choice_type("type01-r10", type_.to_string(), "resourceBlockAssignment-r10"); + assert_choice_type(types::type01_r10, type_, "resourceBlockAssignment-r10"); return c.get(); } type2_r10_c_& type2_r10() { - assert_choice_type("type2-r10", type_.to_string(), "resourceBlockAssignment-r10"); + assert_choice_type(types::type2_r10, type_, "resourceBlockAssignment-r10"); return c.get(); } const type01_r10_c_& type01_r10() const { - assert_choice_type("type01-r10", type_.to_string(), "resourceBlockAssignment-r10"); + assert_choice_type(types::type01_r10, type_, "resourceBlockAssignment-r10"); return c.get(); } const type2_r10_c_& type2_r10() const { - assert_choice_type("type2-r10", type_.to_string(), "resourceBlockAssignment-r10"); + assert_choice_type(types::type2_r10, type_, "resourceBlockAssignment-r10"); return c.get(); } type01_r10_c_& set_type01_r10(); @@ -3823,12 +3823,12 @@ struct rn_sf_cfg_r10_s { // getters no_interleaving_r10_e_& no_interleaving_r10() { - assert_choice_type("noInterleaving-r10", type_.to_string(), "demodulationRS-r10"); + assert_choice_type(types::no_interleaving_r10, type_, "demodulationRS-r10"); return c; } const no_interleaving_r10_e_& no_interleaving_r10() const { - assert_choice_type("noInterleaving-r10", type_.to_string(), "demodulationRS-r10"); + assert_choice_type(types::no_interleaving_r10, type_, "demodulationRS-r10"); return c; } void set_interleaving_r10(); @@ -3873,22 +3873,22 @@ struct rn_sf_cfg_r10_s { // getters ch_sel_mux_bundling_s_& ch_sel_mux_bundling() { - assert_choice_type("channelSelectionMultiplexingBundling", type_.to_string(), "tdd"); + assert_choice_type(types::ch_sel_mux_bundling, type_, "tdd"); return c.get(); } fallback_for_format3_s_& fallback_for_format3() { - assert_choice_type("fallbackForFormat3", type_.to_string(), "tdd"); + assert_choice_type(types::fallback_for_format3, type_, "tdd"); return c.get(); } const ch_sel_mux_bundling_s_& ch_sel_mux_bundling() const { - assert_choice_type("channelSelectionMultiplexingBundling", type_.to_string(), "tdd"); + assert_choice_type(types::ch_sel_mux_bundling, type_, "tdd"); return c.get(); } const fallback_for_format3_s_& fallback_for_format3() const { - assert_choice_type("fallbackForFormat3", type_.to_string(), "tdd"); + assert_choice_type(types::fallback_for_format3, type_, "tdd"); return c.get(); } ch_sel_mux_bundling_s_& set_ch_sel_mux_bundling(); @@ -3925,22 +3925,22 @@ struct rn_sf_cfg_r10_s { // getters tdd_c_& tdd() { - assert_choice_type("tdd", type_.to_string(), "pucch-Config-r10"); + assert_choice_type(types::tdd, type_, "pucch-Config-r10"); return c.get(); } fdd_s_& fdd() { - assert_choice_type("fdd", type_.to_string(), "pucch-Config-r10"); + assert_choice_type(types::fdd, type_, "pucch-Config-r10"); return c.get(); } const tdd_c_& tdd() const { - assert_choice_type("tdd", type_.to_string(), "pucch-Config-r10"); + assert_choice_type(types::tdd, type_, "pucch-Config-r10"); return c.get(); } const fdd_s_& fdd() const { - assert_choice_type("fdd", type_.to_string(), "pucch-Config-r10"); + assert_choice_type(types::fdd, type_, "pucch-Config-r10"); return c.get(); } tdd_c_& set_tdd(); @@ -4064,82 +4064,82 @@ struct redirected_carrier_info_c { // getters uint32_t& eutra() { - assert_choice_type("eutra", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::eutra, type_, "RedirectedCarrierInfo"); return c.get(); } carrier_freqs_geran_s& geran() { - assert_choice_type("geran", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::geran, type_, "RedirectedCarrierInfo"); return c.get(); } uint16_t& utra_fdd() { - assert_choice_type("utra-FDD", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::utra_fdd, type_, "RedirectedCarrierInfo"); return c.get(); } uint16_t& utra_tdd() { - assert_choice_type("utra-TDD", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::utra_tdd, type_, "RedirectedCarrierInfo"); return c.get(); } carrier_freq_cdma2000_s& cdma2000_hrpd() { - assert_choice_type("cdma2000-HRPD", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::cdma2000_hrpd, type_, "RedirectedCarrierInfo"); return c.get(); } carrier_freq_cdma2000_s& cdma2000_minus1x_rtt() { - assert_choice_type("cdma2000-1xRTT", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::cdma2000_minus1x_rtt, type_, "RedirectedCarrierInfo"); return c.get(); } carrier_freq_list_utra_tdd_r10_l& utra_tdd_r10() { - assert_choice_type("utra-TDD-r10", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::utra_tdd_r10, type_, "RedirectedCarrierInfo"); return c.get(); } carrier_info_nr_r15_s& nr_r15() { - assert_choice_type("nr-r15", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::nr_r15, type_, "RedirectedCarrierInfo"); return c.get(); } const uint32_t& eutra() const { - assert_choice_type("eutra", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::eutra, type_, "RedirectedCarrierInfo"); return c.get(); } const carrier_freqs_geran_s& geran() const { - assert_choice_type("geran", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::geran, type_, "RedirectedCarrierInfo"); return c.get(); } const uint16_t& utra_fdd() const { - assert_choice_type("utra-FDD", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::utra_fdd, type_, "RedirectedCarrierInfo"); return c.get(); } const uint16_t& utra_tdd() const { - assert_choice_type("utra-TDD", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::utra_tdd, type_, "RedirectedCarrierInfo"); return c.get(); } const carrier_freq_cdma2000_s& cdma2000_hrpd() const { - assert_choice_type("cdma2000-HRPD", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::cdma2000_hrpd, type_, "RedirectedCarrierInfo"); return c.get(); } const carrier_freq_cdma2000_s& cdma2000_minus1x_rtt() const { - assert_choice_type("cdma2000-1xRTT", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::cdma2000_minus1x_rtt, type_, "RedirectedCarrierInfo"); return c.get(); } const carrier_freq_list_utra_tdd_r10_l& utra_tdd_r10() const { - assert_choice_type("utra-TDD-r10", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::utra_tdd_r10, type_, "RedirectedCarrierInfo"); return c.get(); } const carrier_info_nr_r15_s& nr_r15() const { - assert_choice_type("nr-r15", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::nr_r15, type_, "RedirectedCarrierInfo"); return c.get(); } uint32_t& set_eutra(); @@ -4231,32 +4231,32 @@ struct dl_info_transfer_r15_ies_s { // getters dyn_octstring& ded_info_nas_r15() { - assert_choice_type("dedicatedInfoNAS-r15", type_.to_string(), "dedicatedInfoType-r15"); + assert_choice_type(types::ded_info_nas_r15, type_, "dedicatedInfoType-r15"); return c.get(); } dyn_octstring& ded_info_cdma2000_minus1_xrtt_r15() { - assert_choice_type("dedicatedInfoCDMA2000-1XRTT-r15", type_.to_string(), "dedicatedInfoType-r15"); + assert_choice_type(types::ded_info_cdma2000_minus1_xrtt_r15, type_, "dedicatedInfoType-r15"); return c.get(); } dyn_octstring& ded_info_cdma2000_hrpd_r15() { - assert_choice_type("dedicatedInfoCDMA2000-HRPD-r15", type_.to_string(), "dedicatedInfoType-r15"); + assert_choice_type(types::ded_info_cdma2000_hrpd_r15, type_, "dedicatedInfoType-r15"); return c.get(); } const dyn_octstring& ded_info_nas_r15() const { - assert_choice_type("dedicatedInfoNAS-r15", type_.to_string(), "dedicatedInfoType-r15"); + assert_choice_type(types::ded_info_nas_r15, type_, "dedicatedInfoType-r15"); return c.get(); } const dyn_octstring& ded_info_cdma2000_minus1_xrtt_r15() const { - assert_choice_type("dedicatedInfoCDMA2000-1XRTT-r15", type_.to_string(), "dedicatedInfoType-r15"); + assert_choice_type(types::ded_info_cdma2000_minus1_xrtt_r15, type_, "dedicatedInfoType-r15"); return c.get(); } const dyn_octstring& ded_info_cdma2000_hrpd_r15() const { - assert_choice_type("dedicatedInfoCDMA2000-HRPD-r15", type_.to_string(), "dedicatedInfoType-r15"); + assert_choice_type(types::ded_info_cdma2000_hrpd_r15, type_, "dedicatedInfoType-r15"); return c.get(); } dyn_octstring& set_ded_info_nas_r15(); @@ -4307,32 +4307,32 @@ struct dl_info_transfer_r8_ies_s { // getters dyn_octstring& ded_info_nas() { - assert_choice_type("dedicatedInfoNAS", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_nas, type_, "dedicatedInfoType"); return c.get(); } dyn_octstring& ded_info_cdma2000_minus1_xrtt() { - assert_choice_type("dedicatedInfoCDMA2000-1XRTT", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_cdma2000_minus1_xrtt, type_, "dedicatedInfoType"); return c.get(); } dyn_octstring& ded_info_cdma2000_hrpd() { - assert_choice_type("dedicatedInfoCDMA2000-HRPD", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_cdma2000_hrpd, type_, "dedicatedInfoType"); return c.get(); } const dyn_octstring& ded_info_nas() const { - assert_choice_type("dedicatedInfoNAS", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_nas, type_, "dedicatedInfoType"); return c.get(); } const dyn_octstring& ded_info_cdma2000_minus1_xrtt() const { - assert_choice_type("dedicatedInfoCDMA2000-1XRTT", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_cdma2000_minus1_xrtt, type_, "dedicatedInfoType"); return c.get(); } const dyn_octstring& ded_info_cdma2000_hrpd() const { - assert_choice_type("dedicatedInfoCDMA2000-HRPD", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_cdma2000_hrpd, type_, "dedicatedInfoType"); return c.get(); } dyn_octstring& set_ded_info_nas(); @@ -4415,22 +4415,22 @@ struct mob_from_eutra_cmd_r8_ies_s { // getters ho_s& ho() { - assert_choice_type("handover", type_.to_string(), "purpose"); + assert_choice_type(types::ho, type_, "purpose"); return c.get(); } cell_change_order_s& cell_change_order() { - assert_choice_type("cellChangeOrder", type_.to_string(), "purpose"); + assert_choice_type(types::cell_change_order, type_, "purpose"); return c.get(); } const ho_s& ho() const { - assert_choice_type("handover", type_.to_string(), "purpose"); + assert_choice_type(types::ho, type_, "purpose"); return c.get(); } const cell_change_order_s& cell_change_order() const { - assert_choice_type("cellChangeOrder", type_.to_string(), "purpose"); + assert_choice_type(types::cell_change_order, type_, "purpose"); return c.get(); } ho_s& set_ho(); @@ -4478,32 +4478,32 @@ struct mob_from_eutra_cmd_r9_ies_s { // getters ho_s& ho() { - assert_choice_type("handover", type_.to_string(), "purpose"); + assert_choice_type(types::ho, type_, "purpose"); return c.get(); } cell_change_order_s& cell_change_order() { - assert_choice_type("cellChangeOrder", type_.to_string(), "purpose"); + assert_choice_type(types::cell_change_order, type_, "purpose"); return c.get(); } e_csfb_r9_s& e_csfb_r9() { - assert_choice_type("e-CSFB-r9", type_.to_string(), "purpose"); + assert_choice_type(types::e_csfb_r9, type_, "purpose"); return c.get(); } const ho_s& ho() const { - assert_choice_type("handover", type_.to_string(), "purpose"); + assert_choice_type(types::ho, type_, "purpose"); return c.get(); } const cell_change_order_s& cell_change_order() const { - assert_choice_type("cellChangeOrder", type_.to_string(), "purpose"); + assert_choice_type(types::cell_change_order, type_, "purpose"); return c.get(); } const e_csfb_r9_s& e_csfb_r9() const { - assert_choice_type("e-CSFB-r9", type_.to_string(), "purpose"); + assert_choice_type(types::e_csfb_r9, type_, "purpose"); return c.get(); } ho_s& set_ho(); @@ -4641,12 +4641,12 @@ struct csfb_params_resp_cdma2000_s { // getters csfb_params_resp_cdma2000_r8_ies_s& csfb_params_resp_cdma2000_r8() { - assert_choice_type("csfbParametersResponseCDMA2000-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::csfb_params_resp_cdma2000_r8, type_, "criticalExtensions"); return c; } const csfb_params_resp_cdma2000_r8_ies_s& csfb_params_resp_cdma2000_r8() const { - assert_choice_type("csfbParametersResponseCDMA2000-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::csfb_params_resp_cdma2000_r8, type_, "criticalExtensions"); return c; } csfb_params_resp_cdma2000_r8_ies_s& set_csfb_params_resp_cdma2000_r8(); @@ -4688,12 +4688,12 @@ struct counter_check_s { // getters counter_check_r8_ies_s& counter_check_r8() { - assert_choice_type("counterCheck-r8", type_.to_string(), "c1"); + assert_choice_type(types::counter_check_r8, type_, "c1"); return c; } const counter_check_r8_ies_s& counter_check_r8() const { - assert_choice_type("counterCheck-r8", type_.to_string(), "c1"); + assert_choice_type(types::counter_check_r8, type_, "c1"); return c; } counter_check_r8_ies_s& set_counter_check_r8(); @@ -4717,12 +4717,12 @@ struct counter_check_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4767,22 +4767,22 @@ struct dl_info_transfer_s { // getters dl_info_transfer_r8_ies_s& dl_info_transfer_r8() { - assert_choice_type("dlInformationTransfer-r8", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer_r8, type_, "c1"); return c.get(); } dl_info_transfer_r15_ies_s& dl_info_transfer_r15() { - assert_choice_type("dlInformationTransfer-r15", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer_r15, type_, "c1"); return c.get(); } const dl_info_transfer_r8_ies_s& dl_info_transfer_r8() const { - assert_choice_type("dlInformationTransfer-r8", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer_r8, type_, "c1"); return c.get(); } const dl_info_transfer_r15_ies_s& dl_info_transfer_r15() const { - assert_choice_type("dlInformationTransfer-r15", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer_r15, type_, "c1"); return c.get(); } dl_info_transfer_r8_ies_s& set_dl_info_transfer_r8(); @@ -4808,12 +4808,12 @@ struct dl_info_transfer_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4855,12 +4855,12 @@ struct ho_from_eutra_prep_request_s { // getters ho_from_eutra_prep_request_r8_ies_s& ho_from_eutra_prep_request_r8() { - assert_choice_type("handoverFromEUTRAPreparationRequest-r8", type_.to_string(), "c1"); + assert_choice_type(types::ho_from_eutra_prep_request_r8, type_, "c1"); return c; } const ho_from_eutra_prep_request_r8_ies_s& ho_from_eutra_prep_request_r8() const { - assert_choice_type("handoverFromEUTRAPreparationRequest-r8", type_.to_string(), "c1"); + assert_choice_type(types::ho_from_eutra_prep_request_r8, type_, "c1"); return c; } ho_from_eutra_prep_request_r8_ies_s& set_ho_from_eutra_prep_request_r8(); @@ -4884,12 +4884,12 @@ struct ho_from_eutra_prep_request_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4931,12 +4931,12 @@ struct logged_meas_cfg_r10_s { // getters logged_meas_cfg_r10_ies_s& logged_meas_cfg_r10() { - assert_choice_type("loggedMeasurementConfiguration-r10", type_.to_string(), "c1"); + assert_choice_type(types::logged_meas_cfg_r10, type_, "c1"); return c; } const logged_meas_cfg_r10_ies_s& logged_meas_cfg_r10() const { - assert_choice_type("loggedMeasurementConfiguration-r10", type_.to_string(), "c1"); + assert_choice_type(types::logged_meas_cfg_r10, type_, "c1"); return c; } logged_meas_cfg_r10_ies_s& set_logged_meas_cfg_r10(); @@ -4960,12 +4960,12 @@ struct logged_meas_cfg_r10_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -5009,22 +5009,22 @@ struct mob_from_eutra_cmd_s { // getters mob_from_eutra_cmd_r8_ies_s& mob_from_eutra_cmd_r8() { - assert_choice_type("mobilityFromEUTRACommand-r8", type_.to_string(), "c1"); + assert_choice_type(types::mob_from_eutra_cmd_r8, type_, "c1"); return c.get(); } mob_from_eutra_cmd_r9_ies_s& mob_from_eutra_cmd_r9() { - assert_choice_type("mobilityFromEUTRACommand-r9", type_.to_string(), "c1"); + assert_choice_type(types::mob_from_eutra_cmd_r9, type_, "c1"); return c.get(); } const mob_from_eutra_cmd_r8_ies_s& mob_from_eutra_cmd_r8() const { - assert_choice_type("mobilityFromEUTRACommand-r8", type_.to_string(), "c1"); + assert_choice_type(types::mob_from_eutra_cmd_r8, type_, "c1"); return c.get(); } const mob_from_eutra_cmd_r9_ies_s& mob_from_eutra_cmd_r9() const { - assert_choice_type("mobilityFromEUTRACommand-r9", type_.to_string(), "c1"); + assert_choice_type(types::mob_from_eutra_cmd_r9, type_, "c1"); return c.get(); } mob_from_eutra_cmd_r8_ies_s& set_mob_from_eutra_cmd_r8(); @@ -5050,12 +5050,12 @@ struct mob_from_eutra_cmd_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -5097,12 +5097,12 @@ struct rn_recfg_r10_s { // getters rn_recfg_r10_ies_s& rn_recfg_r10() { - assert_choice_type("rnReconfiguration-r10", type_.to_string(), "c1"); + assert_choice_type(types::rn_recfg_r10, type_, "c1"); return c; } const rn_recfg_r10_ies_s& rn_recfg_r10() const { - assert_choice_type("rnReconfiguration-r10", type_.to_string(), "c1"); + assert_choice_type(types::rn_recfg_r10, type_, "c1"); return c; } rn_recfg_r10_ies_s& set_rn_recfg_r10(); @@ -5126,12 +5126,12 @@ struct rn_recfg_r10_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -5173,12 +5173,12 @@ struct rrc_conn_recfg_s { // getters rrc_conn_recfg_r8_ies_s& rrc_conn_recfg_r8() { - assert_choice_type("rrcConnectionReconfiguration-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg_r8, type_, "c1"); return c; } const rrc_conn_recfg_r8_ies_s& rrc_conn_recfg_r8() const { - assert_choice_type("rrcConnectionReconfiguration-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg_r8, type_, "c1"); return c; } rrc_conn_recfg_r8_ies_s& set_rrc_conn_recfg_r8(); @@ -5206,12 +5206,12 @@ struct rrc_conn_recfg_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -5253,12 +5253,12 @@ struct rrc_conn_release_s { // getters rrc_conn_release_r8_ies_s& rrc_conn_release_r8() { - assert_choice_type("rrcConnectionRelease-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_release_r8, type_, "c1"); return c; } const rrc_conn_release_r8_ies_s& rrc_conn_release_r8() const { - assert_choice_type("rrcConnectionRelease-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_release_r8, type_, "c1"); return c; } rrc_conn_release_r8_ies_s& set_rrc_conn_release_r8(); @@ -5282,12 +5282,12 @@ struct rrc_conn_release_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -5329,12 +5329,12 @@ struct rrc_conn_resume_r13_s { // getters rrc_conn_resume_r13_ies_s& rrc_conn_resume_r13() { - assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_r13, type_, "c1"); return c; } const rrc_conn_resume_r13_ies_s& rrc_conn_resume_r13() const { - assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_r13, type_, "c1"); return c; } rrc_conn_resume_r13_ies_s& set_rrc_conn_resume_r13(); @@ -5358,12 +5358,12 @@ struct rrc_conn_resume_r13_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -5405,12 +5405,12 @@ struct ue_info_request_r9_s { // getters ue_info_request_r9_ies_s& ue_info_request_r9() { - assert_choice_type("ueInformationRequest-r9", type_.to_string(), "c1"); + assert_choice_type(types::ue_info_request_r9, type_, "c1"); return c; } const ue_info_request_r9_ies_s& ue_info_request_r9() const { - assert_choice_type("ueInformationRequest-r9", type_.to_string(), "c1"); + assert_choice_type(types::ue_info_request_r9, type_, "c1"); return c; } ue_info_request_r9_ies_s& set_ue_info_request_r9(); @@ -5434,12 +5434,12 @@ struct ue_info_request_r9_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -5503,132 +5503,132 @@ struct dl_dcch_msg_type_c { // getters csfb_params_resp_cdma2000_s& csfb_params_resp_cdma2000() { - assert_choice_type("csfbParametersResponseCDMA2000", type_.to_string(), "c1"); + assert_choice_type(types::csfb_params_resp_cdma2000, type_, "c1"); return c.get(); } dl_info_transfer_s& dl_info_transfer() { - assert_choice_type("dlInformationTransfer", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer, type_, "c1"); return c.get(); } ho_from_eutra_prep_request_s& ho_from_eutra_prep_request() { - assert_choice_type("handoverFromEUTRAPreparationRequest", type_.to_string(), "c1"); + assert_choice_type(types::ho_from_eutra_prep_request, type_, "c1"); return c.get(); } mob_from_eutra_cmd_s& mob_from_eutra_cmd() { - assert_choice_type("mobilityFromEUTRACommand", type_.to_string(), "c1"); + assert_choice_type(types::mob_from_eutra_cmd, type_, "c1"); return c.get(); } rrc_conn_recfg_s& rrc_conn_recfg() { - assert_choice_type("rrcConnectionReconfiguration", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg, type_, "c1"); return c.get(); } rrc_conn_release_s& rrc_conn_release() { - assert_choice_type("rrcConnectionRelease", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_release, type_, "c1"); return c.get(); } security_mode_cmd_s& security_mode_cmd() { - assert_choice_type("securityModeCommand", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_cmd, type_, "c1"); return c.get(); } ue_cap_enquiry_s& ue_cap_enquiry() { - assert_choice_type("ueCapabilityEnquiry", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_enquiry, type_, "c1"); return c.get(); } counter_check_s& counter_check() { - assert_choice_type("counterCheck", type_.to_string(), "c1"); + assert_choice_type(types::counter_check, type_, "c1"); return c.get(); } ue_info_request_r9_s& ue_info_request_r9() { - assert_choice_type("ueInformationRequest-r9", type_.to_string(), "c1"); + assert_choice_type(types::ue_info_request_r9, type_, "c1"); return c.get(); } logged_meas_cfg_r10_s& logged_meas_cfg_r10() { - assert_choice_type("loggedMeasurementConfiguration-r10", type_.to_string(), "c1"); + assert_choice_type(types::logged_meas_cfg_r10, type_, "c1"); return c.get(); } rn_recfg_r10_s& rn_recfg_r10() { - assert_choice_type("rnReconfiguration-r10", type_.to_string(), "c1"); + assert_choice_type(types::rn_recfg_r10, type_, "c1"); return c.get(); } rrc_conn_resume_r13_s& rrc_conn_resume_r13() { - assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_r13, type_, "c1"); return c.get(); } const csfb_params_resp_cdma2000_s& csfb_params_resp_cdma2000() const { - assert_choice_type("csfbParametersResponseCDMA2000", type_.to_string(), "c1"); + assert_choice_type(types::csfb_params_resp_cdma2000, type_, "c1"); return c.get(); } const dl_info_transfer_s& dl_info_transfer() const { - assert_choice_type("dlInformationTransfer", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer, type_, "c1"); return c.get(); } const ho_from_eutra_prep_request_s& ho_from_eutra_prep_request() const { - assert_choice_type("handoverFromEUTRAPreparationRequest", type_.to_string(), "c1"); + assert_choice_type(types::ho_from_eutra_prep_request, type_, "c1"); return c.get(); } const mob_from_eutra_cmd_s& mob_from_eutra_cmd() const { - assert_choice_type("mobilityFromEUTRACommand", type_.to_string(), "c1"); + assert_choice_type(types::mob_from_eutra_cmd, type_, "c1"); return c.get(); } const rrc_conn_recfg_s& rrc_conn_recfg() const { - assert_choice_type("rrcConnectionReconfiguration", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg, type_, "c1"); return c.get(); } const rrc_conn_release_s& rrc_conn_release() const { - assert_choice_type("rrcConnectionRelease", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_release, type_, "c1"); return c.get(); } const security_mode_cmd_s& security_mode_cmd() const { - assert_choice_type("securityModeCommand", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_cmd, type_, "c1"); return c.get(); } const ue_cap_enquiry_s& ue_cap_enquiry() const { - assert_choice_type("ueCapabilityEnquiry", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_enquiry, type_, "c1"); return c.get(); } const counter_check_s& counter_check() const { - assert_choice_type("counterCheck", type_.to_string(), "c1"); + assert_choice_type(types::counter_check, type_, "c1"); return c.get(); } const ue_info_request_r9_s& ue_info_request_r9() const { - assert_choice_type("ueInformationRequest-r9", type_.to_string(), "c1"); + assert_choice_type(types::ue_info_request_r9, type_, "c1"); return c.get(); } const logged_meas_cfg_r10_s& logged_meas_cfg_r10() const { - assert_choice_type("loggedMeasurementConfiguration-r10", type_.to_string(), "c1"); + assert_choice_type(types::logged_meas_cfg_r10, type_, "c1"); return c.get(); } const rn_recfg_r10_s& rn_recfg_r10() const { - assert_choice_type("rnReconfiguration-r10", type_.to_string(), "c1"); + assert_choice_type(types::rn_recfg_r10, type_, "c1"); return c.get(); } const rrc_conn_resume_r13_s& rrc_conn_resume_r13() const { - assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_r13, type_, "c1"); return c.get(); } csfb_params_resp_cdma2000_s& set_csfb_params_resp_cdma2000(); @@ -5686,12 +5686,12 @@ struct dl_dcch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "DL-DCCH-MessageType"); + assert_choice_type(types::c1, type_, "DL-DCCH-MessageType"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "DL-DCCH-MessageType"); + assert_choice_type(types::c1, type_, "DL-DCCH-MessageType"); return c; } c1_c_& set_c1(); @@ -5764,12 +5764,12 @@ struct scg_cfg_v13c0_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SCG-Configuration-v13c0"); + assert_choice_type(types::setup, type_, "SCG-Configuration-v13c0"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SCG-Configuration-v13c0"); + assert_choice_type(types::setup, type_, "SCG-Configuration-v13c0"); return c; } void set_release(); @@ -5855,12 +5855,12 @@ struct scg_cfg_v12f0_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SCG-Configuration-v12f0"); + assert_choice_type(types::setup, type_, "SCG-Configuration-v12f0"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SCG-Configuration-v12f0"); + assert_choice_type(types::setup, type_, "SCG-Configuration-v12f0"); return c; } void set_release(); diff --git a/lib/include/srsran/asn1/rrc/ho_cmd.h b/lib/include/srsran/asn1/rrc/ho_cmd.h index 98c261134..3b38cff61 100644 --- a/lib/include/srsran/asn1/rrc/ho_cmd.h +++ b/lib/include/srsran/asn1/rrc/ho_cmd.h @@ -129,12 +129,12 @@ struct scg_cfg_r12_s { // getters scg_cfg_r12_ies_s& scg_cfg_r12() { - assert_choice_type("scg-Config-r12", type_.to_string(), "c1"); + assert_choice_type(types::scg_cfg_r12, type_, "c1"); return c; } const scg_cfg_r12_ies_s& scg_cfg_r12() const { - assert_choice_type("scg-Config-r12", type_.to_string(), "c1"); + assert_choice_type(types::scg_cfg_r12, type_, "c1"); return c; } scg_cfg_r12_ies_s& set_scg_cfg_r12(); @@ -162,12 +162,12 @@ struct scg_cfg_r12_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -441,12 +441,12 @@ struct ho_cmd_s { // getters ho_cmd_r8_ies_s& ho_cmd_r8() { - assert_choice_type("handoverCommand-r8", type_.to_string(), "c1"); + assert_choice_type(types::ho_cmd_r8, type_, "c1"); return c; } const ho_cmd_r8_ies_s& ho_cmd_r8() const { - assert_choice_type("handoverCommand-r8", type_.to_string(), "c1"); + assert_choice_type(types::ho_cmd_r8, type_, "c1"); return c; } ho_cmd_r8_ies_s& set_ho_cmd_r8(); @@ -474,12 +474,12 @@ struct ho_cmd_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -758,12 +758,12 @@ struct ho_prep_info_s { // getters ho_prep_info_r8_ies_s& ho_prep_info_r8() { - assert_choice_type("handoverPreparationInformation-r8", type_.to_string(), "c1"); + assert_choice_type(types::ho_prep_info_r8, type_, "c1"); return c; } const ho_prep_info_r8_ies_s& ho_prep_info_r8() const { - assert_choice_type("handoverPreparationInformation-r8", type_.to_string(), "c1"); + assert_choice_type(types::ho_prep_info_r8, type_, "c1"); return c; } ho_prep_info_r8_ies_s& set_ho_prep_info_r8(); @@ -791,12 +791,12 @@ struct ho_prep_info_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -886,12 +886,12 @@ struct var_meas_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "speedStatePars"); + assert_choice_type(types::setup, type_, "speedStatePars"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "speedStatePars"); + assert_choice_type(types::setup, type_, "speedStatePars"); return c; } void set_release(); diff --git a/lib/include/srsran/asn1/rrc/meascfg.h b/lib/include/srsran/asn1/rrc/meascfg.h index 2006af567..f0f911de4 100644 --- a/lib/include/srsran/asn1/rrc/meascfg.h +++ b/lib/include/srsran/asn1/rrc/meascfg.h @@ -162,32 +162,32 @@ struct carrier_freqs_geran_s { // getters explicit_list_of_arfcns_l& explicit_list_of_arfcns() { - assert_choice_type("explicitListOfARFCNs", type_.to_string(), "followingARFCNs"); + assert_choice_type(types::explicit_list_of_arfcns, type_, "followingARFCNs"); return c.get(); } equally_spaced_arfcns_s_& equally_spaced_arfcns() { - assert_choice_type("equallySpacedARFCNs", type_.to_string(), "followingARFCNs"); + assert_choice_type(types::equally_spaced_arfcns, type_, "followingARFCNs"); return c.get(); } bounded_octstring<1, 16>& variable_bit_map_of_arfcns() { - assert_choice_type("variableBitMapOfARFCNs", type_.to_string(), "followingARFCNs"); + assert_choice_type(types::variable_bit_map_of_arfcns, type_, "followingARFCNs"); return c.get >(); } const explicit_list_of_arfcns_l& explicit_list_of_arfcns() const { - assert_choice_type("explicitListOfARFCNs", type_.to_string(), "followingARFCNs"); + assert_choice_type(types::explicit_list_of_arfcns, type_, "followingARFCNs"); return c.get(); } const equally_spaced_arfcns_s_& equally_spaced_arfcns() const { - assert_choice_type("equallySpacedARFCNs", type_.to_string(), "followingARFCNs"); + assert_choice_type(types::equally_spaced_arfcns, type_, "followingARFCNs"); return c.get(); } const bounded_octstring<1, 16>& variable_bit_map_of_arfcns() const { - assert_choice_type("variableBitMapOfARFCNs", type_.to_string(), "followingARFCNs"); + assert_choice_type(types::variable_bit_map_of_arfcns, type_, "followingARFCNs"); return c.get >(); } explicit_list_of_arfcns_l& set_explicit_list_of_arfcns(); @@ -252,62 +252,62 @@ struct mtc_ssb_nr_r15_s { // getters uint8_t& sf5_r15() { - assert_choice_type("sf5-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf5_r15, type_, "periodicityAndOffset-r15"); return c.get(); } uint8_t& sf10_r15() { - assert_choice_type("sf10-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf10_r15, type_, "periodicityAndOffset-r15"); return c.get(); } uint8_t& sf20_r15() { - assert_choice_type("sf20-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf20_r15, type_, "periodicityAndOffset-r15"); return c.get(); } uint8_t& sf40_r15() { - assert_choice_type("sf40-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf40_r15, type_, "periodicityAndOffset-r15"); return c.get(); } uint8_t& sf80_r15() { - assert_choice_type("sf80-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf80_r15, type_, "periodicityAndOffset-r15"); return c.get(); } uint8_t& sf160_r15() { - assert_choice_type("sf160-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf160_r15, type_, "periodicityAndOffset-r15"); return c.get(); } const uint8_t& sf5_r15() const { - assert_choice_type("sf5-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf5_r15, type_, "periodicityAndOffset-r15"); return c.get(); } const uint8_t& sf10_r15() const { - assert_choice_type("sf10-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf10_r15, type_, "periodicityAndOffset-r15"); return c.get(); } const uint8_t& sf20_r15() const { - assert_choice_type("sf20-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf20_r15, type_, "periodicityAndOffset-r15"); return c.get(); } const uint8_t& sf40_r15() const { - assert_choice_type("sf40-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf40_r15, type_, "periodicityAndOffset-r15"); return c.get(); } const uint8_t& sf80_r15() const { - assert_choice_type("sf80-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf80_r15, type_, "periodicityAndOffset-r15"); return c.get(); } const uint8_t& sf160_r15() const { - assert_choice_type("sf160-r15", type_.to_string(), "periodicityAndOffset-r15"); + assert_choice_type(types::sf160_r15, type_, "periodicityAndOffset-r15"); return c.get(); } uint8_t& set_sf5_r15(); @@ -387,32 +387,32 @@ struct ssb_to_measure_r15_c { // getters fixed_bitstring<4>& short_bitmap_r15() { - assert_choice_type("shortBitmap-r15", type_.to_string(), "SSB-ToMeasure-r15"); + assert_choice_type(types::short_bitmap_r15, type_, "SSB-ToMeasure-r15"); return c.get >(); } fixed_bitstring<8>& medium_bitmap_r15() { - assert_choice_type("mediumBitmap-r15", type_.to_string(), "SSB-ToMeasure-r15"); + assert_choice_type(types::medium_bitmap_r15, type_, "SSB-ToMeasure-r15"); return c.get >(); } fixed_bitstring<64>& long_bitmap_r15() { - assert_choice_type("longBitmap-r15", type_.to_string(), "SSB-ToMeasure-r15"); + assert_choice_type(types::long_bitmap_r15, type_, "SSB-ToMeasure-r15"); return c.get >(); } const fixed_bitstring<4>& short_bitmap_r15() const { - assert_choice_type("shortBitmap-r15", type_.to_string(), "SSB-ToMeasure-r15"); + assert_choice_type(types::short_bitmap_r15, type_, "SSB-ToMeasure-r15"); return c.get >(); } const fixed_bitstring<8>& medium_bitmap_r15() const { - assert_choice_type("mediumBitmap-r15", type_.to_string(), "SSB-ToMeasure-r15"); + assert_choice_type(types::medium_bitmap_r15, type_, "SSB-ToMeasure-r15"); return c.get >(); } const fixed_bitstring<64>& long_bitmap_r15() const { - assert_choice_type("longBitmap-r15", type_.to_string(), "SSB-ToMeasure-r15"); + assert_choice_type(types::long_bitmap_r15, type_, "SSB-ToMeasure-r15"); return c.get >(); } fixed_bitstring<4>& set_short_bitmap_r15(); @@ -665,12 +665,12 @@ struct bt_name_list_cfg_r15_c { // getters bt_name_list_r15_l& setup() { - assert_choice_type("setup", type_.to_string(), "BT-NameListConfig-r15"); + assert_choice_type(types::setup, type_, "BT-NameListConfig-r15"); return c; } const bt_name_list_r15_l& setup() const { - assert_choice_type("setup", type_.to_string(), "BT-NameListConfig-r15"); + assert_choice_type(types::setup, type_, "BT-NameListConfig-r15"); return c; } void set_release(); @@ -763,32 +763,32 @@ struct meas_ds_cfg_r12_c { // getters uint8_t& ms40_r12() { - assert_choice_type("ms40-r12", type_.to_string(), "dmtc-PeriodOffset-r12"); + assert_choice_type(types::ms40_r12, type_, "dmtc-PeriodOffset-r12"); return c.get(); } uint8_t& ms80_r12() { - assert_choice_type("ms80-r12", type_.to_string(), "dmtc-PeriodOffset-r12"); + assert_choice_type(types::ms80_r12, type_, "dmtc-PeriodOffset-r12"); return c.get(); } uint8_t& ms160_r12() { - assert_choice_type("ms160-r12", type_.to_string(), "dmtc-PeriodOffset-r12"); + assert_choice_type(types::ms160_r12, type_, "dmtc-PeriodOffset-r12"); return c.get(); } const uint8_t& ms40_r12() const { - assert_choice_type("ms40-r12", type_.to_string(), "dmtc-PeriodOffset-r12"); + assert_choice_type(types::ms40_r12, type_, "dmtc-PeriodOffset-r12"); return c.get(); } const uint8_t& ms80_r12() const { - assert_choice_type("ms80-r12", type_.to_string(), "dmtc-PeriodOffset-r12"); + assert_choice_type(types::ms80_r12, type_, "dmtc-PeriodOffset-r12"); return c.get(); } const uint8_t& ms160_r12() const { - assert_choice_type("ms160-r12", type_.to_string(), "dmtc-PeriodOffset-r12"); + assert_choice_type(types::ms160_r12, type_, "dmtc-PeriodOffset-r12"); return c.get(); } uint8_t& set_ms40_r12(); @@ -824,22 +824,22 @@ struct meas_ds_cfg_r12_c { // getters uint8_t& dur_fdd_r12() { - assert_choice_type("durationFDD-r12", type_.to_string(), "ds-OccasionDuration-r12"); + assert_choice_type(types::dur_fdd_r12, type_, "ds-OccasionDuration-r12"); return c.get(); } uint8_t& dur_tdd_r12() { - assert_choice_type("durationTDD-r12", type_.to_string(), "ds-OccasionDuration-r12"); + assert_choice_type(types::dur_tdd_r12, type_, "ds-OccasionDuration-r12"); return c.get(); } const uint8_t& dur_fdd_r12() const { - assert_choice_type("durationFDD-r12", type_.to_string(), "ds-OccasionDuration-r12"); + assert_choice_type(types::dur_fdd_r12, type_, "ds-OccasionDuration-r12"); return c.get(); } const uint8_t& dur_tdd_r12() const { - assert_choice_type("durationTDD-r12", type_.to_string(), "ds-OccasionDuration-r12"); + assert_choice_type(types::dur_tdd_r12, type_, "ds-OccasionDuration-r12"); return c.get(); } uint8_t& set_dur_fdd_r12(); @@ -876,12 +876,12 @@ struct meas_ds_cfg_r12_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "MeasDS-Config-r12"); + assert_choice_type(types::setup, type_, "MeasDS-Config-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "MeasDS-Config-r12"); + assert_choice_type(types::setup, type_, "MeasDS-Config-r12"); return c; } void set_release(); @@ -939,202 +939,202 @@ struct meas_gap_cfg_c { // getters uint8_t& gp0() { - assert_choice_type("gp0", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp0, type_, "gapOffset"); return c.get(); } uint8_t& gp1() { - assert_choice_type("gp1", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp1, type_, "gapOffset"); return c.get(); } uint8_t& gp2_r14() { - assert_choice_type("gp2-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp2_r14, type_, "gapOffset"); return c.get(); } uint8_t& gp3_r14() { - assert_choice_type("gp3-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp3_r14, type_, "gapOffset"); return c.get(); } uint8_t& gp_ncsg0_r14() { - assert_choice_type("gp-ncsg0-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_ncsg0_r14, type_, "gapOffset"); return c.get(); } uint8_t& gp_ncsg1_r14() { - assert_choice_type("gp-ncsg1-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_ncsg1_r14, type_, "gapOffset"); return c.get(); } uint8_t& gp_ncsg2_r14() { - assert_choice_type("gp-ncsg2-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_ncsg2_r14, type_, "gapOffset"); return c.get(); } uint8_t& gp_ncsg3_r14() { - assert_choice_type("gp-ncsg3-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_ncsg3_r14, type_, "gapOffset"); return c.get(); } uint16_t& gp_non_uniform1_r14() { - assert_choice_type("gp-nonUniform1-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_non_uniform1_r14, type_, "gapOffset"); return c.get(); } uint16_t& gp_non_uniform2_r14() { - assert_choice_type("gp-nonUniform2-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_non_uniform2_r14, type_, "gapOffset"); return c.get(); } uint16_t& gp_non_uniform3_r14() { - assert_choice_type("gp-nonUniform3-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_non_uniform3_r14, type_, "gapOffset"); return c.get(); } uint16_t& gp_non_uniform4_r14() { - assert_choice_type("gp-nonUniform4-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_non_uniform4_r14, type_, "gapOffset"); return c.get(); } uint8_t& gp4_r15() { - assert_choice_type("gp4-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp4_r15, type_, "gapOffset"); return c.get(); } uint8_t& gp5_r15() { - assert_choice_type("gp5-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp5_r15, type_, "gapOffset"); return c.get(); } uint8_t& gp6_r15() { - assert_choice_type("gp6-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp6_r15, type_, "gapOffset"); return c.get(); } uint8_t& gp7_r15() { - assert_choice_type("gp7-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp7_r15, type_, "gapOffset"); return c.get(); } uint8_t& gp8_r15() { - assert_choice_type("gp8-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp8_r15, type_, "gapOffset"); return c.get(); } uint8_t& gp9_r15() { - assert_choice_type("gp9-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp9_r15, type_, "gapOffset"); return c.get(); } uint8_t& gp10_r15() { - assert_choice_type("gp10-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp10_r15, type_, "gapOffset"); return c.get(); } uint8_t& gp11_r15() { - assert_choice_type("gp11-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp11_r15, type_, "gapOffset"); return c.get(); } const uint8_t& gp0() const { - assert_choice_type("gp0", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp0, type_, "gapOffset"); return c.get(); } const uint8_t& gp1() const { - assert_choice_type("gp1", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp1, type_, "gapOffset"); return c.get(); } const uint8_t& gp2_r14() const { - assert_choice_type("gp2-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp2_r14, type_, "gapOffset"); return c.get(); } const uint8_t& gp3_r14() const { - assert_choice_type("gp3-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp3_r14, type_, "gapOffset"); return c.get(); } const uint8_t& gp_ncsg0_r14() const { - assert_choice_type("gp-ncsg0-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_ncsg0_r14, type_, "gapOffset"); return c.get(); } const uint8_t& gp_ncsg1_r14() const { - assert_choice_type("gp-ncsg1-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_ncsg1_r14, type_, "gapOffset"); return c.get(); } const uint8_t& gp_ncsg2_r14() const { - assert_choice_type("gp-ncsg2-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_ncsg2_r14, type_, "gapOffset"); return c.get(); } const uint8_t& gp_ncsg3_r14() const { - assert_choice_type("gp-ncsg3-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_ncsg3_r14, type_, "gapOffset"); return c.get(); } const uint16_t& gp_non_uniform1_r14() const { - assert_choice_type("gp-nonUniform1-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_non_uniform1_r14, type_, "gapOffset"); return c.get(); } const uint16_t& gp_non_uniform2_r14() const { - assert_choice_type("gp-nonUniform2-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_non_uniform2_r14, type_, "gapOffset"); return c.get(); } const uint16_t& gp_non_uniform3_r14() const { - assert_choice_type("gp-nonUniform3-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_non_uniform3_r14, type_, "gapOffset"); return c.get(); } const uint16_t& gp_non_uniform4_r14() const { - assert_choice_type("gp-nonUniform4-r14", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp_non_uniform4_r14, type_, "gapOffset"); return c.get(); } const uint8_t& gp4_r15() const { - assert_choice_type("gp4-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp4_r15, type_, "gapOffset"); return c.get(); } const uint8_t& gp5_r15() const { - assert_choice_type("gp5-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp5_r15, type_, "gapOffset"); return c.get(); } const uint8_t& gp6_r15() const { - assert_choice_type("gp6-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp6_r15, type_, "gapOffset"); return c.get(); } const uint8_t& gp7_r15() const { - assert_choice_type("gp7-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp7_r15, type_, "gapOffset"); return c.get(); } const uint8_t& gp8_r15() const { - assert_choice_type("gp8-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp8_r15, type_, "gapOffset"); return c.get(); } const uint8_t& gp9_r15() const { - assert_choice_type("gp9-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp9_r15, type_, "gapOffset"); return c.get(); } const uint8_t& gp10_r15() const { - assert_choice_type("gp10-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp10_r15, type_, "gapOffset"); return c.get(); } const uint8_t& gp11_r15() const { - assert_choice_type("gp11-r15", type_.to_string(), "gapOffset"); + assert_choice_type(types::gp11_r15, type_, "gapOffset"); return c.get(); } uint8_t& set_gp0(); @@ -1180,12 +1180,12 @@ struct meas_gap_cfg_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "MeasGapConfig"); + assert_choice_type(types::setup, type_, "MeasGapConfig"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "MeasGapConfig"); + assert_choice_type(types::setup, type_, "MeasGapConfig"); return c; } void set_release(); @@ -1255,12 +1255,12 @@ struct meas_sf_pattern_cfg_neigh_r10_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "MeasSubframePatternConfigNeigh-r10"); + assert_choice_type(types::setup, type_, "MeasSubframePatternConfigNeigh-r10"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "MeasSubframePatternConfigNeigh-r10"); + assert_choice_type(types::setup, type_, "MeasSubframePatternConfigNeigh-r10"); return c; } void set_release(); @@ -1343,12 +1343,12 @@ struct rmtc_cfg_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "RMTC-Config-r13"); + assert_choice_type(types::setup, type_, "RMTC-Config-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "RMTC-Config-r13"); + assert_choice_type(types::setup, type_, "RMTC-Config-r13"); return c; } void set_release(); @@ -1384,12 +1384,12 @@ struct rs_cfg_ssb_nr_r15_s { // getters ssb_to_measure_r15_c& setup() { - assert_choice_type("setup", type_.to_string(), "ssb-ToMeasure-r15"); + assert_choice_type(types::setup, type_, "ssb-ToMeasure-r15"); return c; } const ssb_to_measure_r15_c& setup() const { - assert_choice_type("setup", type_.to_string(), "ssb-ToMeasure-r15"); + assert_choice_type(types::setup, type_, "ssb-ToMeasure-r15"); return c; } void set_release(); @@ -1432,12 +1432,12 @@ struct rsrq_range_cfg_r12_c { // getters int8_t& setup() { - assert_choice_type("setup", type_.to_string(), "RSRQ-RangeConfig-r12"); + assert_choice_type(types::setup, type_, "RSRQ-RangeConfig-r12"); return c; } const int8_t& setup() const { - assert_choice_type("setup", type_.to_string(), "RSRQ-RangeConfig-r12"); + assert_choice_type(types::setup, type_, "RSRQ-RangeConfig-r12"); return c; } void set_release(); @@ -1534,22 +1534,22 @@ struct thres_eutra_c { // getters uint8_t& thres_rsrp() { - assert_choice_type("threshold-RSRP", type_.to_string(), "ThresholdEUTRA"); + assert_choice_type(types::thres_rsrp, type_, "ThresholdEUTRA"); return c.get(); } uint8_t& thres_rsrq() { - assert_choice_type("threshold-RSRQ", type_.to_string(), "ThresholdEUTRA"); + assert_choice_type(types::thres_rsrq, type_, "ThresholdEUTRA"); return c.get(); } const uint8_t& thres_rsrp() const { - assert_choice_type("threshold-RSRP", type_.to_string(), "ThresholdEUTRA"); + assert_choice_type(types::thres_rsrp, type_, "ThresholdEUTRA"); return c.get(); } const uint8_t& thres_rsrq() const { - assert_choice_type("threshold-RSRQ", type_.to_string(), "ThresholdEUTRA"); + assert_choice_type(types::thres_rsrq, type_, "ThresholdEUTRA"); return c.get(); } uint8_t& set_thres_rsrp(); @@ -1586,32 +1586,32 @@ struct thres_nr_r15_c { // getters uint8_t& nr_rsrp_r15() { - assert_choice_type("nr-RSRP-r15", type_.to_string(), "ThresholdNR-r15"); + assert_choice_type(types::nr_rsrp_r15, type_, "ThresholdNR-r15"); return c.get(); } uint8_t& nr_rsrq_r15() { - assert_choice_type("nr-RSRQ-r15", type_.to_string(), "ThresholdNR-r15"); + assert_choice_type(types::nr_rsrq_r15, type_, "ThresholdNR-r15"); return c.get(); } uint8_t& nr_sinr_r15() { - assert_choice_type("nr-SINR-r15", type_.to_string(), "ThresholdNR-r15"); + assert_choice_type(types::nr_sinr_r15, type_, "ThresholdNR-r15"); return c.get(); } const uint8_t& nr_rsrp_r15() const { - assert_choice_type("nr-RSRP-r15", type_.to_string(), "ThresholdNR-r15"); + assert_choice_type(types::nr_rsrp_r15, type_, "ThresholdNR-r15"); return c.get(); } const uint8_t& nr_rsrq_r15() const { - assert_choice_type("nr-RSRQ-r15", type_.to_string(), "ThresholdNR-r15"); + assert_choice_type(types::nr_rsrq_r15, type_, "ThresholdNR-r15"); return c.get(); } const uint8_t& nr_sinr_r15() const { - assert_choice_type("nr-SINR-r15", type_.to_string(), "ThresholdNR-r15"); + assert_choice_type(types::nr_sinr_r15, type_, "ThresholdNR-r15"); return c.get(); } uint8_t& set_nr_rsrp_r15(); @@ -1651,22 +1651,22 @@ struct thres_utra_c { // getters int8_t& utra_rscp() { - assert_choice_type("utra-RSCP", type_.to_string(), "ThresholdUTRA"); + assert_choice_type(types::utra_rscp, type_, "ThresholdUTRA"); return c.get(); } uint8_t& utra_ec_n0() { - assert_choice_type("utra-EcN0", type_.to_string(), "ThresholdUTRA"); + assert_choice_type(types::utra_ec_n0, type_, "ThresholdUTRA"); return c.get(); } const int8_t& utra_rscp() const { - assert_choice_type("utra-RSCP", type_.to_string(), "ThresholdUTRA"); + assert_choice_type(types::utra_rscp, type_, "ThresholdUTRA"); return c.get(); } const uint8_t& utra_ec_n0() const { - assert_choice_type("utra-EcN0", type_.to_string(), "ThresholdUTRA"); + assert_choice_type(types::utra_ec_n0, type_, "ThresholdUTRA"); return c.get(); } int8_t& set_utra_rscp(); @@ -1757,12 +1757,12 @@ struct ul_delay_cfg_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "UL-DelayConfig-r13"); + assert_choice_type(types::setup, type_, "UL-DelayConfig-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "UL-DelayConfig-r13"); + assert_choice_type(types::setup, type_, "UL-DelayConfig-r13"); return c; } void set_release(); @@ -1819,12 +1819,12 @@ struct wlan_name_list_cfg_r15_c { // getters wlan_name_list_r15_l& setup() { - assert_choice_type("setup", type_.to_string(), "WLAN-NameListConfig-r15"); + assert_choice_type(types::setup, type_, "WLAN-NameListConfig-r15"); return c; } const wlan_name_list_r15_l& setup() const { - assert_choice_type("setup", type_.to_string(), "WLAN-NameListConfig-r15"); + assert_choice_type(types::setup, type_, "WLAN-NameListConfig-r15"); return c; } void set_release(); @@ -1899,12 +1899,12 @@ struct meas_obj_eutra_s { // getters setup_e_& setup() { - assert_choice_type("setup", type_.to_string(), "t312-r12"); + assert_choice_type(types::setup, type_, "t312-r12"); return c; } const setup_e_& setup() const { - assert_choice_type("setup", type_.to_string(), "t312-r12"); + assert_choice_type(types::setup, type_, "t312-r12"); return c; } void set_release(); @@ -2018,12 +2018,12 @@ struct meas_obj_nr_r15_s { // getters uint16_t& setup() { - assert_choice_type("setup", type_.to_string(), "bandNR-r15"); + assert_choice_type(types::setup, type_, "bandNR-r15"); return c; } const uint16_t& setup() const { - assert_choice_type("setup", type_.to_string(), "bandNR-r15"); + assert_choice_type(types::setup, type_, "bandNR-r15"); return c; } void set_release(); @@ -2093,22 +2093,22 @@ struct meas_obj_utra_s { // getters cells_to_add_mod_list_utra_fdd_l& cells_to_add_mod_list_utra_fdd() { - assert_choice_type("cellsToAddModListUTRA-FDD", type_.to_string(), "cellsToAddModList"); + assert_choice_type(types::cells_to_add_mod_list_utra_fdd, type_, "cellsToAddModList"); return c.get(); } cells_to_add_mod_list_utra_tdd_l& cells_to_add_mod_list_utra_tdd() { - assert_choice_type("cellsToAddModListUTRA-TDD", type_.to_string(), "cellsToAddModList"); + assert_choice_type(types::cells_to_add_mod_list_utra_tdd, type_, "cellsToAddModList"); return c.get(); } const cells_to_add_mod_list_utra_fdd_l& cells_to_add_mod_list_utra_fdd() const { - assert_choice_type("cellsToAddModListUTRA-FDD", type_.to_string(), "cellsToAddModList"); + assert_choice_type(types::cells_to_add_mod_list_utra_fdd, type_, "cellsToAddModList"); return c.get(); } const cells_to_add_mod_list_utra_tdd_l& cells_to_add_mod_list_utra_tdd() const { - assert_choice_type("cellsToAddModListUTRA-TDD", type_.to_string(), "cellsToAddModList"); + assert_choice_type(types::cells_to_add_mod_list_utra_tdd, type_, "cellsToAddModList"); return c.get(); } cells_to_add_mod_list_utra_fdd_l& set_cells_to_add_mod_list_utra_fdd(); @@ -2143,22 +2143,22 @@ struct meas_obj_utra_s { // getters uint16_t& utra_fdd() { - assert_choice_type("utra-FDD", type_.to_string(), "cellForWhichToReportCGI"); + assert_choice_type(types::utra_fdd, type_, "cellForWhichToReportCGI"); return c.get(); } uint8_t& utra_tdd() { - assert_choice_type("utra-TDD", type_.to_string(), "cellForWhichToReportCGI"); + assert_choice_type(types::utra_tdd, type_, "cellForWhichToReportCGI"); return c.get(); } const uint16_t& utra_fdd() const { - assert_choice_type("utra-FDD", type_.to_string(), "cellForWhichToReportCGI"); + assert_choice_type(types::utra_fdd, type_, "cellForWhichToReportCGI"); return c.get(); } const uint8_t& utra_tdd() const { - assert_choice_type("utra-TDD", type_.to_string(), "cellForWhichToReportCGI"); + assert_choice_type(types::utra_tdd, type_, "cellForWhichToReportCGI"); return c.get(); } uint16_t& set_utra_fdd(); @@ -2224,22 +2224,22 @@ struct meas_obj_wlan_r13_s { // getters band_ind_list_wlan_r13_l_& band_ind_list_wlan_r13() { - assert_choice_type("bandIndicatorListWLAN-r13", type_.to_string(), "carrierFreq-r13"); + assert_choice_type(types::band_ind_list_wlan_r13, type_, "carrierFreq-r13"); return c.get(); } carrier_info_list_wlan_r13_l_& carrier_info_list_wlan_r13() { - assert_choice_type("carrierInfoListWLAN-r13", type_.to_string(), "carrierFreq-r13"); + assert_choice_type(types::carrier_info_list_wlan_r13, type_, "carrierFreq-r13"); return c.get(); } const band_ind_list_wlan_r13_l_& band_ind_list_wlan_r13() const { - assert_choice_type("bandIndicatorListWLAN-r13", type_.to_string(), "carrierFreq-r13"); + assert_choice_type(types::band_ind_list_wlan_r13, type_, "carrierFreq-r13"); return c.get(); } const carrier_info_list_wlan_r13_l_& carrier_info_list_wlan_r13() const { - assert_choice_type("carrierInfoListWLAN-r13", type_.to_string(), "carrierFreq-r13"); + assert_choice_type(types::carrier_info_list_wlan_r13, type_, "carrierFreq-r13"); return c.get(); } band_ind_list_wlan_r13_l_& set_band_ind_list_wlan_r13(); @@ -2367,122 +2367,122 @@ struct eutra_event_s { // getters event_a1_s_& event_a1() { - assert_choice_type("eventA1", type_.to_string(), "eventId"); + assert_choice_type(types::event_a1, type_, "eventId"); return c.get(); } event_a2_s_& event_a2() { - assert_choice_type("eventA2", type_.to_string(), "eventId"); + assert_choice_type(types::event_a2, type_, "eventId"); return c.get(); } event_a3_s_& event_a3() { - assert_choice_type("eventA3", type_.to_string(), "eventId"); + assert_choice_type(types::event_a3, type_, "eventId"); return c.get(); } event_a4_s_& event_a4() { - assert_choice_type("eventA4", type_.to_string(), "eventId"); + assert_choice_type(types::event_a4, type_, "eventId"); return c.get(); } event_a5_s_& event_a5() { - assert_choice_type("eventA5", type_.to_string(), "eventId"); + assert_choice_type(types::event_a5, type_, "eventId"); return c.get(); } event_a6_r10_s_& event_a6_r10() { - assert_choice_type("eventA6-r10", type_.to_string(), "eventId"); + assert_choice_type(types::event_a6_r10, type_, "eventId"); return c.get(); } event_c1_r12_s_& event_c1_r12() { - assert_choice_type("eventC1-r12", type_.to_string(), "eventId"); + assert_choice_type(types::event_c1_r12, type_, "eventId"); return c.get(); } event_c2_r12_s_& event_c2_r12() { - assert_choice_type("eventC2-r12", type_.to_string(), "eventId"); + assert_choice_type(types::event_c2_r12, type_, "eventId"); return c.get(); } event_v1_r14_s_& event_v1_r14() { - assert_choice_type("eventV1-r14", type_.to_string(), "eventId"); + assert_choice_type(types::event_v1_r14, type_, "eventId"); return c.get(); } event_v2_r14_s_& event_v2_r14() { - assert_choice_type("eventV2-r14", type_.to_string(), "eventId"); + assert_choice_type(types::event_v2_r14, type_, "eventId"); return c.get(); } event_h1_r15_s_& event_h1_r15() { - assert_choice_type("eventH1-r15", type_.to_string(), "eventId"); + assert_choice_type(types::event_h1_r15, type_, "eventId"); return c.get(); } event_h2_r15_s_& event_h2_r15() { - assert_choice_type("eventH2-r15", type_.to_string(), "eventId"); + assert_choice_type(types::event_h2_r15, type_, "eventId"); return c.get(); } const event_a1_s_& event_a1() const { - assert_choice_type("eventA1", type_.to_string(), "eventId"); + assert_choice_type(types::event_a1, type_, "eventId"); return c.get(); } const event_a2_s_& event_a2() const { - assert_choice_type("eventA2", type_.to_string(), "eventId"); + assert_choice_type(types::event_a2, type_, "eventId"); return c.get(); } const event_a3_s_& event_a3() const { - assert_choice_type("eventA3", type_.to_string(), "eventId"); + assert_choice_type(types::event_a3, type_, "eventId"); return c.get(); } const event_a4_s_& event_a4() const { - assert_choice_type("eventA4", type_.to_string(), "eventId"); + assert_choice_type(types::event_a4, type_, "eventId"); return c.get(); } const event_a5_s_& event_a5() const { - assert_choice_type("eventA5", type_.to_string(), "eventId"); + assert_choice_type(types::event_a5, type_, "eventId"); return c.get(); } const event_a6_r10_s_& event_a6_r10() const { - assert_choice_type("eventA6-r10", type_.to_string(), "eventId"); + assert_choice_type(types::event_a6_r10, type_, "eventId"); return c.get(); } const event_c1_r12_s_& event_c1_r12() const { - assert_choice_type("eventC1-r12", type_.to_string(), "eventId"); + assert_choice_type(types::event_c1_r12, type_, "eventId"); return c.get(); } const event_c2_r12_s_& event_c2_r12() const { - assert_choice_type("eventC2-r12", type_.to_string(), "eventId"); + assert_choice_type(types::event_c2_r12, type_, "eventId"); return c.get(); } const event_v1_r14_s_& event_v1_r14() const { - assert_choice_type("eventV1-r14", type_.to_string(), "eventId"); + assert_choice_type(types::event_v1_r14, type_, "eventId"); return c.get(); } const event_v2_r14_s_& event_v2_r14() const { - assert_choice_type("eventV2-r14", type_.to_string(), "eventId"); + assert_choice_type(types::event_v2_r14, type_, "eventId"); return c.get(); } const event_h1_r15_s_& event_h1_r15() const { - assert_choice_type("eventH1-r15", type_.to_string(), "eventId"); + assert_choice_type(types::event_h1_r15, type_, "eventId"); return c.get(); } const event_h2_r15_s_& event_h2_r15() const { - assert_choice_type("eventH2-r15", type_.to_string(), "eventId"); + assert_choice_type(types::event_h2_r15, type_, "eventId"); return c.get(); } event_a1_s_& set_event_a1(); @@ -2567,22 +2567,22 @@ struct report_cfg_eutra_s { // getters event_s_& event() { - assert_choice_type("event", type_.to_string(), "triggerType"); + assert_choice_type(types::event, type_, "triggerType"); return c.get(); } periodical_s_& periodical() { - assert_choice_type("periodical", type_.to_string(), "triggerType"); + assert_choice_type(types::periodical, type_, "triggerType"); return c.get(); } const event_s_& event() const { - assert_choice_type("event", type_.to_string(), "triggerType"); + assert_choice_type(types::event, type_, "triggerType"); return c.get(); } const periodical_s_& periodical() const { - assert_choice_type("periodical", type_.to_string(), "triggerType"); + assert_choice_type(types::periodical, type_, "triggerType"); return c.get(); } event_s_& set_event(); @@ -2629,12 +2629,12 @@ struct report_cfg_eutra_s { // getters time_to_trigger_e& setup() { - assert_choice_type("setup", type_.to_string(), "alternativeTimeToTrigger-r12"); + assert_choice_type(types::setup, type_, "alternativeTimeToTrigger-r12"); return c; } const time_to_trigger_e& setup() const { - assert_choice_type("setup", type_.to_string(), "alternativeTimeToTrigger-r12"); + assert_choice_type(types::setup, type_, "alternativeTimeToTrigger-r12"); return c; } void set_release(); @@ -2675,12 +2675,12 @@ struct report_cfg_eutra_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "rs-sinr-Config-r13"); + assert_choice_type(types::setup, type_, "rs-sinr-Config-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "rs-sinr-Config-r13"); + assert_choice_type(types::setup, type_, "rs-sinr-Config-r13"); return c; } void set_release(); @@ -2790,32 +2790,32 @@ struct report_cfg_inter_rat_s { // getters thres_utra_c& b1_thres_utra() { - assert_choice_type("b1-ThresholdUTRA", type_.to_string(), "b1-Threshold"); + assert_choice_type(types::b1_thres_utra, type_, "b1-Threshold"); return c.get(); } uint8_t& b1_thres_geran() { - assert_choice_type("b1-ThresholdGERAN", type_.to_string(), "b1-Threshold"); + assert_choice_type(types::b1_thres_geran, type_, "b1-Threshold"); return c.get(); } uint8_t& b1_thres_cdma2000() { - assert_choice_type("b1-ThresholdCDMA2000", type_.to_string(), "b1-Threshold"); + assert_choice_type(types::b1_thres_cdma2000, type_, "b1-Threshold"); return c.get(); } const thres_utra_c& b1_thres_utra() const { - assert_choice_type("b1-ThresholdUTRA", type_.to_string(), "b1-Threshold"); + assert_choice_type(types::b1_thres_utra, type_, "b1-Threshold"); return c.get(); } const uint8_t& b1_thres_geran() const { - assert_choice_type("b1-ThresholdGERAN", type_.to_string(), "b1-Threshold"); + assert_choice_type(types::b1_thres_geran, type_, "b1-Threshold"); return c.get(); } const uint8_t& b1_thres_cdma2000() const { - assert_choice_type("b1-ThresholdCDMA2000", type_.to_string(), "b1-Threshold"); + assert_choice_type(types::b1_thres_cdma2000, type_, "b1-Threshold"); return c.get(); } thres_utra_c& set_b1_thres_utra(); @@ -2856,32 +2856,32 @@ struct report_cfg_inter_rat_s { // getters thres_utra_c& b2_thres2_utra() { - assert_choice_type("b2-Threshold2UTRA", type_.to_string(), "b2-Threshold2"); + assert_choice_type(types::b2_thres2_utra, type_, "b2-Threshold2"); return c.get(); } uint8_t& b2_thres2_geran() { - assert_choice_type("b2-Threshold2GERAN", type_.to_string(), "b2-Threshold2"); + assert_choice_type(types::b2_thres2_geran, type_, "b2-Threshold2"); return c.get(); } uint8_t& b2_thres2_cdma2000() { - assert_choice_type("b2-Threshold2CDMA2000", type_.to_string(), "b2-Threshold2"); + assert_choice_type(types::b2_thres2_cdma2000, type_, "b2-Threshold2"); return c.get(); } const thres_utra_c& b2_thres2_utra() const { - assert_choice_type("b2-Threshold2UTRA", type_.to_string(), "b2-Threshold2"); + assert_choice_type(types::b2_thres2_utra, type_, "b2-Threshold2"); return c.get(); } const uint8_t& b2_thres2_geran() const { - assert_choice_type("b2-Threshold2GERAN", type_.to_string(), "b2-Threshold2"); + assert_choice_type(types::b2_thres2_geran, type_, "b2-Threshold2"); return c.get(); } const uint8_t& b2_thres2_cdma2000() const { - assert_choice_type("b2-Threshold2CDMA2000", type_.to_string(), "b2-Threshold2"); + assert_choice_type(types::b2_thres2_cdma2000, type_, "b2-Threshold2"); return c.get(); } thres_utra_c& set_b2_thres2_utra(); @@ -2950,72 +2950,72 @@ struct report_cfg_inter_rat_s { // getters event_b1_s_& event_b1() { - assert_choice_type("eventB1", type_.to_string(), "eventId"); + assert_choice_type(types::event_b1, type_, "eventId"); return c.get(); } event_b2_s_& event_b2() { - assert_choice_type("eventB2", type_.to_string(), "eventId"); + assert_choice_type(types::event_b2, type_, "eventId"); return c.get(); } event_w1_r13_s_& event_w1_r13() { - assert_choice_type("eventW1-r13", type_.to_string(), "eventId"); + assert_choice_type(types::event_w1_r13, type_, "eventId"); return c.get(); } event_w2_r13_s_& event_w2_r13() { - assert_choice_type("eventW2-r13", type_.to_string(), "eventId"); + assert_choice_type(types::event_w2_r13, type_, "eventId"); return c.get(); } event_w3_r13_s_& event_w3_r13() { - assert_choice_type("eventW3-r13", type_.to_string(), "eventId"); + assert_choice_type(types::event_w3_r13, type_, "eventId"); return c.get(); } event_b1_nr_r15_s_& event_b1_nr_r15() { - assert_choice_type("eventB1-NR-r15", type_.to_string(), "eventId"); + assert_choice_type(types::event_b1_nr_r15, type_, "eventId"); return c.get(); } event_b2_nr_r15_s_& event_b2_nr_r15() { - assert_choice_type("eventB2-NR-r15", type_.to_string(), "eventId"); + assert_choice_type(types::event_b2_nr_r15, type_, "eventId"); return c.get(); } const event_b1_s_& event_b1() const { - assert_choice_type("eventB1", type_.to_string(), "eventId"); + assert_choice_type(types::event_b1, type_, "eventId"); return c.get(); } const event_b2_s_& event_b2() const { - assert_choice_type("eventB2", type_.to_string(), "eventId"); + assert_choice_type(types::event_b2, type_, "eventId"); return c.get(); } const event_w1_r13_s_& event_w1_r13() const { - assert_choice_type("eventW1-r13", type_.to_string(), "eventId"); + assert_choice_type(types::event_w1_r13, type_, "eventId"); return c.get(); } const event_w2_r13_s_& event_w2_r13() const { - assert_choice_type("eventW2-r13", type_.to_string(), "eventId"); + assert_choice_type(types::event_w2_r13, type_, "eventId"); return c.get(); } const event_w3_r13_s_& event_w3_r13() const { - assert_choice_type("eventW3-r13", type_.to_string(), "eventId"); + assert_choice_type(types::event_w3_r13, type_, "eventId"); return c.get(); } const event_b1_nr_r15_s_& event_b1_nr_r15() const { - assert_choice_type("eventB1-NR-r15", type_.to_string(), "eventId"); + assert_choice_type(types::event_b1_nr_r15, type_, "eventId"); return c.get(); } const event_b2_nr_r15_s_& event_b2_nr_r15() const { - assert_choice_type("eventB2-NR-r15", type_.to_string(), "eventId"); + assert_choice_type(types::event_b2_nr_r15, type_, "eventId"); return c.get(); } event_b1_s_& set_event_b1(); @@ -3078,22 +3078,22 @@ struct report_cfg_inter_rat_s { // getters event_s_& event() { - assert_choice_type("event", type_.to_string(), "triggerType"); + assert_choice_type(types::event, type_, "triggerType"); return c.get(); } periodical_s_& periodical() { - assert_choice_type("periodical", type_.to_string(), "triggerType"); + assert_choice_type(types::periodical, type_, "triggerType"); return c.get(); } const event_s_& event() const { - assert_choice_type("event", type_.to_string(), "triggerType"); + assert_choice_type(types::event, type_, "triggerType"); return c.get(); } const periodical_s_& periodical() const { - assert_choice_type("periodical", type_.to_string(), "triggerType"); + assert_choice_type(types::periodical, type_, "triggerType"); return c.get(); } event_s_& set_event(); @@ -3128,12 +3128,12 @@ struct report_cfg_inter_rat_s { // getters int8_t& setup() { - assert_choice_type("setup", type_.to_string(), "b2-Threshold1-v1250"); + assert_choice_type(types::setup, type_, "b2-Threshold1-v1250"); return c; } const int8_t& setup() const { - assert_choice_type("setup", type_.to_string(), "b2-Threshold1-v1250"); + assert_choice_type(types::setup, type_, "b2-Threshold1-v1250"); return c; } void set_release(); @@ -3268,62 +3268,62 @@ struct meas_obj_to_add_mod_s { // getters meas_obj_eutra_s& meas_obj_eutra() { - assert_choice_type("measObjectEUTRA", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_eutra, type_, "measObject"); return c.get(); } meas_obj_utra_s& meas_obj_utra() { - assert_choice_type("measObjectUTRA", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_utra, type_, "measObject"); return c.get(); } meas_obj_geran_s& meas_obj_geran() { - assert_choice_type("measObjectGERAN", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_geran, type_, "measObject"); return c.get(); } meas_obj_cdma2000_s& meas_obj_cdma2000() { - assert_choice_type("measObjectCDMA2000", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_cdma2000, type_, "measObject"); return c.get(); } meas_obj_wlan_r13_s& meas_obj_wlan_r13() { - assert_choice_type("measObjectWLAN-r13", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_wlan_r13, type_, "measObject"); return c.get(); } meas_obj_nr_r15_s& meas_obj_nr_r15() { - assert_choice_type("measObjectNR-r15", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_nr_r15, type_, "measObject"); return c.get(); } const meas_obj_eutra_s& meas_obj_eutra() const { - assert_choice_type("measObjectEUTRA", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_eutra, type_, "measObject"); return c.get(); } const meas_obj_utra_s& meas_obj_utra() const { - assert_choice_type("measObjectUTRA", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_utra, type_, "measObject"); return c.get(); } const meas_obj_geran_s& meas_obj_geran() const { - assert_choice_type("measObjectGERAN", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_geran, type_, "measObject"); return c.get(); } const meas_obj_cdma2000_s& meas_obj_cdma2000() const { - assert_choice_type("measObjectCDMA2000", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_cdma2000, type_, "measObject"); return c.get(); } const meas_obj_wlan_r13_s& meas_obj_wlan_r13() const { - assert_choice_type("measObjectWLAN-r13", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_wlan_r13, type_, "measObject"); return c.get(); } const meas_obj_nr_r15_s& meas_obj_nr_r15() const { - assert_choice_type("measObjectNR-r15", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_nr_r15, type_, "measObject"); return c.get(); } meas_obj_eutra_s& set_meas_obj_eutra(); @@ -3403,62 +3403,62 @@ struct meas_obj_to_add_mod_ext_r13_s { // getters meas_obj_eutra_s& meas_obj_eutra_r13() { - assert_choice_type("measObjectEUTRA-r13", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_eutra_r13, type_, "measObject-r13"); return c.get(); } meas_obj_utra_s& meas_obj_utra_r13() { - assert_choice_type("measObjectUTRA-r13", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_utra_r13, type_, "measObject-r13"); return c.get(); } meas_obj_geran_s& meas_obj_geran_r13() { - assert_choice_type("measObjectGERAN-r13", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_geran_r13, type_, "measObject-r13"); return c.get(); } meas_obj_cdma2000_s& meas_obj_cdma2000_r13() { - assert_choice_type("measObjectCDMA2000-r13", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_cdma2000_r13, type_, "measObject-r13"); return c.get(); } meas_obj_wlan_r13_s& meas_obj_wlan_v1320() { - assert_choice_type("measObjectWLAN-v1320", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_wlan_v1320, type_, "measObject-r13"); return c.get(); } meas_obj_nr_r15_s& meas_obj_nr_r15() { - assert_choice_type("measObjectNR-r15", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_nr_r15, type_, "measObject-r13"); return c.get(); } const meas_obj_eutra_s& meas_obj_eutra_r13() const { - assert_choice_type("measObjectEUTRA-r13", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_eutra_r13, type_, "measObject-r13"); return c.get(); } const meas_obj_utra_s& meas_obj_utra_r13() const { - assert_choice_type("measObjectUTRA-r13", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_utra_r13, type_, "measObject-r13"); return c.get(); } const meas_obj_geran_s& meas_obj_geran_r13() const { - assert_choice_type("measObjectGERAN-r13", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_geran_r13, type_, "measObject-r13"); return c.get(); } const meas_obj_cdma2000_s& meas_obj_cdma2000_r13() const { - assert_choice_type("measObjectCDMA2000-r13", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_cdma2000_r13, type_, "measObject-r13"); return c.get(); } const meas_obj_wlan_r13_s& meas_obj_wlan_v1320() const { - assert_choice_type("measObjectWLAN-v1320", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_wlan_v1320, type_, "measObject-r13"); return c.get(); } const meas_obj_nr_r15_s& meas_obj_nr_r15() const { - assert_choice_type("measObjectNR-r15", type_.to_string(), "measObject-r13"); + assert_choice_type(types::meas_obj_nr_r15, type_, "measObject-r13"); return c.get(); } meas_obj_eutra_s& set_meas_obj_eutra_r13(); @@ -3643,22 +3643,22 @@ struct report_cfg_to_add_mod_s { // getters report_cfg_eutra_s& report_cfg_eutra() { - assert_choice_type("reportConfigEUTRA", type_.to_string(), "reportConfig"); + assert_choice_type(types::report_cfg_eutra, type_, "reportConfig"); return c.get(); } report_cfg_inter_rat_s& report_cfg_inter_rat() { - assert_choice_type("reportConfigInterRAT", type_.to_string(), "reportConfig"); + assert_choice_type(types::report_cfg_inter_rat, type_, "reportConfig"); return c.get(); } const report_cfg_eutra_s& report_cfg_eutra() const { - assert_choice_type("reportConfigEUTRA", type_.to_string(), "reportConfig"); + assert_choice_type(types::report_cfg_eutra, type_, "reportConfig"); return c.get(); } const report_cfg_inter_rat_s& report_cfg_inter_rat() const { - assert_choice_type("reportConfigInterRAT", type_.to_string(), "reportConfig"); + assert_choice_type(types::report_cfg_inter_rat, type_, "reportConfig"); return c.get(); } report_cfg_eutra_s& set_report_cfg_eutra(); @@ -3733,212 +3733,212 @@ struct meas_gap_cfg_dense_prs_r15_c { // getters uint8_t& rstd0_r15() { - assert_choice_type("rstd0-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd0_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint8_t& rstd1_r15() { - assert_choice_type("rstd1-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd1_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd2_r15() { - assert_choice_type("rstd2-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd2_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd3_r15() { - assert_choice_type("rstd3-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd3_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd4_r15() { - assert_choice_type("rstd4-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd4_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint8_t& rstd5_r15() { - assert_choice_type("rstd5-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd5_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd6_r15() { - assert_choice_type("rstd6-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd6_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd7_r15() { - assert_choice_type("rstd7-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd7_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd8_r15() { - assert_choice_type("rstd8-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd8_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd9_r15() { - assert_choice_type("rstd9-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd9_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd10_r15() { - assert_choice_type("rstd10-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd10_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd11_r15() { - assert_choice_type("rstd11-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd11_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd12_r15() { - assert_choice_type("rstd12-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd12_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd13_r15() { - assert_choice_type("rstd13-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd13_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd14_r15() { - assert_choice_type("rstd14-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd14_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd15_r15() { - assert_choice_type("rstd15-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd15_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd16_r15() { - assert_choice_type("rstd16-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd16_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd17_r15() { - assert_choice_type("rstd17-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd17_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd18_r15() { - assert_choice_type("rstd18-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd18_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd19_r15() { - assert_choice_type("rstd19-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd19_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint16_t& rstd20_r15() { - assert_choice_type("rstd20-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd20_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint8_t& rstd0_r15() const { - assert_choice_type("rstd0-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd0_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint8_t& rstd1_r15() const { - assert_choice_type("rstd1-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd1_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd2_r15() const { - assert_choice_type("rstd2-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd2_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd3_r15() const { - assert_choice_type("rstd3-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd3_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd4_r15() const { - assert_choice_type("rstd4-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd4_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint8_t& rstd5_r15() const { - assert_choice_type("rstd5-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd5_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd6_r15() const { - assert_choice_type("rstd6-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd6_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd7_r15() const { - assert_choice_type("rstd7-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd7_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd8_r15() const { - assert_choice_type("rstd8-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd8_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd9_r15() const { - assert_choice_type("rstd9-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd9_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd10_r15() const { - assert_choice_type("rstd10-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd10_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd11_r15() const { - assert_choice_type("rstd11-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd11_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd12_r15() const { - assert_choice_type("rstd12-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd12_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd13_r15() const { - assert_choice_type("rstd13-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd13_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd14_r15() const { - assert_choice_type("rstd14-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd14_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd15_r15() const { - assert_choice_type("rstd15-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd15_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd16_r15() const { - assert_choice_type("rstd16-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd16_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd17_r15() const { - assert_choice_type("rstd17-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd17_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd18_r15() const { - assert_choice_type("rstd18-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd18_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd19_r15() const { - assert_choice_type("rstd19-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd19_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } const uint16_t& rstd20_r15() const { - assert_choice_type("rstd20-r15", type_.to_string(), "gapOffsetDensePRS-r15"); + assert_choice_type(types::rstd20_r15, type_, "gapOffsetDensePRS-r15"); return c.get(); } uint8_t& set_rstd0_r15(); @@ -3985,12 +3985,12 @@ struct meas_gap_cfg_dense_prs_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "MeasGapConfigDensePRS-r15"); + assert_choice_type(types::setup, type_, "MeasGapConfigDensePRS-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "MeasGapConfigDensePRS-r15"); + assert_choice_type(types::setup, type_, "MeasGapConfigDensePRS-r15"); return c; } void set_release(); @@ -4021,12 +4021,12 @@ struct meas_gap_cfg_per_cc_list_r14_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "MeasGapConfigPerCC-List-r14"); + assert_choice_type(types::setup, type_, "MeasGapConfigPerCC-List-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "MeasGapConfigPerCC-List-r14"); + assert_choice_type(types::setup, type_, "MeasGapConfigPerCC-List-r14"); return c; } void set_release(); @@ -4065,12 +4065,12 @@ struct meas_gap_sharing_cfg_r14_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "MeasGapSharingConfig-r14"); + assert_choice_type(types::setup, type_, "MeasGapSharingConfig-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "MeasGapSharingConfig-r14"); + assert_choice_type(types::setup, type_, "MeasGapSharingConfig-r14"); return c; } void set_release(); @@ -4190,22 +4190,22 @@ struct rach_skip_r14_s { // getters uint8_t& mcg_stag_r14() { - assert_choice_type("mcg-STAG-r14", type_.to_string(), "targetTA-r14"); + assert_choice_type(types::mcg_stag_r14, type_, "targetTA-r14"); return c.get(); } uint8_t& scg_stag_r14() { - assert_choice_type("scg-STAG-r14", type_.to_string(), "targetTA-r14"); + assert_choice_type(types::scg_stag_r14, type_, "targetTA-r14"); return c.get(); } const uint8_t& mcg_stag_r14() const { - assert_choice_type("mcg-STAG-r14", type_.to_string(), "targetTA-r14"); + assert_choice_type(types::mcg_stag_r14, type_, "targetTA-r14"); return c.get(); } const uint8_t& scg_stag_r14() const { - assert_choice_type("scg-STAG-r14", type_.to_string(), "targetTA-r14"); + assert_choice_type(types::scg_stag_r14, type_, "targetTA-r14"); return c.get(); } void set_ta0_r14(); @@ -4273,12 +4273,12 @@ struct meas_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "speedStatePars"); + assert_choice_type(types::setup, type_, "speedStatePars"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "speedStatePars"); + assert_choice_type(types::setup, type_, "speedStatePars"); return c; } void set_release(); @@ -4301,12 +4301,12 @@ struct meas_cfg_s { // getters meas_scale_factor_r12_e& setup() { - assert_choice_type("setup", type_.to_string(), "measScaleFactor-r12"); + assert_choice_type(types::setup, type_, "measScaleFactor-r12"); return c; } const meas_scale_factor_r12_e& setup() const { - assert_choice_type("setup", type_.to_string(), "measScaleFactor-r12"); + assert_choice_type(types::setup, type_, "measScaleFactor-r12"); return c; } void set_release(); @@ -4329,12 +4329,12 @@ struct meas_cfg_s { // getters uint8_t& setup() { - assert_choice_type("setup", type_.to_string(), "heightThreshRef-r15"); + assert_choice_type(types::setup, type_, "heightThreshRef-r15"); return c; } const uint8_t& setup() const { - assert_choice_type("setup", type_.to_string(), "heightThreshRef-r15"); + assert_choice_type(types::setup, type_, "heightThreshRef-r15"); return c; } void set_release(); @@ -4637,22 +4637,22 @@ struct cell_global_id_cdma2000_c { // getters fixed_bitstring<47>& cell_global_id1_xrtt() { - assert_choice_type("cellGlobalId1XRTT", type_.to_string(), "CellGlobalIdCDMA2000"); + assert_choice_type(types::cell_global_id1_xrtt, type_, "CellGlobalIdCDMA2000"); return c.get >(); } fixed_bitstring<128>& cell_global_id_hrpd() { - assert_choice_type("cellGlobalIdHRPD", type_.to_string(), "CellGlobalIdCDMA2000"); + assert_choice_type(types::cell_global_id_hrpd, type_, "CellGlobalIdCDMA2000"); return c.get >(); } const fixed_bitstring<47>& cell_global_id1_xrtt() const { - assert_choice_type("cellGlobalId1XRTT", type_.to_string(), "CellGlobalIdCDMA2000"); + assert_choice_type(types::cell_global_id1_xrtt, type_, "CellGlobalIdCDMA2000"); return c.get >(); } const fixed_bitstring<128>& cell_global_id_hrpd() const { - assert_choice_type("cellGlobalIdHRPD", type_.to_string(), "CellGlobalIdCDMA2000"); + assert_choice_type(types::cell_global_id_hrpd, type_, "CellGlobalIdCDMA2000"); return c.get >(); } fixed_bitstring<47>& set_cell_global_id1_xrtt(); @@ -4838,22 +4838,22 @@ struct meas_result_utra_s { // getters uint16_t& fdd() { - assert_choice_type("fdd", type_.to_string(), "physCellId"); + assert_choice_type(types::fdd, type_, "physCellId"); return c.get(); } uint8_t& tdd() { - assert_choice_type("tdd", type_.to_string(), "physCellId"); + assert_choice_type(types::tdd, type_, "physCellId"); return c.get(); } const uint16_t& fdd() const { - assert_choice_type("fdd", type_.to_string(), "physCellId"); + assert_choice_type(types::fdd, type_, "physCellId"); return c.get(); } const uint8_t& tdd() const { - assert_choice_type("tdd", type_.to_string(), "physCellId"); + assert_choice_type(types::tdd, type_, "physCellId"); return c.get(); } uint16_t& set_fdd(); @@ -4943,74 +4943,74 @@ struct location_info_r10_s { // getters dyn_octstring& ellipsoid_point_r10() { - assert_choice_type("ellipsoid-Point-r10", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::ellipsoid_point_r10, type_, "locationCoordinates-r10"); return c.get(); } dyn_octstring& ellipsoid_point_with_altitude_r10() { - assert_choice_type("ellipsoidPointWithAltitude-r10", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::ellipsoid_point_with_altitude_r10, type_, "locationCoordinates-r10"); return c.get(); } dyn_octstring& ellipsoid_point_with_uncertainty_circle_r11() { - assert_choice_type("ellipsoidPointWithUncertaintyCircle-r11", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::ellipsoid_point_with_uncertainty_circle_r11, type_, "locationCoordinates-r10"); return c.get(); } dyn_octstring& ellipsoid_point_with_uncertainty_ellipse_r11() { - assert_choice_type("ellipsoidPointWithUncertaintyEllipse-r11", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::ellipsoid_point_with_uncertainty_ellipse_r11, type_, "locationCoordinates-r10"); return c.get(); } dyn_octstring& ellipsoid_point_with_altitude_and_uncertainty_ellipsoid_r11() { assert_choice_type( - "ellipsoidPointWithAltitudeAndUncertaintyEllipsoid-r11", type_.to_string(), "locationCoordinates-r10"); + types::ellipsoid_point_with_altitude_and_uncertainty_ellipsoid_r11, type_, "locationCoordinates-r10"); return c.get(); } dyn_octstring& ellipsoid_arc_r11() { - assert_choice_type("ellipsoidArc-r11", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::ellipsoid_arc_r11, type_, "locationCoordinates-r10"); return c.get(); } dyn_octstring& polygon_r11() { - assert_choice_type("polygon-r11", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::polygon_r11, type_, "locationCoordinates-r10"); return c.get(); } const dyn_octstring& ellipsoid_point_r10() const { - assert_choice_type("ellipsoid-Point-r10", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::ellipsoid_point_r10, type_, "locationCoordinates-r10"); return c.get(); } const dyn_octstring& ellipsoid_point_with_altitude_r10() const { - assert_choice_type("ellipsoidPointWithAltitude-r10", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::ellipsoid_point_with_altitude_r10, type_, "locationCoordinates-r10"); return c.get(); } const dyn_octstring& ellipsoid_point_with_uncertainty_circle_r11() const { - assert_choice_type("ellipsoidPointWithUncertaintyCircle-r11", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::ellipsoid_point_with_uncertainty_circle_r11, type_, "locationCoordinates-r10"); return c.get(); } const dyn_octstring& ellipsoid_point_with_uncertainty_ellipse_r11() const { - assert_choice_type("ellipsoidPointWithUncertaintyEllipse-r11", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::ellipsoid_point_with_uncertainty_ellipse_r11, type_, "locationCoordinates-r10"); return c.get(); } const dyn_octstring& ellipsoid_point_with_altitude_and_uncertainty_ellipsoid_r11() const { assert_choice_type( - "ellipsoidPointWithAltitudeAndUncertaintyEllipsoid-r11", type_.to_string(), "locationCoordinates-r10"); + types::ellipsoid_point_with_altitude_and_uncertainty_ellipsoid_r11, type_, "locationCoordinates-r10"); return c.get(); } const dyn_octstring& ellipsoid_arc_r11() const { - assert_choice_type("ellipsoidArc-r11", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::ellipsoid_arc_r11, type_, "locationCoordinates-r10"); return c.get(); } const dyn_octstring& polygon_r11() const { - assert_choice_type("polygon-r11", type_.to_string(), "locationCoordinates-r10"); + assert_choice_type(types::polygon_r11, type_, "locationCoordinates-r10"); return c.get(); } dyn_octstring& set_ellipsoid_point_r10(); @@ -5048,22 +5048,22 @@ struct location_info_r10_s { // getters dyn_octstring& vertical_velocity_r15() { - assert_choice_type("verticalVelocity-r15", type_.to_string(), "verticalVelocityInfo-r15"); + assert_choice_type(types::vertical_velocity_r15, type_, "verticalVelocityInfo-r15"); return c.get(); } dyn_octstring& vertical_velocity_and_uncertainty_r15() { - assert_choice_type("verticalVelocityAndUncertainty-r15", type_.to_string(), "verticalVelocityInfo-r15"); + assert_choice_type(types::vertical_velocity_and_uncertainty_r15, type_, "verticalVelocityInfo-r15"); return c.get(); } const dyn_octstring& vertical_velocity_r15() const { - assert_choice_type("verticalVelocity-r15", type_.to_string(), "verticalVelocityInfo-r15"); + assert_choice_type(types::vertical_velocity_r15, type_, "verticalVelocityInfo-r15"); return c.get(); } const dyn_octstring& vertical_velocity_and_uncertainty_r15() const { - assert_choice_type("verticalVelocityAndUncertainty-r15", type_.to_string(), "verticalVelocityInfo-r15"); + assert_choice_type(types::vertical_velocity_and_uncertainty_r15, type_, "verticalVelocityInfo-r15"); return c.get(); } dyn_octstring& set_vertical_velocity_r15(); @@ -5794,52 +5794,52 @@ struct meas_results_s { // getters meas_result_list_eutra_l& meas_result_list_eutra() { - assert_choice_type("measResultListEUTRA", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_list_eutra, type_, "measResultNeighCells"); return c.get(); } meas_result_list_utra_l& meas_result_list_utra() { - assert_choice_type("measResultListUTRA", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_list_utra, type_, "measResultNeighCells"); return c.get(); } meas_result_list_geran_l& meas_result_list_geran() { - assert_choice_type("measResultListGERAN", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_list_geran, type_, "measResultNeighCells"); return c.get(); } meas_results_cdma2000_s& meas_results_cdma2000() { - assert_choice_type("measResultsCDMA2000", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_results_cdma2000, type_, "measResultNeighCells"); return c.get(); } meas_result_cell_list_nr_r15_l& meas_result_neigh_cell_list_nr_r15() { - assert_choice_type("measResultNeighCellListNR-r15", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_neigh_cell_list_nr_r15, type_, "measResultNeighCells"); return c.get(); } const meas_result_list_eutra_l& meas_result_list_eutra() const { - assert_choice_type("measResultListEUTRA", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_list_eutra, type_, "measResultNeighCells"); return c.get(); } const meas_result_list_utra_l& meas_result_list_utra() const { - assert_choice_type("measResultListUTRA", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_list_utra, type_, "measResultNeighCells"); return c.get(); } const meas_result_list_geran_l& meas_result_list_geran() const { - assert_choice_type("measResultListGERAN", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_list_geran, type_, "measResultNeighCells"); return c.get(); } const meas_results_cdma2000_s& meas_results_cdma2000() const { - assert_choice_type("measResultsCDMA2000", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_results_cdma2000, type_, "measResultNeighCells"); return c.get(); } const meas_result_cell_list_nr_r15_l& meas_result_neigh_cell_list_nr_r15() const { - assert_choice_type("measResultNeighCellListNR-r15", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_neigh_cell_list_nr_r15, type_, "measResultNeighCells"); return c.get(); } meas_result_list_eutra_l& set_meas_result_list_eutra(); @@ -5955,12 +5955,12 @@ struct meas_report_s { // getters meas_report_r8_ies_s& meas_report_r8() { - assert_choice_type("measurementReport-r8", type_.to_string(), "c1"); + assert_choice_type(types::meas_report_r8, type_, "c1"); return c; } const meas_report_r8_ies_s& meas_report_r8() const { - assert_choice_type("measurementReport-r8", type_.to_string(), "c1"); + assert_choice_type(types::meas_report_r8, type_, "c1"); return c; } meas_report_r8_ies_s& set_meas_report_r8(); @@ -5988,12 +5988,12 @@ struct meas_report_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); diff --git a/lib/include/srsran/asn1/rrc/paging.h b/lib/include/srsran/asn1/rrc/paging.h index e93132657..29ab78a73 100644 --- a/lib/include/srsran/asn1/rrc/paging.h +++ b/lib/include/srsran/asn1/rrc/paging.h @@ -102,42 +102,42 @@ struct paging_ue_id_c { // getters s_tmsi_s& s_tmsi() { - assert_choice_type("s-TMSI", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::s_tmsi, type_, "PagingUE-Identity"); return c.get(); } imsi_l& imsi() { - assert_choice_type("imsi", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::imsi, type_, "PagingUE-Identity"); return c.get(); } fixed_bitstring<48>& ng_minus5_g_s_tmsi_r15() { - assert_choice_type("ng-5G-S-TMSI-r15", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::ng_minus5_g_s_tmsi_r15, type_, "PagingUE-Identity"); return c.get >(); } fixed_bitstring<40>& full_i_rnti_r15() { - assert_choice_type("fullI-RNTI-r15", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::full_i_rnti_r15, type_, "PagingUE-Identity"); return c.get >(); } const s_tmsi_s& s_tmsi() const { - assert_choice_type("s-TMSI", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::s_tmsi, type_, "PagingUE-Identity"); return c.get(); } const imsi_l& imsi() const { - assert_choice_type("imsi", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::imsi, type_, "PagingUE-Identity"); return c.get(); } const fixed_bitstring<48>& ng_minus5_g_s_tmsi_r15() const { - assert_choice_type("ng-5G-S-TMSI-r15", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::ng_minus5_g_s_tmsi_r15, type_, "PagingUE-Identity"); return c.get >(); } const fixed_bitstring<40>& full_i_rnti_r15() const { - assert_choice_type("fullI-RNTI-r15", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::full_i_rnti_r15, type_, "PagingUE-Identity"); return c.get >(); } s_tmsi_s& set_s_tmsi(); @@ -257,12 +257,12 @@ struct pcch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "PCCH-MessageType"); + assert_choice_type(types::c1, type_, "PCCH-MessageType"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "PCCH-MessageType"); + assert_choice_type(types::c1, type_, "PCCH-MessageType"); return c; } c1_c_& set_c1(); @@ -326,12 +326,12 @@ struct ue_paging_coverage_info_s { // getters ue_paging_coverage_info_r13_ies_s& ue_paging_coverage_info_r13() { - assert_choice_type("uePagingCoverageInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_paging_coverage_info_r13, type_, "c1"); return c; } const ue_paging_coverage_info_r13_ies_s& ue_paging_coverage_info_r13() const { - assert_choice_type("uePagingCoverageInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_paging_coverage_info_r13, type_, "c1"); return c; } ue_paging_coverage_info_r13_ies_s& set_ue_paging_coverage_info_r13(); @@ -359,12 +359,12 @@ struct ue_paging_coverage_info_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -442,12 +442,12 @@ struct ue_radio_paging_info_s { // getters ue_radio_paging_info_r12_ies_s& ue_radio_paging_info_r12() { - assert_choice_type("ueRadioPagingInformation-r12", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_paging_info_r12, type_, "c1"); return c; } const ue_radio_paging_info_r12_ies_s& ue_radio_paging_info_r12() const { - assert_choice_type("ueRadioPagingInformation-r12", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_paging_info_r12, type_, "c1"); return c; } ue_radio_paging_info_r12_ies_s& set_ue_radio_paging_info_r12(); @@ -475,12 +475,12 @@ struct ue_radio_paging_info_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); diff --git a/lib/include/srsran/asn1/rrc/phy_ded.h b/lib/include/srsran/asn1/rrc/phy_ded.h index adf41ddb0..40b273e9e 100644 --- a/lib/include/srsran/asn1/rrc/phy_ded.h +++ b/lib/include/srsran/asn1/rrc/phy_ded.h @@ -75,32 +75,32 @@ struct p_c_and_cbsr_r13_s { // getters non_precoded_r13_s_& non_precoded_r13() { - assert_choice_type("nonPrecoded-r13", type_.to_string(), "cbsr-Selection-r13"); + assert_choice_type(types::non_precoded_r13, type_, "cbsr-Selection-r13"); return c.get(); } bf_k1a_r13_s_& bf_k1a_r13() { - assert_choice_type("beamformedK1a-r13", type_.to_string(), "cbsr-Selection-r13"); + assert_choice_type(types::bf_k1a_r13, type_, "cbsr-Selection-r13"); return c.get(); } bf_kn_r13_s_& bf_kn_r13() { - assert_choice_type("beamformedKN-r13", type_.to_string(), "cbsr-Selection-r13"); + assert_choice_type(types::bf_kn_r13, type_, "cbsr-Selection-r13"); return c.get(); } const non_precoded_r13_s_& non_precoded_r13() const { - assert_choice_type("nonPrecoded-r13", type_.to_string(), "cbsr-Selection-r13"); + assert_choice_type(types::non_precoded_r13, type_, "cbsr-Selection-r13"); return c.get(); } const bf_k1a_r13_s_& bf_k1a_r13() const { - assert_choice_type("beamformedK1a-r13", type_.to_string(), "cbsr-Selection-r13"); + assert_choice_type(types::bf_k1a_r13, type_, "cbsr-Selection-r13"); return c.get(); } const bf_kn_r13_s_& bf_kn_r13() const { - assert_choice_type("beamformedKN-r13", type_.to_string(), "cbsr-Selection-r13"); + assert_choice_type(types::bf_kn_r13, type_, "cbsr-Selection-r13"); return c.get(); } non_precoded_r13_s_& set_non_precoded_r13(); @@ -201,12 +201,12 @@ struct csi_rs_cfg_nzp_r11_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "mbsfn-SubframeConfigList-r11"); + assert_choice_type(types::setup, type_, "mbsfn-SubframeConfigList-r11"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "mbsfn-SubframeConfigList-r11"); + assert_choice_type(types::setup, type_, "mbsfn-SubframeConfigList-r11"); return c; } void set_release(); @@ -241,12 +241,12 @@ struct csi_rs_cfg_nzp_r11_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "mbsfn-SubframeConfigList-v1430"); + assert_choice_type(types::setup, type_, "mbsfn-SubframeConfigList-v1430"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "mbsfn-SubframeConfigList-v1430"); + assert_choice_type(types::setup, type_, "mbsfn-SubframeConfigList-v1430"); return c; } void set_release(); @@ -387,12 +387,12 @@ struct csi_rs_cfg_nzp_emimo_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigNZP-EMIMO-r13"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigNZP-EMIMO-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigNZP-EMIMO-r13"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigNZP-EMIMO-r13"); return c; } void set_release(); @@ -495,12 +495,12 @@ struct csi_rs_cfg_emimo2_r14_c { // getters csi_rs_cfg_bf_r14_s& setup() { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO2-r14"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO2-r14"); return c; } const csi_rs_cfg_bf_r14_s& setup() const { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO2-r14"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO2-r14"); return c; } void set_release(); @@ -734,12 +734,12 @@ struct cri_report_cfg_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CRI-ReportConfig-r13"); + assert_choice_type(types::setup, type_, "CRI-ReportConfig-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CRI-ReportConfig-r13"); + assert_choice_type(types::setup, type_, "CRI-ReportConfig-r13"); return c; } void set_release(); @@ -772,12 +772,12 @@ struct csi_rs_cfg_emimo_hybrid_r14_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO-Hybrid-r14"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO-Hybrid-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO-Hybrid-r14"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO-Hybrid-r14"); return c; } void set_release(); @@ -813,22 +813,22 @@ struct csi_rs_cfg_emimo_r13_c { // getters csi_rs_cfg_non_precoded_r13_s& non_precoded_r13() { - assert_choice_type("nonPrecoded-r13", type_.to_string(), "setup"); + assert_choice_type(types::non_precoded_r13, type_, "setup"); return c.get(); } csi_rs_cfg_bf_r13_s& bf_r13() { - assert_choice_type("beamformed-r13", type_.to_string(), "setup"); + assert_choice_type(types::bf_r13, type_, "setup"); return c.get(); } const csi_rs_cfg_non_precoded_r13_s& non_precoded_r13() const { - assert_choice_type("nonPrecoded-r13", type_.to_string(), "setup"); + assert_choice_type(types::non_precoded_r13, type_, "setup"); return c.get(); } const csi_rs_cfg_bf_r13_s& bf_r13() const { - assert_choice_type("beamformed-r13", type_.to_string(), "setup"); + assert_choice_type(types::bf_r13, type_, "setup"); return c.get(); } csi_rs_cfg_non_precoded_r13_s& set_non_precoded_r13(); @@ -854,12 +854,12 @@ struct csi_rs_cfg_emimo_r13_c { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO-r13"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO-r13"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO-r13"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO-r13"); return c; } void set_release(); @@ -895,22 +895,22 @@ struct csi_rs_cfg_emimo_v1430_c { // getters csi_rs_cfg_non_precoded_v1430_s& non_precoded_v1430() { - assert_choice_type("nonPrecoded-v1430", type_.to_string(), "setup"); + assert_choice_type(types::non_precoded_v1430, type_, "setup"); return c.get(); } csi_rs_cfg_bf_v1430_s& bf_v1430() { - assert_choice_type("beamformed-v1430", type_.to_string(), "setup"); + assert_choice_type(types::bf_v1430, type_, "setup"); return c.get(); } const csi_rs_cfg_non_precoded_v1430_s& non_precoded_v1430() const { - assert_choice_type("nonPrecoded-v1430", type_.to_string(), "setup"); + assert_choice_type(types::non_precoded_v1430, type_, "setup"); return c.get(); } const csi_rs_cfg_bf_v1430_s& bf_v1430() const { - assert_choice_type("beamformed-v1430", type_.to_string(), "setup"); + assert_choice_type(types::bf_v1430, type_, "setup"); return c.get(); } csi_rs_cfg_non_precoded_v1430_s& set_non_precoded_v1430(); @@ -936,12 +936,12 @@ struct csi_rs_cfg_emimo_v1430_c { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO-v1430"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO-v1430"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO-v1430"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO-v1430"); return c; } void set_release(); @@ -977,22 +977,22 @@ struct csi_rs_cfg_emimo_v1480_c { // getters csi_rs_cfg_non_precoded_v1480_s& non_precoded_v1480() { - assert_choice_type("nonPrecoded-v1480", type_.to_string(), "setup"); + assert_choice_type(types::non_precoded_v1480, type_, "setup"); return c.get(); } csi_rs_cfg_bf_v1430_s& bf_v1480() { - assert_choice_type("beamformed-v1480", type_.to_string(), "setup"); + assert_choice_type(types::bf_v1480, type_, "setup"); return c.get(); } const csi_rs_cfg_non_precoded_v1480_s& non_precoded_v1480() const { - assert_choice_type("nonPrecoded-v1480", type_.to_string(), "setup"); + assert_choice_type(types::non_precoded_v1480, type_, "setup"); return c.get(); } const csi_rs_cfg_bf_v1430_s& bf_v1480() const { - assert_choice_type("beamformed-v1480", type_.to_string(), "setup"); + assert_choice_type(types::bf_v1480, type_, "setup"); return c.get(); } csi_rs_cfg_non_precoded_v1480_s& set_non_precoded_v1480(); @@ -1018,12 +1018,12 @@ struct csi_rs_cfg_emimo_v1480_c { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO-v1480"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO-v1480"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO-v1480"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO-v1480"); return c; } void set_release(); @@ -1072,12 +1072,12 @@ struct csi_rs_cfg_emimo_v1530_c { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO-v1530"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO-v1530"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigEMIMO-v1530"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigEMIMO-v1530"); return c; } void set_release(); @@ -1144,22 +1144,22 @@ struct cqi_report_periodic_proc_ext_r11_s { // getters wideband_cqi_r11_s_& wideband_cqi_r11() { - assert_choice_type("widebandCQI-r11", type_.to_string(), "cqi-FormatIndicatorPeriodic-r11"); + assert_choice_type(types::wideband_cqi_r11, type_, "cqi-FormatIndicatorPeriodic-r11"); return c.get(); } subband_cqi_r11_s_& subband_cqi_r11() { - assert_choice_type("subbandCQI-r11", type_.to_string(), "cqi-FormatIndicatorPeriodic-r11"); + assert_choice_type(types::subband_cqi_r11, type_, "cqi-FormatIndicatorPeriodic-r11"); return c.get(); } const wideband_cqi_r11_s_& wideband_cqi_r11() const { - assert_choice_type("widebandCQI-r11", type_.to_string(), "cqi-FormatIndicatorPeriodic-r11"); + assert_choice_type(types::wideband_cqi_r11, type_, "cqi-FormatIndicatorPeriodic-r11"); return c.get(); } const subband_cqi_r11_s_& subband_cqi_r11() const { - assert_choice_type("subbandCQI-r11", type_.to_string(), "cqi-FormatIndicatorPeriodic-r11"); + assert_choice_type(types::subband_cqi_r11, type_, "cqi-FormatIndicatorPeriodic-r11"); return c.get(); } wideband_cqi_r11_s_& set_wideband_cqi_r11(); @@ -1191,12 +1191,12 @@ struct cqi_report_periodic_proc_ext_r11_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "csi-ConfigIndex-r11"); + assert_choice_type(types::setup, type_, "csi-ConfigIndex-r11"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "csi-ConfigIndex-r11"); + assert_choice_type(types::setup, type_, "csi-ConfigIndex-r11"); return c; } void set_release(); @@ -1297,12 +1297,12 @@ struct csi_process_r11_s { // getters setup_l_& setup() { - assert_choice_type("setup", type_.to_string(), "csi-IM-ConfigIdList-r12"); + assert_choice_type(types::setup, type_, "csi-IM-ConfigIdList-r12"); return c; } const setup_l_& setup() const { - assert_choice_type("setup", type_.to_string(), "csi-IM-ConfigIdList-r12"); + assert_choice_type(types::setup, type_, "csi-IM-ConfigIdList-r12"); return c; } void set_release(); @@ -1327,12 +1327,12 @@ struct csi_process_r11_s { // getters cqi_report_aperiodic_proc_r11_s& setup() { - assert_choice_type("setup", type_.to_string(), "cqi-ReportAperiodicProc2-r12"); + assert_choice_type(types::setup, type_, "cqi-ReportAperiodicProc2-r12"); return c; } const cqi_report_aperiodic_proc_r11_s& setup() const { - assert_choice_type("setup", type_.to_string(), "cqi-ReportAperiodicProc2-r12"); + assert_choice_type(types::setup, type_, "cqi-ReportAperiodicProc2-r12"); return c; } void set_release(); @@ -1357,12 +1357,12 @@ struct csi_process_r11_s { // getters cqi_report_aperiodic_proc_v1310_s& setup() { - assert_choice_type("setup", type_.to_string(), "cqi-ReportAperiodicProc-v1310"); + assert_choice_type(types::setup, type_, "cqi-ReportAperiodicProc-v1310"); return c; } const cqi_report_aperiodic_proc_v1310_s& setup() const { - assert_choice_type("setup", type_.to_string(), "cqi-ReportAperiodicProc-v1310"); + assert_choice_type(types::setup, type_, "cqi-ReportAperiodicProc-v1310"); return c; } void set_release(); @@ -1387,12 +1387,12 @@ struct csi_process_r11_s { // getters cqi_report_aperiodic_proc_v1310_s& setup() { - assert_choice_type("setup", type_.to_string(), "cqi-ReportAperiodicProc2-v1310"); + assert_choice_type(types::setup, type_, "cqi-ReportAperiodicProc2-v1310"); return c; } const cqi_report_aperiodic_proc_v1310_s& setup() const { - assert_choice_type("setup", type_.to_string(), "cqi-ReportAperiodicProc2-v1310"); + assert_choice_type(types::setup, type_, "cqi-ReportAperiodicProc2-v1310"); return c; } void set_release(); @@ -1524,12 +1524,12 @@ struct cqi_report_aperiodic_r10_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CQI-ReportAperiodic-r10"); + assert_choice_type(types::setup, type_, "CQI-ReportAperiodic-r10"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CQI-ReportAperiodic-r10"); + assert_choice_type(types::setup, type_, "CQI-ReportAperiodic-r10"); return c; } void set_release(); @@ -1576,12 +1576,12 @@ struct cqi_report_aperiodic_v1250_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CQI-ReportAperiodic-v1250"); + assert_choice_type(types::setup, type_, "CQI-ReportAperiodic-v1250"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CQI-ReportAperiodic-v1250"); + assert_choice_type(types::setup, type_, "CQI-ReportAperiodic-v1250"); return c; } void set_release(); @@ -1626,12 +1626,12 @@ struct cqi_report_aperiodic_v1310_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "aperiodicCSI-Trigger2-r13"); + assert_choice_type(types::setup, type_, "aperiodicCSI-Trigger2-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "aperiodicCSI-Trigger2-r13"); + assert_choice_type(types::setup, type_, "aperiodicCSI-Trigger2-r13"); return c; } void set_release(); @@ -1662,12 +1662,12 @@ struct cqi_report_aperiodic_v1310_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CQI-ReportAperiodic-v1310"); + assert_choice_type(types::setup, type_, "CQI-ReportAperiodic-v1310"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CQI-ReportAperiodic-v1310"); + assert_choice_type(types::setup, type_, "CQI-ReportAperiodic-v1310"); return c; } void set_release(); @@ -1722,32 +1722,32 @@ struct cqi_report_aperiodic_hybrid_r14_s { // getters one_bit_r14_s_& one_bit_r14() { - assert_choice_type("oneBit-r14", type_.to_string(), "triggers-r14"); + assert_choice_type(types::one_bit_r14, type_, "triggers-r14"); return c.get(); } two_bit_r14_s_& two_bit_r14() { - assert_choice_type("twoBit-r14", type_.to_string(), "triggers-r14"); + assert_choice_type(types::two_bit_r14, type_, "triggers-r14"); return c.get(); } three_bit_r14_s_& three_bit_r14() { - assert_choice_type("threeBit-r14", type_.to_string(), "triggers-r14"); + assert_choice_type(types::three_bit_r14, type_, "triggers-r14"); return c.get(); } const one_bit_r14_s_& one_bit_r14() const { - assert_choice_type("oneBit-r14", type_.to_string(), "triggers-r14"); + assert_choice_type(types::one_bit_r14, type_, "triggers-r14"); return c.get(); } const two_bit_r14_s_& two_bit_r14() const { - assert_choice_type("twoBit-r14", type_.to_string(), "triggers-r14"); + assert_choice_type(types::two_bit_r14, type_, "triggers-r14"); return c.get(); } const three_bit_r14_s_& three_bit_r14() const { - assert_choice_type("threeBit-r14", type_.to_string(), "triggers-r14"); + assert_choice_type(types::three_bit_r14, type_, "triggers-r14"); return c.get(); } one_bit_r14_s_& set_one_bit_r14(); @@ -1876,22 +1876,22 @@ struct cqi_report_periodic_r10_c { // getters wideband_cqi_r10_s_& wideband_cqi_r10() { - assert_choice_type("widebandCQI-r10", type_.to_string(), "cqi-FormatIndicatorPeriodic-r10"); + assert_choice_type(types::wideband_cqi_r10, type_, "cqi-FormatIndicatorPeriodic-r10"); return c.get(); } subband_cqi_r10_s_& subband_cqi_r10() { - assert_choice_type("subbandCQI-r10", type_.to_string(), "cqi-FormatIndicatorPeriodic-r10"); + assert_choice_type(types::subband_cqi_r10, type_, "cqi-FormatIndicatorPeriodic-r10"); return c.get(); } const wideband_cqi_r10_s_& wideband_cqi_r10() const { - assert_choice_type("widebandCQI-r10", type_.to_string(), "cqi-FormatIndicatorPeriodic-r10"); + assert_choice_type(types::wideband_cqi_r10, type_, "cqi-FormatIndicatorPeriodic-r10"); return c.get(); } const subband_cqi_r10_s_& subband_cqi_r10() const { - assert_choice_type("subbandCQI-r10", type_.to_string(), "cqi-FormatIndicatorPeriodic-r10"); + assert_choice_type(types::subband_cqi_r10, type_, "cqi-FormatIndicatorPeriodic-r10"); return c.get(); } wideband_cqi_r10_s_& set_wideband_cqi_r10(); @@ -1923,12 +1923,12 @@ struct cqi_report_periodic_r10_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "csi-ConfigIndex-r10"); + assert_choice_type(types::setup, type_, "csi-ConfigIndex-r10"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "csi-ConfigIndex-r10"); + assert_choice_type(types::setup, type_, "csi-ConfigIndex-r10"); return c; } void set_release(); @@ -1966,12 +1966,12 @@ struct cqi_report_periodic_r10_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CQI-ReportPeriodic-r10"); + assert_choice_type(types::setup, type_, "CQI-ReportPeriodic-r10"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CQI-ReportPeriodic-r10"); + assert_choice_type(types::setup, type_, "CQI-ReportPeriodic-r10"); return c; } void set_release(); @@ -2114,12 +2114,12 @@ struct spdcch_elems_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SPDCCH-Elements-r15"); + assert_choice_type(types::setup, type_, "SPDCCH-Elements-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SPDCCH-Elements-r15"); + assert_choice_type(types::setup, type_, "SPDCCH-Elements-r15"); return c; } void set_release(); @@ -2173,12 +2173,12 @@ struct spucch_elems_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SPUCCH-Elements-r15"); + assert_choice_type(types::setup, type_, "SPUCCH-Elements-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SPUCCH-Elements-r15"); + assert_choice_type(types::setup, type_, "SPUCCH-Elements-r15"); return c; } void set_release(); @@ -2213,22 +2213,22 @@ struct tpc_idx_c { // getters uint8_t& idx_of_format3() { - assert_choice_type("indexOfFormat3", type_.to_string(), "TPC-Index"); + assert_choice_type(types::idx_of_format3, type_, "TPC-Index"); return c.get(); } uint8_t& idx_of_format3_a() { - assert_choice_type("indexOfFormat3A", type_.to_string(), "TPC-Index"); + assert_choice_type(types::idx_of_format3_a, type_, "TPC-Index"); return c.get(); } const uint8_t& idx_of_format3() const { - assert_choice_type("indexOfFormat3", type_.to_string(), "TPC-Index"); + assert_choice_type(types::idx_of_format3, type_, "TPC-Index"); return c.get(); } const uint8_t& idx_of_format3_a() const { - assert_choice_type("indexOfFormat3A", type_.to_string(), "TPC-Index"); + assert_choice_type(types::idx_of_format3_a, type_, "TPC-Index"); return c.get(); } uint8_t& set_idx_of_format3(); @@ -2257,12 +2257,12 @@ struct zero_tx_pwr_csi_rs_conf_r12_c { // getters zero_tx_pwr_csi_rs_r12_s& setup() { - assert_choice_type("setup", type_.to_string(), "ZeroTxPowerCSI-RS-Conf-r12"); + assert_choice_type(types::setup, type_, "ZeroTxPowerCSI-RS-Conf-r12"); return c; } const zero_tx_pwr_csi_rs_r12_s& setup() const { - assert_choice_type("setup", type_.to_string(), "ZeroTxPowerCSI-RS-Conf-r12"); + assert_choice_type(types::setup, type_, "ZeroTxPowerCSI-RS-Conf-r12"); return c; } void set_release(); @@ -2294,12 +2294,12 @@ struct cqi_report_cfg_r10_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "csi-SubframePatternConfig-r10"); + assert_choice_type(types::setup, type_, "csi-SubframePatternConfig-r10"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "csi-SubframePatternConfig-r10"); + assert_choice_type(types::setup, type_, "csi-SubframePatternConfig-r10"); return c; } void set_release(); @@ -2361,12 +2361,12 @@ struct cqi_report_cfg_v1250_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "csi-SubframePatternConfig-r12"); + assert_choice_type(types::setup, type_, "csi-SubframePatternConfig-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "csi-SubframePatternConfig-r12"); + assert_choice_type(types::setup, type_, "csi-SubframePatternConfig-r12"); return c; } void set_release(); @@ -2479,12 +2479,12 @@ struct csi_rs_cfg_r10_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "csi-RS-r10"); + assert_choice_type(types::setup, type_, "csi-RS-r10"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "csi-RS-r10"); + assert_choice_type(types::setup, type_, "csi-RS-r10"); return c; } void set_release(); @@ -2532,12 +2532,12 @@ struct csi_rs_cfg_v1250_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "ds-ZeroTxPowerCSI-RS-r12"); + assert_choice_type(types::setup, type_, "ds-ZeroTxPowerCSI-RS-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "ds-ZeroTxPowerCSI-RS-r12"); + assert_choice_type(types::setup, type_, "ds-ZeroTxPowerCSI-RS-r12"); return c; } void set_release(); @@ -2696,12 +2696,12 @@ struct epdcch_set_cfg_r11_s { // getters uint8_t& setup() { - assert_choice_type("setup", type_.to_string(), "csi-RS-ConfigZPId2-r12"); + assert_choice_type(types::setup, type_, "csi-RS-ConfigZPId2-r12"); return c; } const uint8_t& setup() const { - assert_choice_type("setup", type_.to_string(), "csi-RS-ConfigZPId2-r12"); + assert_choice_type(types::setup, type_, "csi-RS-ConfigZPId2-r12"); return c; } void set_release(); @@ -2786,22 +2786,22 @@ struct epdcch_set_cfg_r11_s { // getters fdd_r13_e_& fdd_r13() { - assert_choice_type("fdd-r13", type_.to_string(), "mpdcch-StartSF-UESS-r13"); + assert_choice_type(types::fdd_r13, type_, "mpdcch-StartSF-UESS-r13"); return c.get(); } tdd_r13_e_& tdd_r13() { - assert_choice_type("tdd-r13", type_.to_string(), "mpdcch-StartSF-UESS-r13"); + assert_choice_type(types::tdd_r13, type_, "mpdcch-StartSF-UESS-r13"); return c.get(); } const fdd_r13_e_& fdd_r13() const { - assert_choice_type("fdd-r13", type_.to_string(), "mpdcch-StartSF-UESS-r13"); + assert_choice_type(types::fdd_r13, type_, "mpdcch-StartSF-UESS-r13"); return c.get(); } const tdd_r13_e_& tdd_r13() const { - assert_choice_type("tdd-r13", type_.to_string(), "mpdcch-StartSF-UESS-r13"); + assert_choice_type(types::tdd_r13, type_, "mpdcch-StartSF-UESS-r13"); return c.get(); } fdd_r13_e_& set_fdd_r13(); @@ -2843,12 +2843,12 @@ struct epdcch_set_cfg_r11_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "mpdcch-config-r13"); + assert_choice_type(types::setup, type_, "mpdcch-config-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "mpdcch-config-r13"); + assert_choice_type(types::setup, type_, "mpdcch-config-r13"); return c; } void set_release(); @@ -2918,22 +2918,22 @@ struct enable256_qam_r14_c { // getters tpc_sf_set_cfgured_r14_s_& tpc_sf_set_cfgured_r14() { - assert_choice_type("tpc-SubframeSet-Configured-r14", type_.to_string(), "setup"); + assert_choice_type(types::tpc_sf_set_cfgured_r14, type_, "setup"); return c.get(); } tpc_sf_set_not_cfgured_r14_s_& tpc_sf_set_not_cfgured_r14() { - assert_choice_type("tpc-SubframeSet-NotConfigured-r14", type_.to_string(), "setup"); + assert_choice_type(types::tpc_sf_set_not_cfgured_r14, type_, "setup"); return c.get(); } const tpc_sf_set_cfgured_r14_s_& tpc_sf_set_cfgured_r14() const { - assert_choice_type("tpc-SubframeSet-Configured-r14", type_.to_string(), "setup"); + assert_choice_type(types::tpc_sf_set_cfgured_r14, type_, "setup"); return c.get(); } const tpc_sf_set_not_cfgured_r14_s_& tpc_sf_set_not_cfgured_r14() const { - assert_choice_type("tpc-SubframeSet-NotConfigured-r14", type_.to_string(), "setup"); + assert_choice_type(types::tpc_sf_set_not_cfgured_r14, type_, "setup"); return c.get(); } tpc_sf_set_cfgured_r14_s_& set_tpc_sf_set_cfgured_r14(); @@ -2959,12 +2959,12 @@ struct enable256_qam_r14_c { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "Enable256QAM-r14"); + assert_choice_type(types::setup, type_, "Enable256QAM-r14"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "Enable256QAM-r14"); + assert_choice_type(types::setup, type_, "Enable256QAM-r14"); return c; } void set_release(); @@ -3004,12 +3004,12 @@ struct pdsch_re_map_qcl_cfg_r11_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "mbsfn-SubframeConfigList-r11"); + assert_choice_type(types::setup, type_, "mbsfn-SubframeConfigList-r11"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "mbsfn-SubframeConfigList-r11"); + assert_choice_type(types::setup, type_, "mbsfn-SubframeConfigList-r11"); return c; } void set_release(); @@ -3053,12 +3053,12 @@ struct pdsch_re_map_qcl_cfg_r11_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "mbsfn-SubframeConfigList-v1430"); + assert_choice_type(types::setup, type_, "mbsfn-SubframeConfigList-v1430"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "mbsfn-SubframeConfigList-v1430"); + assert_choice_type(types::setup, type_, "mbsfn-SubframeConfigList-v1430"); return c; } void set_release(); @@ -3113,12 +3113,12 @@ struct pdsch_re_map_qcl_cfg_r11_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "codewordOneConfig-v1530"); + assert_choice_type(types::setup, type_, "codewordOneConfig-v1530"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "codewordOneConfig-v1530"); + assert_choice_type(types::setup, type_, "codewordOneConfig-v1530"); return c; } void set_release(); @@ -3198,12 +3198,12 @@ struct tpc_pdcch_cfg_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "TPC-PDCCH-Config"); + assert_choice_type(types::setup, type_, "TPC-PDCCH-Config"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "TPC-PDCCH-Config"); + assert_choice_type(types::setup, type_, "TPC-PDCCH-Config"); return c; } void set_release(); @@ -3271,132 +3271,132 @@ struct ant_info_ded_stti_r15_c { // getters fixed_bitstring<2>& n2_tx_ant_tm3_r15() { - assert_choice_type("n2TxAntenna-tm3-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm3_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<4>& n4_tx_ant_tm3_r15() { - assert_choice_type("n4TxAntenna-tm3-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm3_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<6>& n2_tx_ant_tm4_r15() { - assert_choice_type("n2TxAntenna-tm4-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm4_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<64>& n4_tx_ant_tm4_r15() { - assert_choice_type("n4TxAntenna-tm4-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm4_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<4>& n2_tx_ant_tm5_r15() { - assert_choice_type("n2TxAntenna-tm5-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm5_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<16>& n4_tx_ant_tm5_r15() { - assert_choice_type("n4TxAntenna-tm5-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm5_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<4>& n2_tx_ant_tm6_r15() { - assert_choice_type("n2TxAntenna-tm6-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm6_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<16>& n4_tx_ant_tm6_r15() { - assert_choice_type("n4TxAntenna-tm6-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm6_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<6>& n2_tx_ant_tm8_r15() { - assert_choice_type("n2TxAntenna-tm8-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm8_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<64>& n4_tx_ant_tm8_r15() { - assert_choice_type("n4TxAntenna-tm8-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm8_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<6>& n2_tx_ant_tm9and10_r15() { - assert_choice_type("n2TxAntenna-tm9and10-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm9and10_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<96>& n4_tx_ant_tm9and10_r15() { - assert_choice_type("n4TxAntenna-tm9and10-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm9and10_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<109>& n8_tx_ant_tm9and10_r15() { - assert_choice_type("n8TxAntenna-tm9and10-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n8_tx_ant_tm9and10_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<2>& n2_tx_ant_tm3_r15() const { - assert_choice_type("n2TxAntenna-tm3-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm3_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<4>& n4_tx_ant_tm3_r15() const { - assert_choice_type("n4TxAntenna-tm3-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm3_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<6>& n2_tx_ant_tm4_r15() const { - assert_choice_type("n2TxAntenna-tm4-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm4_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<64>& n4_tx_ant_tm4_r15() const { - assert_choice_type("n4TxAntenna-tm4-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm4_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<4>& n2_tx_ant_tm5_r15() const { - assert_choice_type("n2TxAntenna-tm5-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm5_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<16>& n4_tx_ant_tm5_r15() const { - assert_choice_type("n4TxAntenna-tm5-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm5_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<4>& n2_tx_ant_tm6_r15() const { - assert_choice_type("n2TxAntenna-tm6-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm6_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<16>& n4_tx_ant_tm6_r15() const { - assert_choice_type("n4TxAntenna-tm6-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm6_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<6>& n2_tx_ant_tm8_r15() const { - assert_choice_type("n2TxAntenna-tm8-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm8_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<64>& n4_tx_ant_tm8_r15() const { - assert_choice_type("n4TxAntenna-tm8-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm8_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<6>& n2_tx_ant_tm9and10_r15() const { - assert_choice_type("n2TxAntenna-tm9and10-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm9and10_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<96>& n4_tx_ant_tm9and10_r15() const { - assert_choice_type("n4TxAntenna-tm9and10-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm9and10_r15, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<109>& n8_tx_ant_tm9and10_r15() const { - assert_choice_type("n8TxAntenna-tm9and10-r15", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n8_tx_ant_tm9and10_r15, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<2>& set_n2_tx_ant_tm3_r15(); @@ -3454,12 +3454,12 @@ struct ant_info_ded_stti_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "AntennaInfoDedicatedSTTI-r15"); + assert_choice_type(types::setup, type_, "AntennaInfoDedicatedSTTI-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "AntennaInfoDedicatedSTTI-r15"); + assert_choice_type(types::setup, type_, "AntennaInfoDedicatedSTTI-r15"); return c; } void set_release(); @@ -3535,12 +3535,12 @@ struct cqi_report_cfg_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CQI-ReportConfig-r15"); + assert_choice_type(types::setup, type_, "CQI-ReportConfig-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CQI-ReportConfig-r15"); + assert_choice_type(types::setup, type_, "CQI-ReportConfig-r15"); return c; } void set_release(); @@ -3575,12 +3575,12 @@ struct cqi_report_periodic_c { // getters subband_cqi_s_& subband_cqi() { - assert_choice_type("subbandCQI", type_.to_string(), "cqi-FormatIndicatorPeriodic"); + assert_choice_type(types::subband_cqi, type_, "cqi-FormatIndicatorPeriodic"); return c; } const subband_cqi_s_& subband_cqi() const { - assert_choice_type("subbandCQI", type_.to_string(), "cqi-FormatIndicatorPeriodic"); + assert_choice_type(types::subband_cqi, type_, "cqi-FormatIndicatorPeriodic"); return c; } void set_wideband_cqi(); @@ -3611,12 +3611,12 @@ struct cqi_report_periodic_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CQI-ReportPeriodic"); + assert_choice_type(types::setup, type_, "CQI-ReportPeriodic"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CQI-ReportPeriodic"); + assert_choice_type(types::setup, type_, "CQI-ReportPeriodic"); return c; } void set_release(); @@ -3653,12 +3653,12 @@ struct csi_rs_cfg_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CSI-RS-Config-r15"); + assert_choice_type(types::setup, type_, "CSI-RS-Config-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CSI-RS-Config-r15"); + assert_choice_type(types::setup, type_, "CSI-RS-Config-r15"); return c; } void set_release(); @@ -3692,12 +3692,12 @@ struct csi_rs_cfg_zp_ap_list_r14_c { // getters setup_l_& setup() { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigZP-ApList-r14"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigZP-ApList-r14"); return c; } const setup_l_& setup() const { - assert_choice_type("setup", type_.to_string(), "CSI-RS-ConfigZP-ApList-r14"); + assert_choice_type(types::setup, type_, "CSI-RS-ConfigZP-ApList-r14"); return c; } void set_release(); @@ -3734,12 +3734,12 @@ struct dmrs_cfg_r11_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "DMRS-Config-r11"); + assert_choice_type(types::setup, type_, "DMRS-Config-r11"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "DMRS-Config-r11"); + assert_choice_type(types::setup, type_, "DMRS-Config-r11"); return c; } void set_release(); @@ -3866,12 +3866,12 @@ struct eimta_main_cfg_r12_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "EIMTA-MainConfig-r12"); + assert_choice_type(types::setup, type_, "EIMTA-MainConfig-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "EIMTA-MainConfig-r12"); + assert_choice_type(types::setup, type_, "EIMTA-MainConfig-r12"); return c; } void set_release(); @@ -3911,12 +3911,12 @@ struct eimta_main_cfg_serv_cell_r12_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "mbsfn-SubframeConfigList-v1250"); + assert_choice_type(types::setup, type_, "mbsfn-SubframeConfigList-v1250"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "mbsfn-SubframeConfigList-v1250"); + assert_choice_type(types::setup, type_, "mbsfn-SubframeConfigList-v1250"); return c; } void set_release(); @@ -3946,12 +3946,12 @@ struct eimta_main_cfg_serv_cell_r12_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "EIMTA-MainConfigServCell-r12"); + assert_choice_type(types::setup, type_, "EIMTA-MainConfigServCell-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "EIMTA-MainConfigServCell-r12"); + assert_choice_type(types::setup, type_, "EIMTA-MainConfigServCell-r12"); return c; } void set_release(); @@ -4054,12 +4054,12 @@ struct pucch_format3_conf_r13_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "twoAntennaPortActivatedPUCCH-Format3-r13"); + assert_choice_type(types::setup, type_, "twoAntennaPortActivatedPUCCH-Format3-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "twoAntennaPortActivatedPUCCH-Format3-r13"); + assert_choice_type(types::setup, type_, "twoAntennaPortActivatedPUCCH-Format3-r13"); return c; } void set_release(); @@ -4122,12 +4122,12 @@ struct spdcch_cfg_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SPDCCH-Config-r15"); + assert_choice_type(types::setup, type_, "SPDCCH-Config-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SPDCCH-Config-r15"); + assert_choice_type(types::setup, type_, "SPDCCH-Config-r15"); return c; } void set_release(); @@ -4168,12 +4168,12 @@ struct spucch_cfg_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SPUCCH-Config-r15"); + assert_choice_type(types::setup, type_, "SPUCCH-Config-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SPUCCH-Config-r15"); + assert_choice_type(types::setup, type_, "SPUCCH-Config-r15"); return c; } void set_release(); @@ -4348,12 +4348,12 @@ struct sched_request_cfg_v1530_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SchedulingRequestConfig-v1530"); + assert_choice_type(types::setup, type_, "SchedulingRequestConfig-v1530"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SchedulingRequestConfig-v1530"); + assert_choice_type(types::setup, type_, "SchedulingRequestConfig-v1530"); return c; } void set_release(); @@ -4434,12 +4434,12 @@ struct slot_or_subslot_pdsch_cfg_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SlotOrSubslotPDSCH-Config-r15"); + assert_choice_type(types::setup, type_, "SlotOrSubslotPDSCH-Config-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SlotOrSubslotPDSCH-Config-r15"); + assert_choice_type(types::setup, type_, "SlotOrSubslotPDSCH-Config-r15"); return c; } void set_release(); @@ -4496,12 +4496,12 @@ struct slot_or_subslot_pusch_cfg_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SlotOrSubslotPUSCH-Config-r15"); + assert_choice_type(types::setup, type_, "SlotOrSubslotPUSCH-Config-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SlotOrSubslotPUSCH-Config-r15"); + assert_choice_type(types::setup, type_, "SlotOrSubslotPUSCH-Config-r15"); return c; } void set_release(); @@ -4541,12 +4541,12 @@ struct tdd_pusch_up_pts_r14_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "TDD-PUSCH-UpPTS-r14"); + assert_choice_type(types::setup, type_, "TDD-PUSCH-UpPTS-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "TDD-PUSCH-UpPTS-r14"); + assert_choice_type(types::setup, type_, "TDD-PUSCH-UpPTS-r14"); return c; } void set_release(); @@ -4613,82 +4613,82 @@ struct ant_info_ded_s { // getters fixed_bitstring<2>& n2_tx_ant_tm3() { - assert_choice_type("n2TxAntenna-tm3", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm3, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<4>& n4_tx_ant_tm3() { - assert_choice_type("n4TxAntenna-tm3", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm3, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<6>& n2_tx_ant_tm4() { - assert_choice_type("n2TxAntenna-tm4", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm4, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<64>& n4_tx_ant_tm4() { - assert_choice_type("n4TxAntenna-tm4", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm4, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<4>& n2_tx_ant_tm5() { - assert_choice_type("n2TxAntenna-tm5", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm5, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<16>& n4_tx_ant_tm5() { - assert_choice_type("n4TxAntenna-tm5", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm5, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<4>& n2_tx_ant_tm6() { - assert_choice_type("n2TxAntenna-tm6", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm6, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<16>& n4_tx_ant_tm6() { - assert_choice_type("n4TxAntenna-tm6", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm6, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<2>& n2_tx_ant_tm3() const { - assert_choice_type("n2TxAntenna-tm3", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm3, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<4>& n4_tx_ant_tm3() const { - assert_choice_type("n4TxAntenna-tm3", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm3, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<6>& n2_tx_ant_tm4() const { - assert_choice_type("n2TxAntenna-tm4", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm4, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<64>& n4_tx_ant_tm4() const { - assert_choice_type("n4TxAntenna-tm4", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm4, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<4>& n2_tx_ant_tm5() const { - assert_choice_type("n2TxAntenna-tm5", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm5, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<16>& n4_tx_ant_tm5() const { - assert_choice_type("n4TxAntenna-tm5", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm5, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<4>& n2_tx_ant_tm6() const { - assert_choice_type("n2TxAntenna-tm6", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n2_tx_ant_tm6, type_, "codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<16>& n4_tx_ant_tm6() const { - assert_choice_type("n4TxAntenna-tm6", type_.to_string(), "codebookSubsetRestriction"); + assert_choice_type(types::n4_tx_ant_tm6, type_, "codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<2>& set_n2_tx_ant_tm3(); @@ -4725,12 +4725,12 @@ struct ant_info_ded_s { // getters setup_e_& setup() { - assert_choice_type("setup", type_.to_string(), "ue-TransmitAntennaSelection"); + assert_choice_type(types::setup, type_, "ue-TransmitAntennaSelection"); return c; } const setup_e_& setup() const { - assert_choice_type("setup", type_.to_string(), "ue-TransmitAntennaSelection"); + assert_choice_type(types::setup, type_, "ue-TransmitAntennaSelection"); return c; } void set_release(); @@ -4802,12 +4802,12 @@ struct ant_info_ded_r10_s { // getters setup_e_& setup() { - assert_choice_type("setup", type_.to_string(), "ue-TransmitAntennaSelection"); + assert_choice_type(types::setup, type_, "ue-TransmitAntennaSelection"); return c; } const setup_e_& setup() const { - assert_choice_type("setup", type_.to_string(), "ue-TransmitAntennaSelection"); + assert_choice_type(types::setup, type_, "ue-TransmitAntennaSelection"); return c; } void set_release(); @@ -4889,12 +4889,12 @@ struct ant_info_ded_v1530_c { // getters ue_tx_ant_sel_srs_minus2_t4_r_nr_of_pairs_r15_e_& ue_tx_ant_sel_srs_minus2_t4_r_nr_of_pairs_r15() { - assert_choice_type("ue-TxAntennaSelection-SRS-2T4R-NrOfPairs-r15", type_.to_string(), "setup"); + assert_choice_type(types::ue_tx_ant_sel_srs_minus2_t4_r_nr_of_pairs_r15, type_, "setup"); return c; } const ue_tx_ant_sel_srs_minus2_t4_r_nr_of_pairs_r15_e_& ue_tx_ant_sel_srs_minus2_t4_r_nr_of_pairs_r15() const { - assert_choice_type("ue-TxAntennaSelection-SRS-2T4R-NrOfPairs-r15", type_.to_string(), "setup"); + assert_choice_type(types::ue_tx_ant_sel_srs_minus2_t4_r_nr_of_pairs_r15, type_, "setup"); return c; } void set_ue_tx_ant_sel_srs_minus1_t4_r_cfg_r15(); @@ -4916,12 +4916,12 @@ struct ant_info_ded_v1530_c { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "AntennaInfoDedicated-v1530"); + assert_choice_type(types::setup, type_, "AntennaInfoDedicated-v1530"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "AntennaInfoDedicated-v1530"); + assert_choice_type(types::setup, type_, "AntennaInfoDedicated-v1530"); return c; } void set_release(); @@ -4957,22 +4957,22 @@ struct ant_info_ded_v920_s { // getters fixed_bitstring<6>& n2_tx_ant_tm8_r9() { - assert_choice_type("n2TxAntenna-tm8-r9", type_.to_string(), "codebookSubsetRestriction-v920"); + assert_choice_type(types::n2_tx_ant_tm8_r9, type_, "codebookSubsetRestriction-v920"); return c.get >(); } fixed_bitstring<32>& n4_tx_ant_tm8_r9() { - assert_choice_type("n4TxAntenna-tm8-r9", type_.to_string(), "codebookSubsetRestriction-v920"); + assert_choice_type(types::n4_tx_ant_tm8_r9, type_, "codebookSubsetRestriction-v920"); return c.get >(); } const fixed_bitstring<6>& n2_tx_ant_tm8_r9() const { - assert_choice_type("n2TxAntenna-tm8-r9", type_.to_string(), "codebookSubsetRestriction-v920"); + assert_choice_type(types::n2_tx_ant_tm8_r9, type_, "codebookSubsetRestriction-v920"); return c.get >(); } const fixed_bitstring<32>& n4_tx_ant_tm8_r9() const { - assert_choice_type("n4TxAntenna-tm8-r9", type_.to_string(), "codebookSubsetRestriction-v920"); + assert_choice_type(types::n4_tx_ant_tm8_r9, type_, "codebookSubsetRestriction-v920"); return c.get >(); } fixed_bitstring<6>& set_n2_tx_ant_tm8_r9(); @@ -5165,12 +5165,12 @@ struct epdcch_cfg_r11_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "subframePatternConfig-r11"); + assert_choice_type(types::setup, type_, "subframePatternConfig-r11"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "subframePatternConfig-r11"); + assert_choice_type(types::setup, type_, "subframePatternConfig-r11"); return c; } void set_release(); @@ -5205,12 +5205,12 @@ struct epdcch_cfg_r11_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "config-r11"); + assert_choice_type(types::setup, type_, "config-r11"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "config-r11"); + assert_choice_type(types::setup, type_, "config-r11"); return c; } void set_release(); @@ -5255,12 +5255,12 @@ struct pdcch_candidate_reductions_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "PDCCH-CandidateReductions-r13"); + assert_choice_type(types::setup, type_, "PDCCH-CandidateReductions-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "PDCCH-CandidateReductions-r13"); + assert_choice_type(types::setup, type_, "PDCCH-CandidateReductions-r13"); return c; } void set_release(); @@ -5449,12 +5449,12 @@ struct pucch_cfg_ded_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "ackNackRepetition"); + assert_choice_type(types::setup, type_, "ackNackRepetition"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "ackNackRepetition"); + assert_choice_type(types::setup, type_, "ackNackRepetition"); return c; } void set_release(); @@ -5513,12 +5513,12 @@ struct pucch_cfg_ded_r13_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "ackNackRepetition-r13"); + assert_choice_type(types::setup, type_, "ackNackRepetition-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "ackNackRepetition-r13"); + assert_choice_type(types::setup, type_, "ackNackRepetition-r13"); return c; } void set_release(); @@ -5558,12 +5558,12 @@ struct pucch_cfg_ded_r13_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "twoAntennaPortActivatedPUCCH-Format3-r13"); + assert_choice_type(types::setup, type_, "twoAntennaPortActivatedPUCCH-Format3-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "twoAntennaPortActivatedPUCCH-Format3-r13"); + assert_choice_type(types::setup, type_, "twoAntennaPortActivatedPUCCH-Format3-r13"); return c; } void set_release(); @@ -5604,12 +5604,12 @@ struct pucch_cfg_ded_r13_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "n1PUCCH-AN-CS-r13"); + assert_choice_type(types::setup, type_, "n1PUCCH-AN-CS-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "n1PUCCH-AN-CS-r13"); + assert_choice_type(types::setup, type_, "n1PUCCH-AN-CS-r13"); return c; } void set_release(); @@ -5665,42 +5665,42 @@ struct pucch_cfg_ded_r13_s { // getters format3_r13_s_& format3_r13() { - assert_choice_type("format3-r13", type_.to_string(), "pucch-Format-r13"); + assert_choice_type(types::format3_r13, type_, "pucch-Format-r13"); return c.get(); } ch_sel_r13_s_& ch_sel_r13() { - assert_choice_type("channelSelection-r13", type_.to_string(), "pucch-Format-r13"); + assert_choice_type(types::ch_sel_r13, type_, "pucch-Format-r13"); return c.get(); } format4_r13_s_& format4_r13() { - assert_choice_type("format4-r13", type_.to_string(), "pucch-Format-r13"); + assert_choice_type(types::format4_r13, type_, "pucch-Format-r13"); return c.get(); } format5_r13_s_& format5_r13() { - assert_choice_type("format5-r13", type_.to_string(), "pucch-Format-r13"); + assert_choice_type(types::format5_r13, type_, "pucch-Format-r13"); return c.get(); } const format3_r13_s_& format3_r13() const { - assert_choice_type("format3-r13", type_.to_string(), "pucch-Format-r13"); + assert_choice_type(types::format3_r13, type_, "pucch-Format-r13"); return c.get(); } const ch_sel_r13_s_& ch_sel_r13() const { - assert_choice_type("channelSelection-r13", type_.to_string(), "pucch-Format-r13"); + assert_choice_type(types::ch_sel_r13, type_, "pucch-Format-r13"); return c.get(); } const format4_r13_s_& format4_r13() const { - assert_choice_type("format4-r13", type_.to_string(), "pucch-Format-r13"); + assert_choice_type(types::format4_r13, type_, "pucch-Format-r13"); return c.get(); } const format5_r13_s_& format5_r13() const { - assert_choice_type("format5-r13", type_.to_string(), "pucch-Format-r13"); + assert_choice_type(types::format5_r13, type_, "pucch-Format-r13"); return c.get(); } format3_r13_s_& set_format3_r13(); @@ -5733,12 +5733,12 @@ struct pucch_cfg_ded_r13_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "nPUCCH-Param-r13"); + assert_choice_type(types::setup, type_, "nPUCCH-Param-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "nPUCCH-Param-r13"); + assert_choice_type(types::setup, type_, "nPUCCH-Param-r13"); return c; } void set_release(); @@ -5766,12 +5766,12 @@ struct pucch_cfg_ded_r13_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "nkaPUCCH-Param-r13"); + assert_choice_type(types::setup, type_, "nkaPUCCH-Param-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "nkaPUCCH-Param-r13"); + assert_choice_type(types::setup, type_, "nkaPUCCH-Param-r13"); return c; } void set_release(); @@ -5855,22 +5855,22 @@ struct pucch_cfg_ded_r13_s { // getters mode_a_s_& mode_a() { - assert_choice_type("modeA", type_.to_string(), "setup"); + assert_choice_type(types::mode_a, type_, "setup"); return c.get(); } mode_b_s_& mode_b() { - assert_choice_type("modeB", type_.to_string(), "setup"); + assert_choice_type(types::mode_b, type_, "setup"); return c.get(); } const mode_a_s_& mode_a() const { - assert_choice_type("modeA", type_.to_string(), "setup"); + assert_choice_type(types::mode_a, type_, "setup"); return c.get(); } const mode_b_s_& mode_b() const { - assert_choice_type("modeB", type_.to_string(), "setup"); + assert_choice_type(types::mode_b, type_, "setup"); return c.get(); } mode_a_s_& set_mode_a(); @@ -5896,12 +5896,12 @@ struct pucch_cfg_ded_r13_s { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "pucch-NumRepetitionCE-r13"); + assert_choice_type(types::setup, type_, "pucch-NumRepetitionCE-r13"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "pucch-NumRepetitionCE-r13"); + assert_choice_type(types::setup, type_, "pucch-NumRepetitionCE-r13"); return c; } void set_release(); @@ -5967,12 +5967,12 @@ struct pucch_cfg_ded_v1020_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "n1PUCCH-AN-CS-r10"); + assert_choice_type(types::setup, type_, "n1PUCCH-AN-CS-r10"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "n1PUCCH-AN-CS-r10"); + assert_choice_type(types::setup, type_, "n1PUCCH-AN-CS-r10"); return c; } void set_release(); @@ -6009,22 +6009,22 @@ struct pucch_cfg_ded_v1020_s { // getters pucch_format3_conf_r13_s& format3_r10() { - assert_choice_type("format3-r10", type_.to_string(), "pucch-Format-r10"); + assert_choice_type(types::format3_r10, type_, "pucch-Format-r10"); return c.get(); } ch_sel_r10_s_& ch_sel_r10() { - assert_choice_type("channelSelection-r10", type_.to_string(), "pucch-Format-r10"); + assert_choice_type(types::ch_sel_r10, type_, "pucch-Format-r10"); return c.get(); } const pucch_format3_conf_r13_s& format3_r10() const { - assert_choice_type("format3-r10", type_.to_string(), "pucch-Format-r10"); + assert_choice_type(types::format3_r10, type_, "pucch-Format-r10"); return c.get(); } const ch_sel_r10_s_& ch_sel_r10() const { - assert_choice_type("channelSelection-r10", type_.to_string(), "pucch-Format-r10"); + assert_choice_type(types::ch_sel_r10, type_, "pucch-Format-r10"); return c.get(); } pucch_format3_conf_r13_s& set_format3_r10(); @@ -6072,12 +6072,12 @@ struct pucch_cfg_ded_v1130_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "n1PUCCH-AN-CS-v1130"); + assert_choice_type(types::setup, type_, "n1PUCCH-AN-CS-v1130"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "n1PUCCH-AN-CS-v1130"); + assert_choice_type(types::setup, type_, "n1PUCCH-AN-CS-v1130"); return c; } void set_release(); @@ -6104,12 +6104,12 @@ struct pucch_cfg_ded_v1130_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "nPUCCH-Param-r11"); + assert_choice_type(types::setup, type_, "nPUCCH-Param-r11"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "nPUCCH-Param-r11"); + assert_choice_type(types::setup, type_, "nPUCCH-Param-r11"); return c; } void set_release(); @@ -6150,12 +6150,12 @@ struct pucch_cfg_ded_v1250_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "nkaPUCCH-Param-r12"); + assert_choice_type(types::setup, type_, "nkaPUCCH-Param-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "nkaPUCCH-Param-r12"); + assert_choice_type(types::setup, type_, "nkaPUCCH-Param-r12"); return c; } void set_release(); @@ -6236,12 +6236,12 @@ struct pusch_cfg_ded_r13_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "pusch-DMRS-r11"); + assert_choice_type(types::setup, type_, "pusch-DMRS-r11"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "pusch-DMRS-r11"); + assert_choice_type(types::setup, type_, "pusch-DMRS-r11"); return c; } void set_release(); @@ -6284,12 +6284,12 @@ struct pusch_cfg_ded_r13_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "uciOnPUSCH"); + assert_choice_type(types::setup, type_, "uciOnPUSCH"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "uciOnPUSCH"); + assert_choice_type(types::setup, type_, "uciOnPUSCH"); return c; } void set_release(); @@ -6365,12 +6365,12 @@ struct pusch_cfg_ded_v1130_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "pusch-DMRS-r11"); + assert_choice_type(types::setup, type_, "pusch-DMRS-r11"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "pusch-DMRS-r11"); + assert_choice_type(types::setup, type_, "pusch-DMRS-r11"); return c; } void set_release(); @@ -6421,12 +6421,12 @@ struct pusch_cfg_ded_v1250_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "uciOnPUSCH"); + assert_choice_type(types::setup, type_, "uciOnPUSCH"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "uciOnPUSCH"); + assert_choice_type(types::setup, type_, "uciOnPUSCH"); return c; } void set_release(); @@ -6481,12 +6481,12 @@ struct pusch_cfg_ded_v1530_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "ce-PUSCH-FlexibleStartPRB-AllocConfig-r15"); + assert_choice_type(types::setup, type_, "ce-PUSCH-FlexibleStartPRB-AllocConfig-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "ce-PUSCH-FlexibleStartPRB-AllocConfig-r15"); + assert_choice_type(types::setup, type_, "ce-PUSCH-FlexibleStartPRB-AllocConfig-r15"); return c; } void set_release(); @@ -6515,12 +6515,12 @@ struct pusch_cfg_ded_v1530_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "ce-PUSCH-SubPRB-Config-r15"); + assert_choice_type(types::setup, type_, "ce-PUSCH-SubPRB-Config-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "ce-PUSCH-SubPRB-Config-r15"); + assert_choice_type(types::setup, type_, "ce-PUSCH-SubPRB-Config-r15"); return c; } void set_release(); @@ -6582,22 +6582,22 @@ struct pusch_enhance_cfg_r14_c { // getters interv_fdd_pusch_enh_r14_e_& interv_fdd_pusch_enh_r14() { - assert_choice_type("interval-FDD-PUSCH-Enh-r14", type_.to_string(), "interval-ULHoppingPUSCH-Enh-r14"); + assert_choice_type(types::interv_fdd_pusch_enh_r14, type_, "interval-ULHoppingPUSCH-Enh-r14"); return c.get(); } interv_tdd_pusch_enh_r14_e_& interv_tdd_pusch_enh_r14() { - assert_choice_type("interval-TDD-PUSCH-Enh-r14", type_.to_string(), "interval-ULHoppingPUSCH-Enh-r14"); + assert_choice_type(types::interv_tdd_pusch_enh_r14, type_, "interval-ULHoppingPUSCH-Enh-r14"); return c.get(); } const interv_fdd_pusch_enh_r14_e_& interv_fdd_pusch_enh_r14() const { - assert_choice_type("interval-FDD-PUSCH-Enh-r14", type_.to_string(), "interval-ULHoppingPUSCH-Enh-r14"); + assert_choice_type(types::interv_fdd_pusch_enh_r14, type_, "interval-ULHoppingPUSCH-Enh-r14"); return c.get(); } const interv_tdd_pusch_enh_r14_e_& interv_tdd_pusch_enh_r14() const { - assert_choice_type("interval-TDD-PUSCH-Enh-r14", type_.to_string(), "interval-ULHoppingPUSCH-Enh-r14"); + assert_choice_type(types::interv_tdd_pusch_enh_r14, type_, "interval-ULHoppingPUSCH-Enh-r14"); return c.get(); } interv_fdd_pusch_enh_r14_e_& set_interv_fdd_pusch_enh_r14(); @@ -6628,12 +6628,12 @@ struct pusch_enhance_cfg_r14_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "PUSCH-EnhancementsConfig-r14"); + assert_choice_type(types::setup, type_, "PUSCH-EnhancementsConfig-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "PUSCH-EnhancementsConfig-r14"); + assert_choice_type(types::setup, type_, "PUSCH-EnhancementsConfig-r14"); return c; } void set_release(); @@ -6703,12 +6703,12 @@ struct phys_cfg_ded_stti_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "PhysicalConfigDedicatedSTTI-r15"); + assert_choice_type(types::setup, type_, "PhysicalConfigDedicatedSTTI-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "PhysicalConfigDedicatedSTTI-r15"); + assert_choice_type(types::setup, type_, "PhysicalConfigDedicatedSTTI-r15"); return c; } void set_release(); @@ -6746,12 +6746,12 @@ struct spucch_cfg_v1550_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SPUCCH-Config-v1550"); + assert_choice_type(types::setup, type_, "SPUCCH-Config-v1550"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SPUCCH-Config-v1550"); + assert_choice_type(types::setup, type_, "SPUCCH-Config-v1550"); return c; } void set_release(); @@ -6788,12 +6788,12 @@ struct srs_tpc_pdcch_cfg_r14_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SRS-TPC-PDCCH-Config-r14"); + assert_choice_type(types::setup, type_, "SRS-TPC-PDCCH-Config-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SRS-TPC-PDCCH-Config-r14"); + assert_choice_type(types::setup, type_, "SRS-TPC-PDCCH-Config-r14"); return c; } void set_release(); @@ -6833,12 +6833,12 @@ struct sched_request_cfg_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SchedulingRequestConfig"); + assert_choice_type(types::setup, type_, "SchedulingRequestConfig"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SchedulingRequestConfig"); + assert_choice_type(types::setup, type_, "SchedulingRequestConfig"); return c; } void set_release(); @@ -6911,12 +6911,12 @@ struct srs_ul_cfg_ded_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicated"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicated"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicated"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicated"); return c; } void set_release(); @@ -6981,12 +6981,12 @@ struct srs_ul_cfg_ded_v1310_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicated-v1310"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicated-v1310"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicated-v1310"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicated-v1310"); return c; } void set_release(); @@ -7022,12 +7022,12 @@ struct srs_ul_cfg_ded_aperiodic_r10_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "srs-ActivateAp-r10"); + assert_choice_type(types::setup, type_, "srs-ActivateAp-r10"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "srs-ActivateAp-r10"); + assert_choice_type(types::setup, type_, "srs-ActivateAp-r10"); return c; } void set_release(); @@ -7059,12 +7059,12 @@ struct srs_ul_cfg_ded_aperiodic_r10_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicatedAperiodic-r10"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicatedAperiodic-r10"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicatedAperiodic-r10"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicatedAperiodic-r10"); return c; } void set_release(); @@ -7100,12 +7100,12 @@ struct srs_ul_cfg_ded_aperiodic_v1310_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "srs-ActivateAp-v1310"); + assert_choice_type(types::setup, type_, "srs-ActivateAp-v1310"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "srs-ActivateAp-v1310"); + assert_choice_type(types::setup, type_, "srs-ActivateAp-v1310"); return c; } void set_release(); @@ -7136,12 +7136,12 @@ struct srs_ul_cfg_ded_aperiodic_v1310_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicatedAperiodic-v1310"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicatedAperiodic-v1310"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicatedAperiodic-v1310"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicatedAperiodic-v1310"); return c; } void set_release(); @@ -7183,12 +7183,12 @@ struct srs_ul_cfg_ded_aperiodic_up_pts_ext_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "srs-ActivateAp-r13"); + assert_choice_type(types::setup, type_, "srs-ActivateAp-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "srs-ActivateAp-r13"); + assert_choice_type(types::setup, type_, "srs-ActivateAp-r13"); return c; } void set_release(); @@ -7221,12 +7221,12 @@ struct srs_ul_cfg_ded_aperiodic_up_pts_ext_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicatedAperiodicUpPTsExt-r13"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicatedAperiodicUpPTsExt-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicatedAperiodicUpPTsExt-r13"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicatedAperiodicUpPTsExt-r13"); return c; } void set_release(); @@ -7307,12 +7307,12 @@ struct srs_ul_cfg_ded_up_pts_ext_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicatedUpPTsExt-r13"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicatedUpPTsExt-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicatedUpPTsExt-r13"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicatedUpPTsExt-r13"); return c; } void set_release(); @@ -7402,12 +7402,12 @@ struct ul_pwr_ctrl_ded_v1250_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "set2PowerControlParameter"); + assert_choice_type(types::setup, type_, "set2PowerControlParameter"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "set2PowerControlParameter"); + assert_choice_type(types::setup, type_, "set2PowerControlParameter"); return c; } void set_release(); @@ -7464,12 +7464,12 @@ struct phys_cfg_ded_s { // getters ant_info_ded_s& explicit_value() { - assert_choice_type("explicitValue", type_.to_string(), "antennaInfo"); + assert_choice_type(types::explicit_value, type_, "antennaInfo"); return c; } const ant_info_ded_s& explicit_value() const { - assert_choice_type("explicitValue", type_.to_string(), "antennaInfo"); + assert_choice_type(types::explicit_value, type_, "antennaInfo"); return c; } ant_info_ded_s& set_explicit_value(); @@ -7497,12 +7497,12 @@ struct phys_cfg_ded_s { // getters ant_info_ded_r10_s& explicit_value_r10() { - assert_choice_type("explicitValue-r10", type_.to_string(), "antennaInfo-r10"); + assert_choice_type(types::explicit_value_r10, type_, "antennaInfo-r10"); return c; } const ant_info_ded_r10_s& explicit_value_r10() const { - assert_choice_type("explicitValue-r10", type_.to_string(), "antennaInfo-r10"); + assert_choice_type(types::explicit_value_r10, type_, "antennaInfo-r10"); return c; } ant_info_ded_r10_s& set_explicit_value_r10(); @@ -7528,12 +7528,12 @@ struct phys_cfg_ded_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "additionalSpectrumEmissionCA-r10"); + assert_choice_type(types::setup, type_, "additionalSpectrumEmissionCA-r10"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "additionalSpectrumEmissionCA-r10"); + assert_choice_type(types::setup, type_, "additionalSpectrumEmissionCA-r10"); return c; } void set_release(); @@ -7562,12 +7562,12 @@ struct phys_cfg_ded_s { // getters setup_e_& setup() { - assert_choice_type("setup", type_.to_string(), "ce-Mode-r13"); + assert_choice_type(types::setup, type_, "ce-Mode-r13"); return c; } const setup_e_& setup() const { - assert_choice_type("setup", type_.to_string(), "ce-Mode-r13"); + assert_choice_type(types::setup, type_, "ce-Mode-r13"); return c; } void set_release(); @@ -7591,12 +7591,12 @@ struct phys_cfg_ded_s { // getters setup_l_& setup() { - assert_choice_type("setup", type_.to_string(), "typeA-SRS-TPC-PDCCH-Group-r14"); + assert_choice_type(types::setup, type_, "typeA-SRS-TPC-PDCCH-Group-r14"); return c; } const setup_l_& setup() const { - assert_choice_type("setup", type_.to_string(), "typeA-SRS-TPC-PDCCH-Group-r14"); + assert_choice_type(types::setup, type_, "typeA-SRS-TPC-PDCCH-Group-r14"); return c; } void set_release(); @@ -7643,12 +7643,12 @@ struct phys_cfg_ded_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "must-Config-r14"); + assert_choice_type(types::setup, type_, "must-Config-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "must-Config-r14"); + assert_choice_type(types::setup, type_, "must-Config-r14"); return c; } void set_release(); @@ -7684,22 +7684,22 @@ struct phys_cfg_ded_s { // getters cfi_cfg_r15_s& cfi_cfg_r15() { - assert_choice_type("cfi-Config-r15", type_.to_string(), "setup"); + assert_choice_type(types::cfi_cfg_r15, type_, "setup"); return c.get(); } cfi_pattern_cfg_r15_s& cfi_pattern_cfg_r15() { - assert_choice_type("cfi-PatternConfig-r15", type_.to_string(), "setup"); + assert_choice_type(types::cfi_pattern_cfg_r15, type_, "setup"); return c.get(); } const cfi_cfg_r15_s& cfi_cfg_r15() const { - assert_choice_type("cfi-Config-r15", type_.to_string(), "setup"); + assert_choice_type(types::cfi_cfg_r15, type_, "setup"); return c.get(); } const cfi_pattern_cfg_r15_s& cfi_pattern_cfg_r15() const { - assert_choice_type("cfi-PatternConfig-r15", type_.to_string(), "setup"); + assert_choice_type(types::cfi_pattern_cfg_r15, type_, "setup"); return c.get(); } cfi_cfg_r15_s& set_cfi_cfg_r15(); @@ -7723,12 +7723,12 @@ struct phys_cfg_ded_s { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "semiStaticCFI-Config-r15"); + assert_choice_type(types::setup, type_, "semiStaticCFI-Config-r15"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "semiStaticCFI-Config-r15"); + assert_choice_type(types::setup, type_, "semiStaticCFI-Config-r15"); return c; } void set_release(); @@ -7822,12 +7822,12 @@ struct phys_cfg_ded_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "blindPDSCH-Repetition-Config-r15"); + assert_choice_type(types::setup, type_, "blindPDSCH-Repetition-Config-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "blindPDSCH-Repetition-Config-r15"); + assert_choice_type(types::setup, type_, "blindPDSCH-Repetition-Config-r15"); return c; } void set_release(); diff --git a/lib/include/srsran/asn1/rrc/rr_common.h b/lib/include/srsran/asn1/rrc/rr_common.h index 4822c9da7..c6b2b0f85 100644 --- a/lib/include/srsran/asn1/rrc/rr_common.h +++ b/lib/include/srsran/asn1/rrc/rr_common.h @@ -81,22 +81,22 @@ struct plmn_id_info_r15_s { // getters plmn_id_s& plmn_id_r15() { - assert_choice_type("plmn-Identity-r15", type_.to_string(), "plmn-Identity-5GC-r15"); + assert_choice_type(types::plmn_id_r15, type_, "plmn-Identity-5GC-r15"); return c.get(); } uint8_t& plmn_idx_r15() { - assert_choice_type("plmn-Index-r15", type_.to_string(), "plmn-Identity-5GC-r15"); + assert_choice_type(types::plmn_idx_r15, type_, "plmn-Identity-5GC-r15"); return c.get(); } const plmn_id_s& plmn_id_r15() const { - assert_choice_type("plmn-Identity-r15", type_.to_string(), "plmn-Identity-5GC-r15"); + assert_choice_type(types::plmn_id_r15, type_, "plmn-Identity-5GC-r15"); return c.get(); } const uint8_t& plmn_idx_r15() const { - assert_choice_type("plmn-Index-r15", type_.to_string(), "plmn-Identity-5GC-r15"); + assert_choice_type(types::plmn_idx_r15, type_, "plmn-Identity-5GC-r15"); return c.get(); } plmn_id_s& set_plmn_id_r15(); @@ -154,22 +154,22 @@ struct cell_id_minus5_gc_r15_c { // getters fixed_bitstring<28>& cell_id_r15() { - assert_choice_type("cellIdentity-r15", type_.to_string(), "CellIdentity-5GC-r15"); + assert_choice_type(types::cell_id_r15, type_, "CellIdentity-5GC-r15"); return c.get >(); } uint8_t& cell_id_idx_r15() { - assert_choice_type("cellId-Index-r15", type_.to_string(), "CellIdentity-5GC-r15"); + assert_choice_type(types::cell_id_idx_r15, type_, "CellIdentity-5GC-r15"); return c.get(); } const fixed_bitstring<28>& cell_id_r15() const { - assert_choice_type("cellIdentity-r15", type_.to_string(), "CellIdentity-5GC-r15"); + assert_choice_type(types::cell_id_r15, type_, "CellIdentity-5GC-r15"); return c.get >(); } const uint8_t& cell_id_idx_r15() const { - assert_choice_type("cellId-Index-r15", type_.to_string(), "CellIdentity-5GC-r15"); + assert_choice_type(types::cell_id_idx_r15, type_, "CellIdentity-5GC-r15"); return c.get(); } fixed_bitstring<28>& set_cell_id_r15(); @@ -648,12 +648,12 @@ struct delta_flist_spucch_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "DeltaFList-SPUCCH-r15"); + assert_choice_type(types::setup, type_, "DeltaFList-SPUCCH-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "DeltaFList-SPUCCH-r15"); + assert_choice_type(types::setup, type_, "DeltaFList-SPUCCH-r15"); return c; } void set_release(); @@ -871,22 +871,22 @@ struct freq_hop_params_r13_s { // getters interv_fdd_r13_e_& interv_fdd_r13() { - assert_choice_type("interval-FDD-r13", type_.to_string(), "dummy2"); + assert_choice_type(types::interv_fdd_r13, type_, "dummy2"); return c.get(); } interv_tdd_r13_e_& interv_tdd_r13() { - assert_choice_type("interval-TDD-r13", type_.to_string(), "dummy2"); + assert_choice_type(types::interv_tdd_r13, type_, "dummy2"); return c.get(); } const interv_fdd_r13_e_& interv_fdd_r13() const { - assert_choice_type("interval-FDD-r13", type_.to_string(), "dummy2"); + assert_choice_type(types::interv_fdd_r13, type_, "dummy2"); return c.get(); } const interv_tdd_r13_e_& interv_tdd_r13() const { - assert_choice_type("interval-TDD-r13", type_.to_string(), "dummy2"); + assert_choice_type(types::interv_tdd_r13, type_, "dummy2"); return c.get(); } interv_fdd_r13_e_& set_interv_fdd_r13(); @@ -935,22 +935,22 @@ struct freq_hop_params_r13_s { // getters interv_fdd_r13_e_& interv_fdd_r13() { - assert_choice_type("interval-FDD-r13", type_.to_string(), "dummy3"); + assert_choice_type(types::interv_fdd_r13, type_, "dummy3"); return c.get(); } interv_tdd_r13_e_& interv_tdd_r13() { - assert_choice_type("interval-TDD-r13", type_.to_string(), "dummy3"); + assert_choice_type(types::interv_tdd_r13, type_, "dummy3"); return c.get(); } const interv_fdd_r13_e_& interv_fdd_r13() const { - assert_choice_type("interval-FDD-r13", type_.to_string(), "dummy3"); + assert_choice_type(types::interv_fdd_r13, type_, "dummy3"); return c.get(); } const interv_tdd_r13_e_& interv_tdd_r13() const { - assert_choice_type("interval-TDD-r13", type_.to_string(), "dummy3"); + assert_choice_type(types::interv_tdd_r13, type_, "dummy3"); return c.get(); } interv_fdd_r13_e_& set_interv_fdd_r13(); @@ -999,22 +999,22 @@ struct freq_hop_params_r13_s { // getters interv_fdd_r13_e_& interv_fdd_r13() { - assert_choice_type("interval-FDD-r13", type_.to_string(), "interval-ULHoppingConfigCommonModeA-r13"); + assert_choice_type(types::interv_fdd_r13, type_, "interval-ULHoppingConfigCommonModeA-r13"); return c.get(); } interv_tdd_r13_e_& interv_tdd_r13() { - assert_choice_type("interval-TDD-r13", type_.to_string(), "interval-ULHoppingConfigCommonModeA-r13"); + assert_choice_type(types::interv_tdd_r13, type_, "interval-ULHoppingConfigCommonModeA-r13"); return c.get(); } const interv_fdd_r13_e_& interv_fdd_r13() const { - assert_choice_type("interval-FDD-r13", type_.to_string(), "interval-ULHoppingConfigCommonModeA-r13"); + assert_choice_type(types::interv_fdd_r13, type_, "interval-ULHoppingConfigCommonModeA-r13"); return c.get(); } const interv_tdd_r13_e_& interv_tdd_r13() const { - assert_choice_type("interval-TDD-r13", type_.to_string(), "interval-ULHoppingConfigCommonModeA-r13"); + assert_choice_type(types::interv_tdd_r13, type_, "interval-ULHoppingConfigCommonModeA-r13"); return c.get(); } interv_fdd_r13_e_& set_interv_fdd_r13(); @@ -1063,22 +1063,22 @@ struct freq_hop_params_r13_s { // getters interv_fdd_r13_e_& interv_fdd_r13() { - assert_choice_type("interval-FDD-r13", type_.to_string(), "interval-ULHoppingConfigCommonModeB-r13"); + assert_choice_type(types::interv_fdd_r13, type_, "interval-ULHoppingConfigCommonModeB-r13"); return c.get(); } interv_tdd_r13_e_& interv_tdd_r13() { - assert_choice_type("interval-TDD-r13", type_.to_string(), "interval-ULHoppingConfigCommonModeB-r13"); + assert_choice_type(types::interv_tdd_r13, type_, "interval-ULHoppingConfigCommonModeB-r13"); return c.get(); } const interv_fdd_r13_e_& interv_fdd_r13() const { - assert_choice_type("interval-FDD-r13", type_.to_string(), "interval-ULHoppingConfigCommonModeB-r13"); + assert_choice_type(types::interv_fdd_r13, type_, "interval-ULHoppingConfigCommonModeB-r13"); return c.get(); } const interv_tdd_r13_e_& interv_tdd_r13() const { - assert_choice_type("interval-TDD-r13", type_.to_string(), "interval-ULHoppingConfigCommonModeB-r13"); + assert_choice_type(types::interv_tdd_r13, type_, "interval-ULHoppingConfigCommonModeB-r13"); return c.get(); } interv_fdd_r13_e_& set_interv_fdd_r13(); @@ -1311,22 +1311,22 @@ struct prach_cfg_sib_v1310_s { // getters fdd_r13_e_& fdd_r13() { - assert_choice_type("fdd-r13", type_.to_string(), "mpdcch-startSF-CSS-RA-r13"); + assert_choice_type(types::fdd_r13, type_, "mpdcch-startSF-CSS-RA-r13"); return c.get(); } tdd_r13_e_& tdd_r13() { - assert_choice_type("tdd-r13", type_.to_string(), "mpdcch-startSF-CSS-RA-r13"); + assert_choice_type(types::tdd_r13, type_, "mpdcch-startSF-CSS-RA-r13"); return c.get(); } const fdd_r13_e_& fdd_r13() const { - assert_choice_type("fdd-r13", type_.to_string(), "mpdcch-startSF-CSS-RA-r13"); + assert_choice_type(types::fdd_r13, type_, "mpdcch-startSF-CSS-RA-r13"); return c.get(); } const tdd_r13_e_& tdd_r13() const { - assert_choice_type("tdd-r13", type_.to_string(), "mpdcch-startSF-CSS-RA-r13"); + assert_choice_type(types::tdd_r13, type_, "mpdcch-startSF-CSS-RA-r13"); return c.get(); } fdd_r13_e_& set_fdd_r13(); @@ -1766,12 +1766,12 @@ struct srs_ul_cfg_common_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigCommon"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigCommon"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigCommon"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigCommon"); return c; } void set_release(); @@ -2411,22 +2411,22 @@ struct prach_cfg_v1310_s { // getters fdd_r13_e_& fdd_r13() { - assert_choice_type("fdd-r13", type_.to_string(), "mpdcch-startSF-CSS-RA-r13"); + assert_choice_type(types::fdd_r13, type_, "mpdcch-startSF-CSS-RA-r13"); return c.get(); } tdd_r13_e_& tdd_r13() { - assert_choice_type("tdd-r13", type_.to_string(), "mpdcch-startSF-CSS-RA-r13"); + assert_choice_type(types::tdd_r13, type_, "mpdcch-startSF-CSS-RA-r13"); return c.get(); } const fdd_r13_e_& fdd_r13() const { - assert_choice_type("fdd-r13", type_.to_string(), "mpdcch-startSF-CSS-RA-r13"); + assert_choice_type(types::fdd_r13, type_, "mpdcch-startSF-CSS-RA-r13"); return c.get(); } const tdd_r13_e_& tdd_r13() const { - assert_choice_type("tdd-r13", type_.to_string(), "mpdcch-startSF-CSS-RA-r13"); + assert_choice_type(types::tdd_r13, type_, "mpdcch-startSF-CSS-RA-r13"); return c.get(); } fdd_r13_e_& set_fdd_r13(); diff --git a/lib/include/srsran/asn1/rrc/rr_ded.h b/lib/include/srsran/asn1/rrc/rr_ded.h index a26235846..7664ae2cf 100644 --- a/lib/include/srsran/asn1/rrc/rr_ded.h +++ b/lib/include/srsran/asn1/rrc/rr_ded.h @@ -519,12 +519,12 @@ struct lc_ch_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "allowedTTI-Lengths-r15"); + assert_choice_type(types::setup, type_, "allowedTTI-Lengths-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "allowedTTI-Lengths-r15"); + assert_choice_type(types::setup, type_, "allowedTTI-Lengths-r15"); return c; } void set_release(); @@ -555,12 +555,12 @@ struct lc_ch_cfg_s { // getters setup_e_& setup() { - assert_choice_type("setup", type_.to_string(), "logicalChannelSR-Restriction-r15"); + assert_choice_type(types::setup, type_, "logicalChannelSR-Restriction-r15"); return c; } const setup_e_& setup() const { - assert_choice_type("setup", type_.to_string(), "logicalChannelSR-Restriction-r15"); + assert_choice_type(types::setup, type_, "logicalChannelSR-Restriction-r15"); return c; } void set_release(); @@ -585,12 +585,12 @@ struct lc_ch_cfg_s { // getters uint8_t& setup() { - assert_choice_type("setup", type_.to_string(), "channelAccessPriority-r15"); + assert_choice_type(types::setup, type_, "channelAccessPriority-r15"); return c; } const uint8_t& setup() const { - assert_choice_type("setup", type_.to_string(), "channelAccessPriority-r15"); + assert_choice_type(types::setup, type_, "channelAccessPriority-r15"); return c; } void set_release(); @@ -691,42 +691,42 @@ struct rlc_cfg_r15_s { // getters am_r15_s_& am_r15() { - assert_choice_type("am-r15", type_.to_string(), "mode-r15"); + assert_choice_type(types::am_r15, type_, "mode-r15"); return c.get(); } um_bi_dir_r15_s_& um_bi_dir_r15() { - assert_choice_type("um-Bi-Directional-r15", type_.to_string(), "mode-r15"); + assert_choice_type(types::um_bi_dir_r15, type_, "mode-r15"); return c.get(); } um_uni_dir_ul_r15_s_& um_uni_dir_ul_r15() { - assert_choice_type("um-Uni-Directional-UL-r15", type_.to_string(), "mode-r15"); + assert_choice_type(types::um_uni_dir_ul_r15, type_, "mode-r15"); return c.get(); } um_uni_dir_dl_r15_s_& um_uni_dir_dl_r15() { - assert_choice_type("um-Uni-Directional-DL-r15", type_.to_string(), "mode-r15"); + assert_choice_type(types::um_uni_dir_dl_r15, type_, "mode-r15"); return c.get(); } const am_r15_s_& am_r15() const { - assert_choice_type("am-r15", type_.to_string(), "mode-r15"); + assert_choice_type(types::am_r15, type_, "mode-r15"); return c.get(); } const um_bi_dir_r15_s_& um_bi_dir_r15() const { - assert_choice_type("um-Bi-Directional-r15", type_.to_string(), "mode-r15"); + assert_choice_type(types::um_bi_dir_r15, type_, "mode-r15"); return c.get(); } const um_uni_dir_ul_r15_s_& um_uni_dir_ul_r15() const { - assert_choice_type("um-Uni-Directional-UL-r15", type_.to_string(), "mode-r15"); + assert_choice_type(types::um_uni_dir_ul_r15, type_, "mode-r15"); return c.get(); } const um_uni_dir_dl_r15_s_& um_uni_dir_dl_r15() const { - assert_choice_type("um-Uni-Directional-DL-r15", type_.to_string(), "mode-r15"); + assert_choice_type(types::um_uni_dir_dl_r15, type_, "mode-r15"); return c.get(); } am_r15_s_& set_am_r15(); @@ -953,12 +953,12 @@ struct pdcp_cfg_s { // getters rohc_s_& rohc() { - assert_choice_type("rohc", type_.to_string(), "headerCompression"); + assert_choice_type(types::rohc, type_, "headerCompression"); return c; } const rohc_s_& rohc() const { - assert_choice_type("rohc", type_.to_string(), "headerCompression"); + assert_choice_type(types::rohc, type_, "headerCompression"); return c; } void set_not_used(); @@ -1051,12 +1051,12 @@ struct pdcp_cfg_s { // getters setup_e_& setup() { - assert_choice_type("setup", type_.to_string(), "ul-DataSplitThreshold-r13"); + assert_choice_type(types::setup, type_, "ul-DataSplitThreshold-r13"); return c; } const setup_e_& setup() const { - assert_choice_type("setup", type_.to_string(), "ul-DataSplitThreshold-r13"); + assert_choice_type(types::setup, type_, "ul-DataSplitThreshold-r13"); return c; } void set_release(); @@ -1171,12 +1171,12 @@ struct pdcp_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "statusFeedback-r13"); + assert_choice_type(types::setup, type_, "statusFeedback-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "statusFeedback-r13"); + assert_choice_type(types::setup, type_, "statusFeedback-r13"); return c; } void set_release(); @@ -1233,12 +1233,12 @@ struct pdcp_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "ul-LWA-Config-r14"); + assert_choice_type(types::setup, type_, "ul-LWA-Config-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "ul-LWA-Config-r14"); + assert_choice_type(types::setup, type_, "ul-LWA-Config-r14"); return c; } void set_release(); @@ -1280,12 +1280,12 @@ struct pdcp_cfg_s { // getters rohc_r14_s_& rohc_r14() { - assert_choice_type("rohc-r14", type_.to_string(), "uplinkOnlyHeaderCompression-r14"); + assert_choice_type(types::rohc_r14, type_, "uplinkOnlyHeaderCompression-r14"); return c; } const rohc_r14_s_& rohc_r14() const { - assert_choice_type("rohc-r14", type_.to_string(), "uplinkOnlyHeaderCompression-r14"); + assert_choice_type(types::rohc_r14, type_, "uplinkOnlyHeaderCompression-r14"); return c; } void set_not_used_r14(); @@ -1344,12 +1344,12 @@ struct pdcp_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "pdcp-DuplicationConfig-r15"); + assert_choice_type(types::setup, type_, "pdcp-DuplicationConfig-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "pdcp-DuplicationConfig-r15"); + assert_choice_type(types::setup, type_, "pdcp-DuplicationConfig-r15"); return c; } void set_release(); @@ -1424,22 +1424,22 @@ struct rlc_bearer_cfg_r15_c { // getters uint8_t& lc_ch_id_r15() { - assert_choice_type("logicalChannelIdentity-r15", type_.to_string(), "logicalChannelIdentityConfig-r15"); + assert_choice_type(types::lc_ch_id_r15, type_, "logicalChannelIdentityConfig-r15"); return c.get(); } uint8_t& lc_ch_id_ext_r15() { - assert_choice_type("logicalChannelIdentityExt-r15", type_.to_string(), "logicalChannelIdentityConfig-r15"); + assert_choice_type(types::lc_ch_id_ext_r15, type_, "logicalChannelIdentityConfig-r15"); return c.get(); } const uint8_t& lc_ch_id_r15() const { - assert_choice_type("logicalChannelIdentity-r15", type_.to_string(), "logicalChannelIdentityConfig-r15"); + assert_choice_type(types::lc_ch_id_r15, type_, "logicalChannelIdentityConfig-r15"); return c.get(); } const uint8_t& lc_ch_id_ext_r15() const { - assert_choice_type("logicalChannelIdentityExt-r15", type_.to_string(), "logicalChannelIdentityConfig-r15"); + assert_choice_type(types::lc_ch_id_ext_r15, type_, "logicalChannelIdentityConfig-r15"); return c.get(); } uint8_t& set_lc_ch_id_r15(); @@ -1473,12 +1473,12 @@ struct rlc_bearer_cfg_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "RLC-BearerConfig-r15"); + assert_choice_type(types::setup, type_, "RLC-BearerConfig-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "RLC-BearerConfig-r15"); + assert_choice_type(types::setup, type_, "RLC-BearerConfig-r15"); return c; } void set_release(); @@ -1527,42 +1527,42 @@ struct rlc_cfg_c { // getters am_s_& am() { - assert_choice_type("am", type_.to_string(), "RLC-Config"); + assert_choice_type(types::am, type_, "RLC-Config"); return c.get(); } um_bi_dir_s_& um_bi_dir() { - assert_choice_type("um-Bi-Directional", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_bi_dir, type_, "RLC-Config"); return c.get(); } um_uni_dir_ul_s_& um_uni_dir_ul() { - assert_choice_type("um-Uni-Directional-UL", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_uni_dir_ul, type_, "RLC-Config"); return c.get(); } um_uni_dir_dl_s_& um_uni_dir_dl() { - assert_choice_type("um-Uni-Directional-DL", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_uni_dir_dl, type_, "RLC-Config"); return c.get(); } const am_s_& am() const { - assert_choice_type("am", type_.to_string(), "RLC-Config"); + assert_choice_type(types::am, type_, "RLC-Config"); return c.get(); } const um_bi_dir_s_& um_bi_dir() const { - assert_choice_type("um-Bi-Directional", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_bi_dir, type_, "RLC-Config"); return c.get(); } const um_uni_dir_ul_s_& um_uni_dir_ul() const { - assert_choice_type("um-Uni-Directional-UL", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_uni_dir_ul, type_, "RLC-Config"); return c.get(); } const um_uni_dir_dl_s_& um_uni_dir_dl() const { - assert_choice_type("um-Uni-Directional-DL", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_uni_dir_dl, type_, "RLC-Config"); return c.get(); } am_s_& set_am(); @@ -1624,12 +1624,12 @@ struct rlc_cfg_v1430_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "RLC-Config-v1430"); + assert_choice_type(types::setup, type_, "RLC-Config-v1430"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "RLC-Config-v1430"); + assert_choice_type(types::setup, type_, "RLC-Config-v1430"); return c; } void set_release(); @@ -1771,12 +1771,12 @@ struct sps_cfg_ul_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "p0-PersistentSubframeSet2-r12"); + assert_choice_type(types::setup, type_, "p0-PersistentSubframeSet2-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "p0-PersistentSubframeSet2-r12"); + assert_choice_type(types::setup, type_, "p0-PersistentSubframeSet2-r12"); return c; } void set_release(); @@ -1890,12 +1890,12 @@ struct sps_cfg_ul_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SPS-ConfigUL"); + assert_choice_type(types::setup, type_, "SPS-ConfigUL"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SPS-ConfigUL"); + assert_choice_type(types::setup, type_, "SPS-ConfigUL"); return c; } void set_release(); @@ -1966,12 +1966,12 @@ struct sps_cfg_ul_stti_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "p0-PersistentSubframeSet2-r15"); + assert_choice_type(types::setup, type_, "p0-PersistentSubframeSet2-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "p0-PersistentSubframeSet2-r15"); + assert_choice_type(types::setup, type_, "p0-PersistentSubframeSet2-r15"); return c; } void set_release(); @@ -2059,12 +2059,12 @@ struct sps_cfg_ul_stti_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SPS-ConfigUL-STTI-r15"); + assert_choice_type(types::setup, type_, "SPS-ConfigUL-STTI-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SPS-ConfigUL-STTI-r15"); + assert_choice_type(types::setup, type_, "SPS-ConfigUL-STTI-r15"); return c; } void set_release(); @@ -2279,162 +2279,162 @@ struct drx_cfg_c { // getters uint8_t& sf10() { - assert_choice_type("sf10", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf10, type_, "longDRX-CycleStartOffset"); return c.get(); } uint8_t& sf20() { - assert_choice_type("sf20", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf20, type_, "longDRX-CycleStartOffset"); return c.get(); } uint8_t& sf32() { - assert_choice_type("sf32", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf32, type_, "longDRX-CycleStartOffset"); return c.get(); } uint8_t& sf40() { - assert_choice_type("sf40", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf40, type_, "longDRX-CycleStartOffset"); return c.get(); } uint8_t& sf64() { - assert_choice_type("sf64", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf64, type_, "longDRX-CycleStartOffset"); return c.get(); } uint8_t& sf80() { - assert_choice_type("sf80", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf80, type_, "longDRX-CycleStartOffset"); return c.get(); } uint8_t& sf128() { - assert_choice_type("sf128", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf128, type_, "longDRX-CycleStartOffset"); return c.get(); } uint8_t& sf160() { - assert_choice_type("sf160", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf160, type_, "longDRX-CycleStartOffset"); return c.get(); } uint16_t& sf256() { - assert_choice_type("sf256", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf256, type_, "longDRX-CycleStartOffset"); return c.get(); } uint16_t& sf320() { - assert_choice_type("sf320", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf320, type_, "longDRX-CycleStartOffset"); return c.get(); } uint16_t& sf512() { - assert_choice_type("sf512", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf512, type_, "longDRX-CycleStartOffset"); return c.get(); } uint16_t& sf640() { - assert_choice_type("sf640", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf640, type_, "longDRX-CycleStartOffset"); return c.get(); } uint16_t& sf1024() { - assert_choice_type("sf1024", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf1024, type_, "longDRX-CycleStartOffset"); return c.get(); } uint16_t& sf1280() { - assert_choice_type("sf1280", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf1280, type_, "longDRX-CycleStartOffset"); return c.get(); } uint16_t& sf2048() { - assert_choice_type("sf2048", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf2048, type_, "longDRX-CycleStartOffset"); return c.get(); } uint16_t& sf2560() { - assert_choice_type("sf2560", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf2560, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint8_t& sf10() const { - assert_choice_type("sf10", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf10, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint8_t& sf20() const { - assert_choice_type("sf20", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf20, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint8_t& sf32() const { - assert_choice_type("sf32", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf32, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint8_t& sf40() const { - assert_choice_type("sf40", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf40, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint8_t& sf64() const { - assert_choice_type("sf64", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf64, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint8_t& sf80() const { - assert_choice_type("sf80", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf80, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint8_t& sf128() const { - assert_choice_type("sf128", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf128, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint8_t& sf160() const { - assert_choice_type("sf160", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf160, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint16_t& sf256() const { - assert_choice_type("sf256", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf256, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint16_t& sf320() const { - assert_choice_type("sf320", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf320, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint16_t& sf512() const { - assert_choice_type("sf512", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf512, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint16_t& sf640() const { - assert_choice_type("sf640", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf640, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint16_t& sf1024() const { - assert_choice_type("sf1024", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf1024, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint16_t& sf1280() const { - assert_choice_type("sf1280", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf1280, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint16_t& sf2048() const { - assert_choice_type("sf2048", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf2048, type_, "longDRX-CycleStartOffset"); return c.get(); } const uint16_t& sf2560() const { - assert_choice_type("sf2560", type_.to_string(), "longDRX-CycleStartOffset"); + assert_choice_type(types::sf2560, type_, "longDRX-CycleStartOffset"); return c.get(); } uint8_t& set_sf10(); @@ -2513,12 +2513,12 @@ struct drx_cfg_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "DRX-Config"); + assert_choice_type(types::setup, type_, "DRX-Config"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "DRX-Config"); + assert_choice_type(types::setup, type_, "DRX-Config"); return c; } void set_release(); @@ -2664,22 +2664,22 @@ struct drx_cfg_v1130_s { // getters uint8_t& sf60_v1130() { - assert_choice_type("sf60-v1130", type_.to_string(), "longDRX-CycleStartOffset-v1130"); + assert_choice_type(types::sf60_v1130, type_, "longDRX-CycleStartOffset-v1130"); return c.get(); } uint8_t& sf70_v1130() { - assert_choice_type("sf70-v1130", type_.to_string(), "longDRX-CycleStartOffset-v1130"); + assert_choice_type(types::sf70_v1130, type_, "longDRX-CycleStartOffset-v1130"); return c.get(); } const uint8_t& sf60_v1130() const { - assert_choice_type("sf60-v1130", type_.to_string(), "longDRX-CycleStartOffset-v1130"); + assert_choice_type(types::sf60_v1130, type_, "longDRX-CycleStartOffset-v1130"); return c.get(); } const uint8_t& sf70_v1130() const { - assert_choice_type("sf70-v1130", type_.to_string(), "longDRX-CycleStartOffset-v1130"); + assert_choice_type(types::sf70_v1130, type_, "longDRX-CycleStartOffset-v1130"); return c.get(); } uint8_t& set_sf60_v1130(); @@ -2821,12 +2821,12 @@ struct sps_cfg_dl_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "twoAntennaPortActivated-r10"); + assert_choice_type(types::setup, type_, "twoAntennaPortActivated-r10"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "twoAntennaPortActivated-r10"); + assert_choice_type(types::setup, type_, "twoAntennaPortActivated-r10"); return c; } void set_release(); @@ -2867,12 +2867,12 @@ struct sps_cfg_dl_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SPS-ConfigDL"); + assert_choice_type(types::setup, type_, "SPS-ConfigDL"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SPS-ConfigDL"); + assert_choice_type(types::setup, type_, "SPS-ConfigDL"); return c; } void set_release(); @@ -2928,12 +2928,12 @@ struct sps_cfg_dl_stti_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "twoAntennaPortActivated-r15"); + assert_choice_type(types::setup, type_, "twoAntennaPortActivated-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "twoAntennaPortActivated-r15"); + assert_choice_type(types::setup, type_, "twoAntennaPortActivated-r15"); return c; } void set_release(); @@ -2967,12 +2967,12 @@ struct sps_cfg_dl_stti_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SPS-ConfigDL-STTI-r15"); + assert_choice_type(types::setup, type_, "SPS-ConfigDL-STTI-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SPS-ConfigDL-STTI-r15"); + assert_choice_type(types::setup, type_, "SPS-ConfigDL-STTI-r15"); return c; } void set_release(); @@ -3029,12 +3029,12 @@ struct srb_to_add_mod_s { // getters rlc_cfg_c& explicit_value() { - assert_choice_type("explicitValue", type_.to_string(), "rlc-Config"); + assert_choice_type(types::explicit_value, type_, "rlc-Config"); return c; } const rlc_cfg_c& explicit_value() const { - assert_choice_type("explicitValue", type_.to_string(), "rlc-Config"); + assert_choice_type(types::explicit_value, type_, "rlc-Config"); return c; } rlc_cfg_c& set_explicit_value(); @@ -3064,12 +3064,12 @@ struct srb_to_add_mod_s { // getters lc_ch_cfg_s& explicit_value() { - assert_choice_type("explicitValue", type_.to_string(), "logicalChannelConfig"); + assert_choice_type(types::explicit_value, type_, "logicalChannelConfig"); return c; } const lc_ch_cfg_s& explicit_value() const { - assert_choice_type("explicitValue", type_.to_string(), "logicalChannelConfig"); + assert_choice_type(types::explicit_value, type_, "logicalChannelConfig"); return c; } lc_ch_cfg_s& set_explicit_value(); @@ -3187,12 +3187,12 @@ struct mac_main_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "phr-Config"); + assert_choice_type(types::setup, type_, "phr-Config"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "phr-Config"); + assert_choice_type(types::setup, type_, "phr-Config"); return c; } void set_release(); @@ -3242,12 +3242,12 @@ struct mac_main_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "dualConnectivityPHR"); + assert_choice_type(types::setup, type_, "dualConnectivityPHR"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "dualConnectivityPHR"); + assert_choice_type(types::setup, type_, "dualConnectivityPHR"); return c; } void set_release(); @@ -3283,12 +3283,12 @@ struct mac_main_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "logicalChannelSR-Config-r12"); + assert_choice_type(types::setup, type_, "logicalChannelSR-Config-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "logicalChannelSR-Config-r12"); + assert_choice_type(types::setup, type_, "logicalChannelSR-Config-r12"); return c; } void set_release(); @@ -3322,22 +3322,22 @@ struct mac_main_cfg_s { // getters uint8_t& sf5120() { - assert_choice_type("sf5120", type_.to_string(), "setup"); + assert_choice_type(types::sf5120, type_, "setup"); return c.get(); } uint8_t& sf10240() { - assert_choice_type("sf10240", type_.to_string(), "setup"); + assert_choice_type(types::sf10240, type_, "setup"); return c.get(); } const uint8_t& sf5120() const { - assert_choice_type("sf5120", type_.to_string(), "setup"); + assert_choice_type(types::sf5120, type_, "setup"); return c.get(); } const uint8_t& sf10240() const { - assert_choice_type("sf10240", type_.to_string(), "setup"); + assert_choice_type(types::sf10240, type_, "setup"); return c.get(); } uint8_t& set_sf5120(); @@ -3361,12 +3361,12 @@ struct mac_main_cfg_s { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "eDRX-Config-CycleStartOffset-r13"); + assert_choice_type(types::setup, type_, "eDRX-Config-CycleStartOffset-r13"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "eDRX-Config-CycleStartOffset-r13"); + assert_choice_type(types::setup, type_, "eDRX-Config-CycleStartOffset-r13"); return c; } void set_release(); @@ -3389,12 +3389,12 @@ struct mac_main_cfg_s { // getters drx_cfg_r13_s& setup() { - assert_choice_type("setup", type_.to_string(), "drx-Config-r13"); + assert_choice_type(types::setup, type_, "drx-Config-r13"); return c; } const drx_cfg_r13_s& setup() const { - assert_choice_type("setup", type_.to_string(), "drx-Config-r13"); + assert_choice_type(types::setup, type_, "drx-Config-r13"); return c; } void set_release(); @@ -3421,12 +3421,12 @@ struct mac_main_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "skipUplinkTx-r14"); + assert_choice_type(types::setup, type_, "skipUplinkTx-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "skipUplinkTx-r14"); + assert_choice_type(types::setup, type_, "skipUplinkTx-r14"); return c; } void set_release(); @@ -3452,12 +3452,12 @@ struct mac_main_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "dataInactivityTimerConfig-r14"); + assert_choice_type(types::setup, type_, "dataInactivityTimerConfig-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "dataInactivityTimerConfig-r14"); + assert_choice_type(types::setup, type_, "dataInactivityTimerConfig-r14"); return c; } void set_release(); @@ -3524,12 +3524,12 @@ struct mac_main_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "shortTTI-AndSPT-r15"); + assert_choice_type(types::setup, type_, "shortTTI-AndSPT-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "shortTTI-AndSPT-r15"); + assert_choice_type(types::setup, type_, "shortTTI-AndSPT-r15"); return c; } void set_release(); @@ -3594,12 +3594,12 @@ struct mac_main_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "dormantStateTimers-r15"); + assert_choice_type(types::setup, type_, "dormantStateTimers-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "dormantStateTimers-r15"); + assert_choice_type(types::setup, type_, "dormantStateTimers-r15"); return c; } void set_release(); @@ -3672,12 +3672,12 @@ struct meas_sf_pattern_pcell_r10_c { // getters meas_sf_pattern_r10_c& setup() { - assert_choice_type("setup", type_.to_string(), "MeasSubframePatternPCell-r10"); + assert_choice_type(types::setup, type_, "MeasSubframePatternPCell-r10"); return c; } const meas_sf_pattern_r10_c& setup() const { - assert_choice_type("setup", type_.to_string(), "MeasSubframePatternPCell-r10"); + assert_choice_type(types::setup, type_, "MeasSubframePatternPCell-r10"); return c; } void set_release(); @@ -3712,12 +3712,12 @@ struct naics_assist_info_r12_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "NAICS-AssistanceInfo-r12"); + assert_choice_type(types::setup, type_, "NAICS-AssistanceInfo-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "NAICS-AssistanceInfo-r12"); + assert_choice_type(types::setup, type_, "NAICS-AssistanceInfo-r12"); return c; } void set_release(); @@ -3742,12 +3742,12 @@ struct neigh_cells_crs_info_r11_c { // getters crs_assist_info_list_r11_l& setup() { - assert_choice_type("setup", type_.to_string(), "NeighCellsCRS-Info-r11"); + assert_choice_type(types::setup, type_, "NeighCellsCRS-Info-r11"); return c; } const crs_assist_info_list_r11_l& setup() const { - assert_choice_type("setup", type_.to_string(), "NeighCellsCRS-Info-r11"); + assert_choice_type(types::setup, type_, "NeighCellsCRS-Info-r11"); return c; } void set_release(); @@ -3774,12 +3774,12 @@ struct neigh_cells_crs_info_r13_c { // getters crs_assist_info_list_r13_l& setup() { - assert_choice_type("setup", type_.to_string(), "NeighCellsCRS-Info-r13"); + assert_choice_type(types::setup, type_, "NeighCellsCRS-Info-r13"); return c; } const crs_assist_info_list_r13_l& setup() const { - assert_choice_type("setup", type_.to_string(), "NeighCellsCRS-Info-r13"); + assert_choice_type(types::setup, type_, "NeighCellsCRS-Info-r13"); return c; } void set_release(); @@ -3806,12 +3806,12 @@ struct neigh_cells_crs_info_r15_c { // getters crs_assist_info_list_r15_l& setup() { - assert_choice_type("setup", type_.to_string(), "NeighCellsCRS-Info-r15"); + assert_choice_type(types::setup, type_, "NeighCellsCRS-Info-r15"); return c; } const crs_assist_info_list_r15_l& setup() const { - assert_choice_type("setup", type_.to_string(), "NeighCellsCRS-Info-r15"); + assert_choice_type(types::setup, type_, "NeighCellsCRS-Info-r15"); return c; } void set_release(); @@ -3867,12 +3867,12 @@ struct rlf_timers_and_consts_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "RLF-TimersAndConstants-r13"); + assert_choice_type(types::setup, type_, "RLF-TimersAndConstants-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "RLF-TimersAndConstants-r13"); + assert_choice_type(types::setup, type_, "RLF-TimersAndConstants-r13"); return c; } void set_release(); @@ -3948,12 +3948,12 @@ struct rlf_timers_and_consts_r9_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "RLF-TimersAndConstants-r9"); + assert_choice_type(types::setup, type_, "RLF-TimersAndConstants-r9"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "RLF-TimersAndConstants-r9"); + assert_choice_type(types::setup, type_, "RLF-TimersAndConstants-r9"); return c; } void set_release(); @@ -4060,12 +4060,12 @@ struct rr_cfg_ded_s { // getters mac_main_cfg_s& explicit_value() { - assert_choice_type("explicitValue", type_.to_string(), "mac-MainConfig"); + assert_choice_type(types::explicit_value, type_, "mac-MainConfig"); return c; } const mac_main_cfg_s& explicit_value() const { - assert_choice_type("explicitValue", type_.to_string(), "mac-MainConfig"); + assert_choice_type(types::explicit_value, type_, "mac-MainConfig"); return c; } mac_main_cfg_s& set_explicit_value(); @@ -4102,12 +4102,12 @@ struct rr_cfg_ded_s { // getters crs_intf_mitig_num_prbs_e_& crs_intf_mitig_num_prbs() { - assert_choice_type("crs-IntfMitigNumPRBs", type_.to_string(), "setup"); + assert_choice_type(types::crs_intf_mitig_num_prbs, type_, "setup"); return c; } const crs_intf_mitig_num_prbs_e_& crs_intf_mitig_num_prbs() const { - assert_choice_type("crs-IntfMitigNumPRBs", type_.to_string(), "setup"); + assert_choice_type(types::crs_intf_mitig_num_prbs, type_, "setup"); return c; } void set_crs_intf_mitig_enabled(); @@ -4129,12 +4129,12 @@ struct rr_cfg_ded_s { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "crs-IntfMitigConfig-r15"); + assert_choice_type(types::setup, type_, "crs-IntfMitigConfig-r15"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "crs-IntfMitigConfig-r15"); + assert_choice_type(types::setup, type_, "crs-IntfMitigConfig-r15"); return c; } void set_release(); @@ -4226,12 +4226,12 @@ struct pdcch_candidate_reductions_laa_ul_r14_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "PDCCH-CandidateReductionsLAA-UL-r14"); + assert_choice_type(types::setup, type_, "PDCCH-CandidateReductionsLAA-UL-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "PDCCH-CandidateReductionsLAA-UL-r14"); + assert_choice_type(types::setup, type_, "PDCCH-CandidateReductionsLAA-UL-r14"); return c; } void set_release(); @@ -4333,12 +4333,12 @@ struct aul_cfg_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "AUL-Config-r15"); + assert_choice_type(types::setup, type_, "AUL-Config-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "AUL-Config-r15"); + assert_choice_type(types::setup, type_, "AUL-Config-r15"); return c; } void set_release(); @@ -4371,12 +4371,12 @@ struct cqi_report_periodic_scell_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "csi-SubframePatternDormant-r15"); + assert_choice_type(types::setup, type_, "csi-SubframePatternDormant-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "csi-SubframePatternDormant-r15"); + assert_choice_type(types::setup, type_, "csi-SubframePatternDormant-r15"); return c; } void set_release(); @@ -4437,22 +4437,22 @@ struct cqi_report_periodic_scell_r15_c { // getters wideband_cqi_r15_s_& wideband_cqi_r15() { - assert_choice_type("widebandCQI-r15", type_.to_string(), "cqi-FormatIndicatorDormant-r15"); + assert_choice_type(types::wideband_cqi_r15, type_, "cqi-FormatIndicatorDormant-r15"); return c.get(); } subband_cqi_r15_s_& subband_cqi_r15() { - assert_choice_type("subbandCQI-r15", type_.to_string(), "cqi-FormatIndicatorDormant-r15"); + assert_choice_type(types::subband_cqi_r15, type_, "cqi-FormatIndicatorDormant-r15"); return c.get(); } const wideband_cqi_r15_s_& wideband_cqi_r15() const { - assert_choice_type("widebandCQI-r15", type_.to_string(), "cqi-FormatIndicatorDormant-r15"); + assert_choice_type(types::wideband_cqi_r15, type_, "cqi-FormatIndicatorDormant-r15"); return c.get(); } const subband_cqi_r15_s_& subband_cqi_r15() const { - assert_choice_type("subbandCQI-r15", type_.to_string(), "cqi-FormatIndicatorDormant-r15"); + assert_choice_type(types::subband_cqi_r15, type_, "cqi-FormatIndicatorDormant-r15"); return c.get(); } wideband_cqi_r15_s_& set_wideband_cqi_r15(); @@ -4488,12 +4488,12 @@ struct cqi_report_periodic_scell_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CQI-ReportPeriodicSCell-r15"); + assert_choice_type(types::setup, type_, "CQI-ReportPeriodicSCell-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CQI-ReportPeriodicSCell-r15"); + assert_choice_type(types::setup, type_, "CQI-ReportPeriodicSCell-r15"); return c; } void set_release(); @@ -4541,22 +4541,22 @@ struct lbt_cfg_r14_c { // getters int8_t& max_energy_detection_thres_r14() { - assert_choice_type("maxEnergyDetectionThreshold-r14", type_.to_string(), "LBT-Config-r14"); + assert_choice_type(types::max_energy_detection_thres_r14, type_, "LBT-Config-r14"); return c.get(); } int8_t& energy_detection_thres_offset_r14() { - assert_choice_type("energyDetectionThresholdOffset-r14", type_.to_string(), "LBT-Config-r14"); + assert_choice_type(types::energy_detection_thres_offset_r14, type_, "LBT-Config-r14"); return c.get(); } const int8_t& max_energy_detection_thres_r14() const { - assert_choice_type("maxEnergyDetectionThreshold-r14", type_.to_string(), "LBT-Config-r14"); + assert_choice_type(types::max_energy_detection_thres_r14, type_, "LBT-Config-r14"); return c.get(); } const int8_t& energy_detection_thres_offset_r14() const { - assert_choice_type("energyDetectionThresholdOffset-r14", type_.to_string(), "LBT-Config-r14"); + assert_choice_type(types::energy_detection_thres_offset_r14, type_, "LBT-Config-r14"); return c.get(); } int8_t& set_max_energy_detection_thres_r14(); @@ -4646,12 +4646,12 @@ struct srs_ul_cfg_ded_aperiodic_v1430_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicatedAperiodic-v1430"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicatedAperiodic-v1430"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SoundingRS-UL-ConfigDedicatedAperiodic-v1430"); + assert_choice_type(types::setup, type_, "SoundingRS-UL-ConfigDedicatedAperiodic-v1430"); return c; } void set_release(); @@ -4758,22 +4758,22 @@ struct cqi_short_cfg_scell_r15_c { // getters wideband_cqi_short_r15_s_& wideband_cqi_short_r15() { - assert_choice_type("widebandCQI-Short-r15", type_.to_string(), "cqi-FormatIndicatorShort-r15"); + assert_choice_type(types::wideband_cqi_short_r15, type_, "cqi-FormatIndicatorShort-r15"); return c.get(); } subband_cqi_short_r15_s_& subband_cqi_short_r15() { - assert_choice_type("subbandCQI-Short-r15", type_.to_string(), "cqi-FormatIndicatorShort-r15"); + assert_choice_type(types::subband_cqi_short_r15, type_, "cqi-FormatIndicatorShort-r15"); return c.get(); } const wideband_cqi_short_r15_s_& wideband_cqi_short_r15() const { - assert_choice_type("widebandCQI-Short-r15", type_.to_string(), "cqi-FormatIndicatorShort-r15"); + assert_choice_type(types::wideband_cqi_short_r15, type_, "cqi-FormatIndicatorShort-r15"); return c.get(); } const subband_cqi_short_r15_s_& subband_cqi_short_r15() const { - assert_choice_type("subbandCQI-Short-r15", type_.to_string(), "cqi-FormatIndicatorShort-r15"); + assert_choice_type(types::subband_cqi_short_r15, type_, "cqi-FormatIndicatorShort-r15"); return c.get(); } wideband_cqi_short_r15_s_& set_wideband_cqi_short_r15(); @@ -4807,12 +4807,12 @@ struct cqi_short_cfg_scell_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "CQI-ShortConfigSCell-r15"); + assert_choice_type(types::setup, type_, "CQI-ShortConfigSCell-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "CQI-ShortConfigSCell-r15"); + assert_choice_type(types::setup, type_, "CQI-ShortConfigSCell-r15"); return c; } void set_release(); @@ -4855,22 +4855,22 @@ struct cross_carrier_sched_cfg_r10_s { // getters own_r10_s_& own_r10() { - assert_choice_type("own-r10", type_.to_string(), "schedulingCellInfo-r10"); + assert_choice_type(types::own_r10, type_, "schedulingCellInfo-r10"); return c.get(); } other_r10_s_& other_r10() { - assert_choice_type("other-r10", type_.to_string(), "schedulingCellInfo-r10"); + assert_choice_type(types::other_r10, type_, "schedulingCellInfo-r10"); return c.get(); } const own_r10_s_& own_r10() const { - assert_choice_type("own-r10", type_.to_string(), "schedulingCellInfo-r10"); + assert_choice_type(types::own_r10, type_, "schedulingCellInfo-r10"); return c.get(); } const other_r10_s_& other_r10() const { - assert_choice_type("other-r10", type_.to_string(), "schedulingCellInfo-r10"); + assert_choice_type(types::other_r10, type_, "schedulingCellInfo-r10"); return c.get(); } own_r10_s_& set_own_r10(); @@ -4927,22 +4927,22 @@ struct cross_carrier_sched_cfg_r13_s { // getters own_r13_s_& own_r13() { - assert_choice_type("own-r13", type_.to_string(), "schedulingCellInfo-r13"); + assert_choice_type(types::own_r13, type_, "schedulingCellInfo-r13"); return c.get(); } other_r13_s_& other_r13() { - assert_choice_type("other-r13", type_.to_string(), "schedulingCellInfo-r13"); + assert_choice_type(types::other_r13, type_, "schedulingCellInfo-r13"); return c.get(); } const own_r13_s_& own_r13() const { - assert_choice_type("own-r13", type_.to_string(), "schedulingCellInfo-r13"); + assert_choice_type(types::own_r13, type_, "schedulingCellInfo-r13"); return c.get(); } const other_r13_s_& other_r13() const { - assert_choice_type("other-r13", type_.to_string(), "schedulingCellInfo-r13"); + assert_choice_type(types::other_r13, type_, "schedulingCellInfo-r13"); return c.get(); } own_r13_s_& set_own_r13(); @@ -5010,12 +5010,12 @@ struct laa_scell_cfg_v1430_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "crossCarrierSchedulingConfig-UL-r14"); + assert_choice_type(types::setup, type_, "crossCarrierSchedulingConfig-UL-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "crossCarrierSchedulingConfig-UL-r14"); + assert_choice_type(types::setup, type_, "crossCarrierSchedulingConfig-UL-r14"); return c; } void set_release(); @@ -5101,12 +5101,12 @@ struct pucch_cfg_ded_v1370_s { // getters pucch_format3_conf_r13_s& setup() { - assert_choice_type("setup", type_.to_string(), "pucch-Format-v1370"); + assert_choice_type(types::setup, type_, "pucch-Format-v1370"); return c; } const pucch_format3_conf_r13_s& setup() const { - assert_choice_type("setup", type_.to_string(), "pucch-Format-v1370"); + assert_choice_type(types::setup, type_, "pucch-Format-v1370"); return c; } void set_release(); @@ -5174,12 +5174,12 @@ struct pusch_cfg_ded_scell_v1530_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "uci-OnPUSCH-r15"); + assert_choice_type(types::setup, type_, "uci-OnPUSCH-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "uci-OnPUSCH-r15"); + assert_choice_type(types::setup, type_, "uci-OnPUSCH-r15"); return c; } void set_release(); @@ -5234,12 +5234,12 @@ struct sched_request_cfg_scell_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SchedulingRequestConfigSCell-r13"); + assert_choice_type(types::setup, type_, "SchedulingRequestConfigSCell-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SchedulingRequestConfigSCell-r13"); + assert_choice_type(types::setup, type_, "SchedulingRequestConfigSCell-r13"); return c; } void set_release(); @@ -5303,12 +5303,12 @@ struct tpc_pdcch_cfg_scell_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "TPC-PDCCH-ConfigSCell-r13"); + assert_choice_type(types::setup, type_, "TPC-PDCCH-ConfigSCell-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "TPC-PDCCH-ConfigSCell-r13"); + assert_choice_type(types::setup, type_, "TPC-PDCCH-ConfigSCell-r13"); return c; } void set_release(); @@ -5455,12 +5455,12 @@ struct phys_cfg_ded_scell_r10_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "pucch-SCell"); + assert_choice_type(types::setup, type_, "pucch-SCell"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "pucch-SCell"); + assert_choice_type(types::setup, type_, "pucch-SCell"); return c; } void set_release(); @@ -5513,12 +5513,12 @@ struct phys_cfg_ded_scell_r10_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "must-Config-r14"); + assert_choice_type(types::setup, type_, "must-Config-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "must-Config-r14"); + assert_choice_type(types::setup, type_, "must-Config-r14"); return c; } void set_release(); @@ -5552,22 +5552,22 @@ struct phys_cfg_ded_scell_r10_s { // getters cfi_cfg_r15_s& cfi_cfg_r15() { - assert_choice_type("cfi-Config-r15", type_.to_string(), "setup"); + assert_choice_type(types::cfi_cfg_r15, type_, "setup"); return c.get(); } cfi_pattern_cfg_r15_s& cfi_pattern_cfg_r15() { - assert_choice_type("cfi-PatternConfig-r15", type_.to_string(), "setup"); + assert_choice_type(types::cfi_pattern_cfg_r15, type_, "setup"); return c.get(); } const cfi_cfg_r15_s& cfi_cfg_r15() const { - assert_choice_type("cfi-Config-r15", type_.to_string(), "setup"); + assert_choice_type(types::cfi_cfg_r15, type_, "setup"); return c.get(); } const cfi_pattern_cfg_r15_s& cfi_pattern_cfg_r15() const { - assert_choice_type("cfi-PatternConfig-r15", type_.to_string(), "setup"); + assert_choice_type(types::cfi_pattern_cfg_r15, type_, "setup"); return c.get(); } cfi_cfg_r15_s& set_cfi_cfg_r15(); @@ -5593,12 +5593,12 @@ struct phys_cfg_ded_scell_r10_s { // getters setup_c_& setup() { - assert_choice_type("setup", type_.to_string(), "semiStaticCFI-Config-r15"); + assert_choice_type(types::setup, type_, "semiStaticCFI-Config-r15"); return c; } const setup_c_& setup() const { - assert_choice_type("setup", type_.to_string(), "semiStaticCFI-Config-r15"); + assert_choice_type(types::setup, type_, "semiStaticCFI-Config-r15"); return c; } void set_release(); @@ -5694,12 +5694,12 @@ struct phys_cfg_ded_scell_r10_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "blindPDSCH-Repetition-Config-r15"); + assert_choice_type(types::setup, type_, "blindPDSCH-Repetition-Config-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "blindPDSCH-Repetition-Config-r15"); + assert_choice_type(types::setup, type_, "blindPDSCH-Repetition-Config-r15"); return c; } void set_release(); @@ -5814,12 +5814,12 @@ struct phys_cfg_ded_scell_v1370_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "pucch-SCell-v1370"); + assert_choice_type(types::setup, type_, "pucch-SCell-v1370"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "pucch-SCell-v1370"); + assert_choice_type(types::setup, type_, "pucch-SCell-v1370"); return c; } void set_release(); @@ -5941,12 +5941,12 @@ struct pucch_cfg_ded_v13c0_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "n1PUCCH-AN-CS-v13c0"); + assert_choice_type(types::setup, type_, "n1PUCCH-AN-CS-v13c0"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "n1PUCCH-AN-CS-v13c0"); + assert_choice_type(types::setup, type_, "n1PUCCH-AN-CS-v13c0"); return c; } void set_release(); @@ -5996,12 +5996,12 @@ struct drb_to_add_mod_scg_r12_s { // getters scg_r12_s_& scg_r12() { - assert_choice_type("scg-r12", type_.to_string(), "drb-Type-r12"); + assert_choice_type(types::scg_r12, type_, "drb-Type-r12"); return c; } const scg_r12_s_& scg_r12() const { - assert_choice_type("scg-r12", type_.to_string(), "drb-Type-r12"); + assert_choice_type(types::scg_r12, type_, "drb-Type-r12"); return c; } void set_split_r12(); @@ -6120,12 +6120,12 @@ struct rlf_timers_and_consts_scg_r12_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "RLF-TimersAndConstantsSCG-r12"); + assert_choice_type(types::setup, type_, "RLF-TimersAndConstantsSCG-r12"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "RLF-TimersAndConstantsSCG-r12"); + assert_choice_type(types::setup, type_, "RLF-TimersAndConstantsSCG-r12"); return c; } void set_release(); @@ -6268,12 +6268,12 @@ struct phys_cfg_ded_scell_v13c0_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "pucch-SCell-v13c0"); + assert_choice_type(types::setup, type_, "pucch-SCell-v13c0"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "pucch-SCell-v13c0"); + assert_choice_type(types::setup, type_, "pucch-SCell-v13c0"); return c; } void set_release(); diff --git a/lib/include/srsran/asn1/rrc/security.h b/lib/include/srsran/asn1/rrc/security.h index b92b2b6a0..e57369d39 100644 --- a/lib/include/srsran/asn1/rrc/security.h +++ b/lib/include/srsran/asn1/rrc/security.h @@ -88,32 +88,32 @@ struct security_cfg_ho_v1530_s { // getters intra5_gc_r15_s_& intra5_gc_r15() { - assert_choice_type("intra5GC-r15", type_.to_string(), "handoverType-v1530"); + assert_choice_type(types::intra5_gc_r15, type_, "handoverType-v1530"); return c.get(); } fivegc_to_epc_r15_s_& fivegc_to_epc_r15() { - assert_choice_type("fivegc-ToEPC-r15", type_.to_string(), "handoverType-v1530"); + assert_choice_type(types::fivegc_to_epc_r15, type_, "handoverType-v1530"); return c.get(); } epc_to5_gc_r15_s_& epc_to5_gc_r15() { - assert_choice_type("epc-To5GC-r15", type_.to_string(), "handoverType-v1530"); + assert_choice_type(types::epc_to5_gc_r15, type_, "handoverType-v1530"); return c.get(); } const intra5_gc_r15_s_& intra5_gc_r15() const { - assert_choice_type("intra5GC-r15", type_.to_string(), "handoverType-v1530"); + assert_choice_type(types::intra5_gc_r15, type_, "handoverType-v1530"); return c.get(); } const fivegc_to_epc_r15_s_& fivegc_to_epc_r15() const { - assert_choice_type("fivegc-ToEPC-r15", type_.to_string(), "handoverType-v1530"); + assert_choice_type(types::fivegc_to_epc_r15, type_, "handoverType-v1530"); return c.get(); } const epc_to5_gc_r15_s_& epc_to5_gc_r15() const { - assert_choice_type("epc-To5GC-r15", type_.to_string(), "handoverType-v1530"); + assert_choice_type(types::epc_to5_gc_r15, type_, "handoverType-v1530"); return c.get(); } intra5_gc_r15_s_& set_intra5_gc_r15(); @@ -171,22 +171,22 @@ struct security_cfg_ho_s { // getters intra_lte_s_& intra_lte() { - assert_choice_type("intraLTE", type_.to_string(), "handoverType"); + assert_choice_type(types::intra_lte, type_, "handoverType"); return c.get(); } inter_rat_s_& inter_rat() { - assert_choice_type("interRAT", type_.to_string(), "handoverType"); + assert_choice_type(types::inter_rat, type_, "handoverType"); return c.get(); } const intra_lte_s_& intra_lte() const { - assert_choice_type("intraLTE", type_.to_string(), "handoverType"); + assert_choice_type(types::intra_lte, type_, "handoverType"); return c.get(); } const inter_rat_s_& inter_rat() const { - assert_choice_type("interRAT", type_.to_string(), "handoverType"); + assert_choice_type(types::inter_rat, type_, "handoverType"); return c.get(); } intra_lte_s_& set_intra_lte(); @@ -267,12 +267,12 @@ struct security_mode_cmd_s { // getters security_mode_cmd_r8_ies_s& security_mode_cmd_r8() { - assert_choice_type("securityModeCommand-r8", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_cmd_r8, type_, "c1"); return c; } const security_mode_cmd_r8_ies_s& security_mode_cmd_r8() const { - assert_choice_type("securityModeCommand-r8", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_cmd_r8, type_, "c1"); return c; } security_mode_cmd_r8_ies_s& set_security_mode_cmd_r8(); @@ -296,12 +296,12 @@ struct security_mode_cmd_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -388,12 +388,12 @@ struct security_mode_complete_s { // getters security_mode_complete_r8_ies_s& security_mode_complete_r8() { - assert_choice_type("securityModeComplete-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::security_mode_complete_r8, type_, "criticalExtensions"); return c; } const security_mode_complete_r8_ies_s& security_mode_complete_r8() const { - assert_choice_type("securityModeComplete-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::security_mode_complete_r8, type_, "criticalExtensions"); return c; } security_mode_complete_r8_ies_s& set_security_mode_complete_r8(); @@ -434,12 +434,12 @@ struct security_mode_fail_s { // getters security_mode_fail_r8_ies_s& security_mode_fail_r8() { - assert_choice_type("securityModeFailure-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::security_mode_fail_r8, type_, "criticalExtensions"); return c; } const security_mode_fail_r8_ies_s& security_mode_fail_r8() const { - assert_choice_type("securityModeFailure-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::security_mode_fail_r8, type_, "criticalExtensions"); return c; } security_mode_fail_r8_ies_s& set_security_mode_fail_r8(); diff --git a/lib/include/srsran/asn1/rrc/si.h b/lib/include/srsran/asn1/rrc/si.h index 86d7cf5dd..97aef2c8a 100644 --- a/lib/include/srsran/asn1/rrc/si.h +++ b/lib/include/srsran/asn1/rrc/si.h @@ -255,12 +255,12 @@ struct sib_type1_v1530_ies_s { // getters crs_intf_mitig_num_prbs_e_& crs_intf_mitig_num_prbs() { - assert_choice_type("crs-IntfMitigNumPRBs", type_.to_string(), "crs-IntfMitigConfig-r15"); + assert_choice_type(types::crs_intf_mitig_num_prbs, type_, "crs-IntfMitigConfig-r15"); return c; } const crs_intf_mitig_num_prbs_e_& crs_intf_mitig_num_prbs() const { - assert_choice_type("crs-IntfMitigNumPRBs", type_.to_string(), "crs-IntfMitigConfig-r15"); + assert_choice_type(types::crs_intf_mitig_num_prbs, type_, "crs-IntfMitigConfig-r15"); return c; } void set_crs_intf_mitig_enabled(); @@ -537,22 +537,22 @@ struct sib_type1_v1320_ies_s { // getters interv_fdd_r13_e_& interv_fdd_r13() { - assert_choice_type("interval-FDD-r13", type_.to_string(), "interval-DLHoppingConfigCommonModeA-r13"); + assert_choice_type(types::interv_fdd_r13, type_, "interval-DLHoppingConfigCommonModeA-r13"); return c.get(); } interv_tdd_r13_e_& interv_tdd_r13() { - assert_choice_type("interval-TDD-r13", type_.to_string(), "interval-DLHoppingConfigCommonModeA-r13"); + assert_choice_type(types::interv_tdd_r13, type_, "interval-DLHoppingConfigCommonModeA-r13"); return c.get(); } const interv_fdd_r13_e_& interv_fdd_r13() const { - assert_choice_type("interval-FDD-r13", type_.to_string(), "interval-DLHoppingConfigCommonModeA-r13"); + assert_choice_type(types::interv_fdd_r13, type_, "interval-DLHoppingConfigCommonModeA-r13"); return c.get(); } const interv_tdd_r13_e_& interv_tdd_r13() const { - assert_choice_type("interval-TDD-r13", type_.to_string(), "interval-DLHoppingConfigCommonModeA-r13"); + assert_choice_type(types::interv_tdd_r13, type_, "interval-DLHoppingConfigCommonModeA-r13"); return c.get(); } interv_fdd_r13_e_& set_interv_fdd_r13(); @@ -601,22 +601,22 @@ struct sib_type1_v1320_ies_s { // getters interv_fdd_r13_e_& interv_fdd_r13() { - assert_choice_type("interval-FDD-r13", type_.to_string(), "interval-DLHoppingConfigCommonModeB-r13"); + assert_choice_type(types::interv_fdd_r13, type_, "interval-DLHoppingConfigCommonModeB-r13"); return c.get(); } interv_tdd_r13_e_& interv_tdd_r13() { - assert_choice_type("interval-TDD-r13", type_.to_string(), "interval-DLHoppingConfigCommonModeB-r13"); + assert_choice_type(types::interv_tdd_r13, type_, "interval-DLHoppingConfigCommonModeB-r13"); return c.get(); } const interv_fdd_r13_e_& interv_fdd_r13() const { - assert_choice_type("interval-FDD-r13", type_.to_string(), "interval-DLHoppingConfigCommonModeB-r13"); + assert_choice_type(types::interv_fdd_r13, type_, "interval-DLHoppingConfigCommonModeB-r13"); return c.get(); } const interv_tdd_r13_e_& interv_tdd_r13() const { - assert_choice_type("interval-TDD-r13", type_.to_string(), "interval-DLHoppingConfigCommonModeB-r13"); + assert_choice_type(types::interv_tdd_r13, type_, "interval-DLHoppingConfigCommonModeB-r13"); return c.get(); } interv_fdd_r13_e_& set_interv_fdd_r13(); @@ -738,22 +738,22 @@ struct sib_type1_v1310_ies_s { // getters fixed_bitstring<10>& sf_pattern10_r13() { - assert_choice_type("subframePattern10-r13", type_.to_string(), "fdd-DownlinkOrTddSubframeBitmapBR-r13"); + assert_choice_type(types::sf_pattern10_r13, type_, "fdd-DownlinkOrTddSubframeBitmapBR-r13"); return c.get >(); } fixed_bitstring<40>& sf_pattern40_r13() { - assert_choice_type("subframePattern40-r13", type_.to_string(), "fdd-DownlinkOrTddSubframeBitmapBR-r13"); + assert_choice_type(types::sf_pattern40_r13, type_, "fdd-DownlinkOrTddSubframeBitmapBR-r13"); return c.get >(); } const fixed_bitstring<10>& sf_pattern10_r13() const { - assert_choice_type("subframePattern10-r13", type_.to_string(), "fdd-DownlinkOrTddSubframeBitmapBR-r13"); + assert_choice_type(types::sf_pattern10_r13, type_, "fdd-DownlinkOrTddSubframeBitmapBR-r13"); return c.get >(); } const fixed_bitstring<40>& sf_pattern40_r13() const { - assert_choice_type("subframePattern40-r13", type_.to_string(), "fdd-DownlinkOrTddSubframeBitmapBR-r13"); + assert_choice_type(types::sf_pattern40_r13, type_, "fdd-DownlinkOrTddSubframeBitmapBR-r13"); return c.get >(); } fixed_bitstring<10>& set_sf_pattern10_r13(); diff --git a/lib/include/srsran/asn1/rrc/uecap.h b/lib/include/srsran/asn1/rrc/uecap.h index af0d90f0d..b520117bd 100644 --- a/lib/include/srsran/asn1/rrc/uecap.h +++ b/lib/include/srsran/asn1/rrc/uecap.h @@ -212,12 +212,12 @@ struct ue_cap_enquiry_s { // getters ue_cap_enquiry_r8_ies_s& ue_cap_enquiry_r8() { - assert_choice_type("ueCapabilityEnquiry-r8", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_enquiry_r8, type_, "c1"); return c; } const ue_cap_enquiry_r8_ies_s& ue_cap_enquiry_r8() const { - assert_choice_type("ueCapabilityEnquiry-r8", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_enquiry_r8, type_, "c1"); return c; } ue_cap_enquiry_r8_ies_s& set_ue_cap_enquiry_r8(); @@ -241,12 +241,12 @@ struct ue_cap_enquiry_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -381,12 +381,12 @@ struct ue_cap_info_s { // getters ue_cap_info_r8_ies_s& ue_cap_info_r8() { - assert_choice_type("ueCapabilityInformation-r8", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_info_r8, type_, "c1"); return c; } const ue_cap_info_r8_ies_s& ue_cap_info_r8() const { - assert_choice_type("ueCapabilityInformation-r8", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_info_r8, type_, "c1"); return c; } ue_cap_info_r8_ies_s& set_ue_cap_info_r8(); @@ -414,12 +414,12 @@ struct ue_cap_info_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -694,32 +694,32 @@ struct band_combination_params_r13_s { // getters fixed_bitstring<3>& three_entries_r13() { - assert_choice_type("threeEntries-r13", type_.to_string(), "supportedCellGrouping-r13"); + assert_choice_type(types::three_entries_r13, type_, "supportedCellGrouping-r13"); return c.get >(); } fixed_bitstring<7>& four_entries_r13() { - assert_choice_type("fourEntries-r13", type_.to_string(), "supportedCellGrouping-r13"); + assert_choice_type(types::four_entries_r13, type_, "supportedCellGrouping-r13"); return c.get >(); } fixed_bitstring<15>& five_entries_r13() { - assert_choice_type("fiveEntries-r13", type_.to_string(), "supportedCellGrouping-r13"); + assert_choice_type(types::five_entries_r13, type_, "supportedCellGrouping-r13"); return c.get >(); } const fixed_bitstring<3>& three_entries_r13() const { - assert_choice_type("threeEntries-r13", type_.to_string(), "supportedCellGrouping-r13"); + assert_choice_type(types::three_entries_r13, type_, "supportedCellGrouping-r13"); return c.get >(); } const fixed_bitstring<7>& four_entries_r13() const { - assert_choice_type("fourEntries-r13", type_.to_string(), "supportedCellGrouping-r13"); + assert_choice_type(types::four_entries_r13, type_, "supportedCellGrouping-r13"); return c.get >(); } const fixed_bitstring<15>& five_entries_r13() const { - assert_choice_type("fiveEntries-r13", type_.to_string(), "supportedCellGrouping-r13"); + assert_choice_type(types::five_entries_r13, type_, "supportedCellGrouping-r13"); return c.get >(); } fixed_bitstring<3>& set_three_entries_r13(); @@ -877,32 +877,32 @@ struct band_combination_params_v1250_s { // getters fixed_bitstring<3>& three_entries_r12() { - assert_choice_type("threeEntries-r12", type_.to_string(), "supportedCellGrouping-r12"); + assert_choice_type(types::three_entries_r12, type_, "supportedCellGrouping-r12"); return c.get >(); } fixed_bitstring<7>& four_entries_r12() { - assert_choice_type("fourEntries-r12", type_.to_string(), "supportedCellGrouping-r12"); + assert_choice_type(types::four_entries_r12, type_, "supportedCellGrouping-r12"); return c.get >(); } fixed_bitstring<15>& five_entries_r12() { - assert_choice_type("fiveEntries-r12", type_.to_string(), "supportedCellGrouping-r12"); + assert_choice_type(types::five_entries_r12, type_, "supportedCellGrouping-r12"); return c.get >(); } const fixed_bitstring<3>& three_entries_r12() const { - assert_choice_type("threeEntries-r12", type_.to_string(), "supportedCellGrouping-r12"); + assert_choice_type(types::three_entries_r12, type_, "supportedCellGrouping-r12"); return c.get >(); } const fixed_bitstring<7>& four_entries_r12() const { - assert_choice_type("fourEntries-r12", type_.to_string(), "supportedCellGrouping-r12"); + assert_choice_type(types::four_entries_r12, type_, "supportedCellGrouping-r12"); return c.get >(); } const fixed_bitstring<15>& five_entries_r12() const { - assert_choice_type("fiveEntries-r12", type_.to_string(), "supportedCellGrouping-r12"); + assert_choice_type(types::five_entries_r12, type_, "supportedCellGrouping-r12"); return c.get >(); } fixed_bitstring<3>& set_three_entries_r12(); @@ -5193,12 +5193,12 @@ struct mbms_params_v1470_s { // getters uint8_t& explicit_value() { - assert_choice_type("explicitValue", type_.to_string(), "mbms-MaxBW-r14"); + assert_choice_type(types::explicit_value, type_, "mbms-MaxBW-r14"); return c; } const uint8_t& explicit_value() const { - assert_choice_type("explicitValue", type_.to_string(), "mbms-MaxBW-r14"); + assert_choice_type(types::explicit_value, type_, "mbms-MaxBW-r14"); return c; } void set_implicit_value(); @@ -5688,12 +5688,12 @@ struct ue_radio_access_cap_info_s { // getters ue_radio_access_cap_info_r8_ies_s& ue_radio_access_cap_info_r8() { - assert_choice_type("ueRadioAccessCapabilityInformation-r8", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_access_cap_info_r8, type_, "c1"); return c; } const ue_radio_access_cap_info_r8_ies_s& ue_radio_access_cap_info_r8() const { - assert_choice_type("ueRadioAccessCapabilityInformation-r8", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_access_cap_info_r8, type_, "c1"); return c; } ue_radio_access_cap_info_r8_ies_s& set_ue_radio_access_cap_info_r8(); @@ -5721,12 +5721,12 @@ struct ue_radio_access_cap_info_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); diff --git a/lib/include/srsran/asn1/rrc/ul_ccch_msg.h b/lib/include/srsran/asn1/rrc/ul_ccch_msg.h index 1453b3e34..18fe247cb 100644 --- a/lib/include/srsran/asn1/rrc/ul_ccch_msg.h +++ b/lib/include/srsran/asn1/rrc/ul_ccch_msg.h @@ -86,22 +86,22 @@ struct init_ue_id_c { // getters s_tmsi_s& s_tmsi() { - assert_choice_type("s-TMSI", type_.to_string(), "InitialUE-Identity"); + assert_choice_type(types::s_tmsi, type_, "InitialUE-Identity"); return c.get(); } fixed_bitstring<40>& random_value() { - assert_choice_type("randomValue", type_.to_string(), "InitialUE-Identity"); + assert_choice_type(types::random_value, type_, "InitialUE-Identity"); return c.get >(); } const s_tmsi_s& s_tmsi() const { - assert_choice_type("s-TMSI", type_.to_string(), "InitialUE-Identity"); + assert_choice_type(types::s_tmsi, type_, "InitialUE-Identity"); return c.get(); } const fixed_bitstring<40>& random_value() const { - assert_choice_type("randomValue", type_.to_string(), "InitialUE-Identity"); + assert_choice_type(types::random_value, type_, "InitialUE-Identity"); return c.get >(); } s_tmsi_s& set_s_tmsi(); @@ -138,22 +138,22 @@ struct init_ue_id_minus5_gc_c { // getters fixed_bitstring<40>& ng_minus5_g_s_tmsi_part1() { - assert_choice_type("ng-5G-S-TMSI-Part1", type_.to_string(), "InitialUE-Identity-5GC"); + assert_choice_type(types::ng_minus5_g_s_tmsi_part1, type_, "InitialUE-Identity-5GC"); return c.get >(); } fixed_bitstring<40>& random_value() { - assert_choice_type("randomValue", type_.to_string(), "InitialUE-Identity-5GC"); + assert_choice_type(types::random_value, type_, "InitialUE-Identity-5GC"); return c.get >(); } const fixed_bitstring<40>& ng_minus5_g_s_tmsi_part1() const { - assert_choice_type("ng-5G-S-TMSI-Part1", type_.to_string(), "InitialUE-Identity-5GC"); + assert_choice_type(types::ng_minus5_g_s_tmsi_part1, type_, "InitialUE-Identity-5GC"); return c.get >(); } const fixed_bitstring<40>& random_value() const { - assert_choice_type("randomValue", type_.to_string(), "InitialUE-Identity-5GC"); + assert_choice_type(types::random_value, type_, "InitialUE-Identity-5GC"); return c.get >(); } fixed_bitstring<40>& set_ng_minus5_g_s_tmsi_part1(); @@ -293,22 +293,22 @@ struct rrc_conn_resume_request_minus5_gc_r15_ies_s { // getters fixed_bitstring<40>& full_i_rnti_r15() { - assert_choice_type("fullI-RNTI-r15", type_.to_string(), "resumeIdentity-r15"); + assert_choice_type(types::full_i_rnti_r15, type_, "resumeIdentity-r15"); return c.get >(); } fixed_bitstring<24>& short_i_rnti_r15() { - assert_choice_type("shortI-RNTI-r15", type_.to_string(), "resumeIdentity-r15"); + assert_choice_type(types::short_i_rnti_r15, type_, "resumeIdentity-r15"); return c.get >(); } const fixed_bitstring<40>& full_i_rnti_r15() const { - assert_choice_type("fullI-RNTI-r15", type_.to_string(), "resumeIdentity-r15"); + assert_choice_type(types::full_i_rnti_r15, type_, "resumeIdentity-r15"); return c.get >(); } const fixed_bitstring<24>& short_i_rnti_r15() const { - assert_choice_type("shortI-RNTI-r15", type_.to_string(), "resumeIdentity-r15"); + assert_choice_type(types::short_i_rnti_r15, type_, "resumeIdentity-r15"); return c.get >(); } fixed_bitstring<40>& set_full_i_rnti_r15(); @@ -356,22 +356,22 @@ struct rrc_conn_resume_request_r13_ies_s { // getters fixed_bitstring<40>& resume_id_r13() { - assert_choice_type("resumeID-r13", type_.to_string(), "resumeIdentity-r13"); + assert_choice_type(types::resume_id_r13, type_, "resumeIdentity-r13"); return c.get >(); } fixed_bitstring<24>& truncated_resume_id_r13() { - assert_choice_type("truncatedResumeID-r13", type_.to_string(), "resumeIdentity-r13"); + assert_choice_type(types::truncated_resume_id_r13, type_, "resumeIdentity-r13"); return c.get >(); } const fixed_bitstring<40>& resume_id_r13() const { - assert_choice_type("resumeID-r13", type_.to_string(), "resumeIdentity-r13"); + assert_choice_type(types::resume_id_r13, type_, "resumeIdentity-r13"); return c.get >(); } const fixed_bitstring<24>& truncated_resume_id_r13() const { - assert_choice_type("truncatedResumeID-r13", type_.to_string(), "resumeIdentity-r13"); + assert_choice_type(types::truncated_resume_id_r13, type_, "resumeIdentity-r13"); return c.get >(); } fixed_bitstring<40>& set_resume_id_r13(); @@ -438,12 +438,12 @@ struct rrc_conn_reest_request_s { // getters rrc_conn_reest_request_r8_ies_s& rrc_conn_reest_request_r8() { - assert_choice_type("rrcConnectionReestablishmentRequest-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_reest_request_r8, type_, "criticalExtensions"); return c; } const rrc_conn_reest_request_r8_ies_s& rrc_conn_reest_request_r8() const { - assert_choice_type("rrcConnectionReestablishmentRequest-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_reest_request_r8, type_, "criticalExtensions"); return c; } rrc_conn_reest_request_r8_ies_s& set_rrc_conn_reest_request_r8(); @@ -486,22 +486,22 @@ struct rrc_conn_request_s { // getters rrc_conn_request_r8_ies_s& rrc_conn_request_r8() { - assert_choice_type("rrcConnectionRequest-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_request_r8, type_, "criticalExtensions"); return c.get(); } rrc_conn_request_minus5_gc_r15_ies_s& rrc_conn_request_r15() { - assert_choice_type("rrcConnectionRequest-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_request_r15, type_, "criticalExtensions"); return c.get(); } const rrc_conn_request_r8_ies_s& rrc_conn_request_r8() const { - assert_choice_type("rrcConnectionRequest-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_request_r8, type_, "criticalExtensions"); return c.get(); } const rrc_conn_request_minus5_gc_r15_ies_s& rrc_conn_request_r15() const { - assert_choice_type("rrcConnectionRequest-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_request_r15, type_, "criticalExtensions"); return c.get(); } rrc_conn_request_r8_ies_s& set_rrc_conn_request_r8(); @@ -546,22 +546,22 @@ struct rrc_conn_resume_request_r13_s { // getters rrc_conn_resume_request_r13_ies_s& rrc_conn_resume_request_r13() { - assert_choice_type("rrcConnectionResumeRequest-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_resume_request_r13, type_, "criticalExtensions"); return c.get(); } rrc_conn_resume_request_minus5_gc_r15_ies_s& rrc_conn_resume_request_r15() { - assert_choice_type("rrcConnectionResumeRequest-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_resume_request_r15, type_, "criticalExtensions"); return c.get(); } const rrc_conn_resume_request_r13_ies_s& rrc_conn_resume_request_r13() const { - assert_choice_type("rrcConnectionResumeRequest-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_resume_request_r13, type_, "criticalExtensions"); return c.get(); } const rrc_conn_resume_request_minus5_gc_r15_ies_s& rrc_conn_resume_request_r15() const { - assert_choice_type("rrcConnectionResumeRequest-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_resume_request_r15, type_, "criticalExtensions"); return c.get(); } rrc_conn_resume_request_r13_ies_s& set_rrc_conn_resume_request_r13(); @@ -603,12 +603,12 @@ struct rrc_early_data_request_r15_s { // getters rrc_early_data_request_r15_ies_s& rrc_early_data_request_r15() { - assert_choice_type("rrcEarlyDataRequest-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_early_data_request_r15, type_, "criticalExtensions"); return c; } const rrc_early_data_request_r15_ies_s& rrc_early_data_request_r15() const { - assert_choice_type("rrcEarlyDataRequest-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_early_data_request_r15, type_, "criticalExtensions"); return c; } rrc_early_data_request_r15_ies_s& set_rrc_early_data_request_r15(); @@ -651,22 +651,22 @@ struct ul_ccch_msg_type_c { // getters rrc_conn_reest_request_s& rrc_conn_reest_request() { - assert_choice_type("rrcConnectionReestablishmentRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_request, type_, "c1"); return c.get(); } rrc_conn_request_s& rrc_conn_request() { - assert_choice_type("rrcConnectionRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_request, type_, "c1"); return c.get(); } const rrc_conn_reest_request_s& rrc_conn_reest_request() const { - assert_choice_type("rrcConnectionReestablishmentRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_request, type_, "c1"); return c.get(); } const rrc_conn_request_s& rrc_conn_request() const { - assert_choice_type("rrcConnectionRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_request, type_, "c1"); return c.get(); } rrc_conn_reest_request_s& set_rrc_conn_reest_request(); @@ -718,12 +718,12 @@ struct ul_ccch_msg_type_c { // getters rrc_early_data_request_r15_s& rrc_early_data_request_r15() { - assert_choice_type("rrcEarlyDataRequest-r15", type_.to_string(), "c3"); + assert_choice_type(types::rrc_early_data_request_r15, type_, "c3"); return c; } const rrc_early_data_request_r15_s& rrc_early_data_request_r15() const { - assert_choice_type("rrcEarlyDataRequest-r15", type_.to_string(), "c3"); + assert_choice_type(types::rrc_early_data_request_r15, type_, "c3"); return c; } rrc_early_data_request_r15_s& set_rrc_early_data_request_r15(); @@ -754,12 +754,12 @@ struct ul_ccch_msg_type_c { // getters c3_c_& c3() { - assert_choice_type("c3", type_.to_string(), "messageClassExtensionFuture-r13"); + assert_choice_type(types::c3, type_, "messageClassExtensionFuture-r13"); return c; } const c3_c_& c3() const { - assert_choice_type("c3", type_.to_string(), "messageClassExtensionFuture-r13"); + assert_choice_type(types::c3, type_, "messageClassExtensionFuture-r13"); return c; } c3_c_& set_c3(); @@ -791,22 +791,22 @@ struct ul_ccch_msg_type_c { // getters c2_c_& c2() { - assert_choice_type("c2", type_.to_string(), "messageClassExtension"); + assert_choice_type(types::c2, type_, "messageClassExtension"); return c.get(); } msg_class_ext_future_r13_c_& msg_class_ext_future_r13() { - assert_choice_type("messageClassExtensionFuture-r13", type_.to_string(), "messageClassExtension"); + assert_choice_type(types::msg_class_ext_future_r13, type_, "messageClassExtension"); return c.get(); } const c2_c_& c2() const { - assert_choice_type("c2", type_.to_string(), "messageClassExtension"); + assert_choice_type(types::c2, type_, "messageClassExtension"); return c.get(); } const msg_class_ext_future_r13_c_& msg_class_ext_future_r13() const { - assert_choice_type("messageClassExtensionFuture-r13", type_.to_string(), "messageClassExtension"); + assert_choice_type(types::msg_class_ext_future_r13, type_, "messageClassExtension"); return c.get(); } c2_c_& set_c2(); @@ -840,22 +840,22 @@ struct ul_ccch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "UL-CCCH-MessageType"); + assert_choice_type(types::c1, type_, "UL-CCCH-MessageType"); return c.get(); } msg_class_ext_c_& msg_class_ext() { - assert_choice_type("messageClassExtension", type_.to_string(), "UL-CCCH-MessageType"); + assert_choice_type(types::msg_class_ext, type_, "UL-CCCH-MessageType"); return c.get(); } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "UL-CCCH-MessageType"); + assert_choice_type(types::c1, type_, "UL-CCCH-MessageType"); return c.get(); } const msg_class_ext_c_& msg_class_ext() const { - assert_choice_type("messageClassExtension", type_.to_string(), "UL-CCCH-MessageType"); + assert_choice_type(types::msg_class_ext, type_, "UL-CCCH-MessageType"); return c.get(); } c1_c_& set_c1(); diff --git a/lib/include/srsran/asn1/rrc/ul_dcch_msg.h b/lib/include/srsran/asn1/rrc/ul_dcch_msg.h index 112371765..88ba0cc98 100644 --- a/lib/include/srsran/asn1/rrc/ul_dcch_msg.h +++ b/lib/include/srsran/asn1/rrc/ul_dcch_msg.h @@ -54,22 +54,22 @@ struct tmgi_r9_s { // getters uint8_t& plmn_idx_r9() { - assert_choice_type("plmn-Index-r9", type_.to_string(), "plmn-Id-r9"); + assert_choice_type(types::plmn_idx_r9, type_, "plmn-Id-r9"); return c.get(); } plmn_id_s& explicit_value_r9() { - assert_choice_type("explicitValue-r9", type_.to_string(), "plmn-Id-r9"); + assert_choice_type(types::explicit_value_r9, type_, "plmn-Id-r9"); return c.get(); } const uint8_t& plmn_idx_r9() const { - assert_choice_type("plmn-Index-r9", type_.to_string(), "plmn-Id-r9"); + assert_choice_type(types::plmn_idx_r9, type_, "plmn-Id-r9"); return c.get(); } const plmn_id_s& explicit_value_r9() const { - assert_choice_type("explicitValue-r9", type_.to_string(), "plmn-Id-r9"); + assert_choice_type(types::explicit_value_r9, type_, "plmn-Id-r9"); return c.get(); } uint8_t& set_plmn_idx_r9(); @@ -167,22 +167,22 @@ struct s_nssai_r15_c { // getters fixed_bitstring<8>& sst() { - assert_choice_type("sst", type_.to_string(), "S-NSSAI-r15"); + assert_choice_type(types::sst, type_, "S-NSSAI-r15"); return c.get >(); } fixed_bitstring<32>& sst_sd() { - assert_choice_type("sst-SD", type_.to_string(), "S-NSSAI-r15"); + assert_choice_type(types::sst_sd, type_, "S-NSSAI-r15"); return c.get >(); } const fixed_bitstring<8>& sst() const { - assert_choice_type("sst", type_.to_string(), "S-NSSAI-r15"); + assert_choice_type(types::sst, type_, "S-NSSAI-r15"); return c.get >(); } const fixed_bitstring<32>& sst_sd() const { - assert_choice_type("sst-SD", type_.to_string(), "S-NSSAI-r15"); + assert_choice_type(types::sst_sd, type_, "S-NSSAI-r15"); return c.get >(); } fixed_bitstring<8>& set_sst(); @@ -222,22 +222,22 @@ struct rrc_conn_setup_complete_v1530_ies_s { // getters fixed_bitstring<48>& ng_minus5_g_s_tmsi_r15() { - assert_choice_type("ng-5G-S-TMSI-r15", type_.to_string(), "ng-5G-S-TMSI-Bits-r15"); + assert_choice_type(types::ng_minus5_g_s_tmsi_r15, type_, "ng-5G-S-TMSI-Bits-r15"); return c.get >(); } fixed_bitstring<8>& ng_minus5_g_s_tmsi_part2_r15() { - assert_choice_type("ng-5G-S-TMSI-Part2-r15", type_.to_string(), "ng-5G-S-TMSI-Bits-r15"); + assert_choice_type(types::ng_minus5_g_s_tmsi_part2_r15, type_, "ng-5G-S-TMSI-Bits-r15"); return c.get >(); } const fixed_bitstring<48>& ng_minus5_g_s_tmsi_r15() const { - assert_choice_type("ng-5G-S-TMSI-r15", type_.to_string(), "ng-5G-S-TMSI-Bits-r15"); + assert_choice_type(types::ng_minus5_g_s_tmsi_r15, type_, "ng-5G-S-TMSI-Bits-r15"); return c.get >(); } const fixed_bitstring<8>& ng_minus5_g_s_tmsi_part2_r15() const { - assert_choice_type("ng-5G-S-TMSI-Part2-r15", type_.to_string(), "ng-5G-S-TMSI-Bits-r15"); + assert_choice_type(types::ng_minus5_g_s_tmsi_part2_r15, type_, "ng-5G-S-TMSI-Bits-r15"); return c.get >(); } fixed_bitstring<48>& set_ng_minus5_g_s_tmsi_r15(); @@ -404,22 +404,22 @@ struct visited_cell_info_r12_s { // getters cell_global_id_eutra_s& cell_global_id_r12() { - assert_choice_type("cellGlobalId-r12", type_.to_string(), "visitedCellId-r12"); + assert_choice_type(types::cell_global_id_r12, type_, "visitedCellId-r12"); return c.get(); } pci_arfcn_r12_s_& pci_arfcn_r12() { - assert_choice_type("pci-arfcn-r12", type_.to_string(), "visitedCellId-r12"); + assert_choice_type(types::pci_arfcn_r12, type_, "visitedCellId-r12"); return c.get(); } const cell_global_id_eutra_s& cell_global_id_r12() const { - assert_choice_type("cellGlobalId-r12", type_.to_string(), "visitedCellId-r12"); + assert_choice_type(types::cell_global_id_r12, type_, "visitedCellId-r12"); return c.get(); } const pci_arfcn_r12_s_& pci_arfcn_r12() const { - assert_choice_type("pci-arfcn-r12", type_.to_string(), "visitedCellId-r12"); + assert_choice_type(types::pci_arfcn_r12, type_, "visitedCellId-r12"); return c.get(); } cell_global_id_eutra_s& set_cell_global_id_r12(); @@ -840,32 +840,32 @@ struct idc_sf_pattern_r11_c { // getters fixed_bitstring<70>& sf_cfg0_r11() { - assert_choice_type("subframeConfig0-r11", type_.to_string(), "subframePatternTDD-r11"); + assert_choice_type(types::sf_cfg0_r11, type_, "subframePatternTDD-r11"); return c.get >(); } fixed_bitstring<10>& sf_cfg1_minus5_r11() { - assert_choice_type("subframeConfig1-5-r11", type_.to_string(), "subframePatternTDD-r11"); + assert_choice_type(types::sf_cfg1_minus5_r11, type_, "subframePatternTDD-r11"); return c.get >(); } fixed_bitstring<60>& sf_cfg6_r11() { - assert_choice_type("subframeConfig6-r11", type_.to_string(), "subframePatternTDD-r11"); + assert_choice_type(types::sf_cfg6_r11, type_, "subframePatternTDD-r11"); return c.get >(); } const fixed_bitstring<70>& sf_cfg0_r11() const { - assert_choice_type("subframeConfig0-r11", type_.to_string(), "subframePatternTDD-r11"); + assert_choice_type(types::sf_cfg0_r11, type_, "subframePatternTDD-r11"); return c.get >(); } const fixed_bitstring<10>& sf_cfg1_minus5_r11() const { - assert_choice_type("subframeConfig1-5-r11", type_.to_string(), "subframePatternTDD-r11"); + assert_choice_type(types::sf_cfg1_minus5_r11, type_, "subframePatternTDD-r11"); return c.get >(); } const fixed_bitstring<60>& sf_cfg6_r11() const { - assert_choice_type("subframeConfig6-r11", type_.to_string(), "subframePatternTDD-r11"); + assert_choice_type(types::sf_cfg6_r11, type_, "subframePatternTDD-r11"); return c.get >(); } fixed_bitstring<70>& set_sf_cfg0_r11(); @@ -898,22 +898,22 @@ struct idc_sf_pattern_r11_c { // getters fixed_bitstring<4>& sf_pattern_fdd_r11() { - assert_choice_type("subframePatternFDD-r11", type_.to_string(), "IDC-SubframePattern-r11"); + assert_choice_type(types::sf_pattern_fdd_r11, type_, "IDC-SubframePattern-r11"); return c.get >(); } sf_pattern_tdd_r11_c_& sf_pattern_tdd_r11() { - assert_choice_type("subframePatternTDD-r11", type_.to_string(), "IDC-SubframePattern-r11"); + assert_choice_type(types::sf_pattern_tdd_r11, type_, "IDC-SubframePattern-r11"); return c.get(); } const fixed_bitstring<4>& sf_pattern_fdd_r11() const { - assert_choice_type("subframePatternFDD-r11", type_.to_string(), "IDC-SubframePattern-r11"); + assert_choice_type(types::sf_pattern_fdd_r11, type_, "IDC-SubframePattern-r11"); return c.get >(); } const sf_pattern_tdd_r11_c_& sf_pattern_tdd_r11() const { - assert_choice_type("subframePatternTDD-r11", type_.to_string(), "IDC-SubframePattern-r11"); + assert_choice_type(types::sf_pattern_tdd_r11, type_, "IDC-SubframePattern-r11"); return c.get(); } fixed_bitstring<4>& set_sf_pattern_fdd_r11(); @@ -1407,22 +1407,22 @@ struct delay_budget_report_r14_c { // getters type1_e_& type1() { - assert_choice_type("type1", type_.to_string(), "DelayBudgetReport-r14"); + assert_choice_type(types::type1, type_, "DelayBudgetReport-r14"); return c.get(); } type2_e_& type2() { - assert_choice_type("type2", type_.to_string(), "DelayBudgetReport-r14"); + assert_choice_type(types::type2, type_, "DelayBudgetReport-r14"); return c.get(); } const type1_e_& type1() const { - assert_choice_type("type1", type_.to_string(), "DelayBudgetReport-r14"); + assert_choice_type(types::type1, type_, "DelayBudgetReport-r14"); return c.get(); } const type2_e_& type2() const { - assert_choice_type("type2", type_.to_string(), "DelayBudgetReport-r14"); + assert_choice_type(types::type2, type_, "DelayBudgetReport-r14"); return c.get(); } type1_e_& set_type1(); @@ -1579,212 +1579,212 @@ struct rstd_inter_freq_info_r10_s { // getters uint8_t& rstd0_r15() { - assert_choice_type("rstd0-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd0_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint8_t& rstd1_r15() { - assert_choice_type("rstd1-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd1_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd2_r15() { - assert_choice_type("rstd2-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd2_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd3_r15() { - assert_choice_type("rstd3-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd3_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd4_r15() { - assert_choice_type("rstd4-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd4_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint8_t& rstd5_r15() { - assert_choice_type("rstd5-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd5_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd6_r15() { - assert_choice_type("rstd6-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd6_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd7_r15() { - assert_choice_type("rstd7-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd7_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd8_r15() { - assert_choice_type("rstd8-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd8_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd9_r15() { - assert_choice_type("rstd9-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd9_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd10_r15() { - assert_choice_type("rstd10-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd10_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd11_r15() { - assert_choice_type("rstd11-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd11_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd12_r15() { - assert_choice_type("rstd12-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd12_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd13_r15() { - assert_choice_type("rstd13-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd13_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd14_r15() { - assert_choice_type("rstd14-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd14_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd15_r15() { - assert_choice_type("rstd15-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd15_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd16_r15() { - assert_choice_type("rstd16-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd16_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd17_r15() { - assert_choice_type("rstd17-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd17_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd18_r15() { - assert_choice_type("rstd18-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd18_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd19_r15() { - assert_choice_type("rstd19-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd19_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint16_t& rstd20_r15() { - assert_choice_type("rstd20-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd20_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint8_t& rstd0_r15() const { - assert_choice_type("rstd0-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd0_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint8_t& rstd1_r15() const { - assert_choice_type("rstd1-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd1_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd2_r15() const { - assert_choice_type("rstd2-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd2_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd3_r15() const { - assert_choice_type("rstd3-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd3_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd4_r15() const { - assert_choice_type("rstd4-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd4_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint8_t& rstd5_r15() const { - assert_choice_type("rstd5-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd5_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd6_r15() const { - assert_choice_type("rstd6-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd6_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd7_r15() const { - assert_choice_type("rstd7-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd7_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd8_r15() const { - assert_choice_type("rstd8-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd8_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd9_r15() const { - assert_choice_type("rstd9-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd9_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd10_r15() const { - assert_choice_type("rstd10-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd10_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd11_r15() const { - assert_choice_type("rstd11-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd11_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd12_r15() const { - assert_choice_type("rstd12-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd12_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd13_r15() const { - assert_choice_type("rstd13-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd13_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd14_r15() const { - assert_choice_type("rstd14-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd14_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd15_r15() const { - assert_choice_type("rstd15-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd15_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd16_r15() const { - assert_choice_type("rstd16-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd16_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd17_r15() const { - assert_choice_type("rstd17-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd17_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd18_r15() const { - assert_choice_type("rstd18-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd18_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd19_r15() const { - assert_choice_type("rstd19-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd19_r15, type_, "measPRS-Offset-r15"); return c.get(); } const uint16_t& rstd20_r15() const { - assert_choice_type("rstd20-r15", type_.to_string(), "measPRS-Offset-r15"); + assert_choice_type(types::rstd20_r15, type_, "measPRS-Offset-r15"); return c.get(); } uint8_t& set_rstd0_r15(); @@ -2107,22 +2107,22 @@ struct rlf_report_r9_s { // getters cell_global_id_eutra_s& cell_global_id_r10() { - assert_choice_type("cellGlobalId-r10", type_.to_string(), "failedPCellId-r10"); + assert_choice_type(types::cell_global_id_r10, type_, "failedPCellId-r10"); return c.get(); } pci_arfcn_r10_s_& pci_arfcn_r10() { - assert_choice_type("pci-arfcn-r10", type_.to_string(), "failedPCellId-r10"); + assert_choice_type(types::pci_arfcn_r10, type_, "failedPCellId-r10"); return c.get(); } const cell_global_id_eutra_s& cell_global_id_r10() const { - assert_choice_type("cellGlobalId-r10", type_.to_string(), "failedPCellId-r10"); + assert_choice_type(types::cell_global_id_r10, type_, "failedPCellId-r10"); return c.get(); } const pci_arfcn_r10_s_& pci_arfcn_r10() const { - assert_choice_type("pci-arfcn-r10", type_.to_string(), "failedPCellId-r10"); + assert_choice_type(types::pci_arfcn_r10, type_, "failedPCellId-r10"); return c.get(); } cell_global_id_eutra_s& set_cell_global_id_r10(); @@ -2180,22 +2180,22 @@ struct rlf_report_r9_s { // getters uint16_t& fdd_r11() { - assert_choice_type("fdd-r11", type_.to_string(), "physCellId-r11"); + assert_choice_type(types::fdd_r11, type_, "physCellId-r11"); return c.get(); } uint8_t& tdd_r11() { - assert_choice_type("tdd-r11", type_.to_string(), "physCellId-r11"); + assert_choice_type(types::tdd_r11, type_, "physCellId-r11"); return c.get(); } const uint16_t& fdd_r11() const { - assert_choice_type("fdd-r11", type_.to_string(), "physCellId-r11"); + assert_choice_type(types::fdd_r11, type_, "physCellId-r11"); return c.get(); } const uint8_t& tdd_r11() const { - assert_choice_type("tdd-r11", type_.to_string(), "physCellId-r11"); + assert_choice_type(types::tdd_r11, type_, "physCellId-r11"); return c.get(); } uint16_t& set_fdd_r11(); @@ -2236,22 +2236,22 @@ struct rlf_report_r9_s { // getters uint16_t& fdd_r11() { - assert_choice_type("fdd-r11", type_.to_string(), "physCellId-r11"); + assert_choice_type(types::fdd_r11, type_, "physCellId-r11"); return c.get(); } uint8_t& tdd_r11() { - assert_choice_type("tdd-r11", type_.to_string(), "physCellId-r11"); + assert_choice_type(types::tdd_r11, type_, "physCellId-r11"); return c.get(); } const uint16_t& fdd_r11() const { - assert_choice_type("fdd-r11", type_.to_string(), "physCellId-r11"); + assert_choice_type(types::fdd_r11, type_, "physCellId-r11"); return c.get(); } const uint8_t& tdd_r11() const { - assert_choice_type("tdd-r11", type_.to_string(), "physCellId-r11"); + assert_choice_type(types::tdd_r11, type_, "physCellId-r11"); return c.get(); } uint16_t& set_fdd_r11(); @@ -2500,22 +2500,22 @@ struct tdm_assist_info_r11_c { // getters drx_assist_info_r11_s_& drx_assist_info_r11() { - assert_choice_type("drx-AssistanceInfo-r11", type_.to_string(), "TDM-AssistanceInfo-r11"); + assert_choice_type(types::drx_assist_info_r11, type_, "TDM-AssistanceInfo-r11"); return c.get(); } idc_sf_pattern_list_r11_l& idc_sf_pattern_list_r11() { - assert_choice_type("idc-SubframePatternList-r11", type_.to_string(), "TDM-AssistanceInfo-r11"); + assert_choice_type(types::idc_sf_pattern_list_r11, type_, "TDM-AssistanceInfo-r11"); return c.get(); } const drx_assist_info_r11_s_& drx_assist_info_r11() const { - assert_choice_type("drx-AssistanceInfo-r11", type_.to_string(), "TDM-AssistanceInfo-r11"); + assert_choice_type(types::drx_assist_info_r11, type_, "TDM-AssistanceInfo-r11"); return c.get(); } const idc_sf_pattern_list_r11_l& idc_sf_pattern_list_r11() const { - assert_choice_type("idc-SubframePatternList-r11", type_.to_string(), "TDM-AssistanceInfo-r11"); + assert_choice_type(types::idc_sf_pattern_list_r11, type_, "TDM-AssistanceInfo-r11"); return c.get(); } drx_assist_info_r11_s_& set_drx_assist_info_r11(); @@ -2729,12 +2729,12 @@ struct inter_freq_rstd_meas_ind_r10_ies_s { // getters start_s_& start() { - assert_choice_type("start", type_.to_string(), "rstd-InterFreqIndication-r10"); + assert_choice_type(types::start, type_, "rstd-InterFreqIndication-r10"); return c; } const start_s_& start() const { - assert_choice_type("start", type_.to_string(), "rstd-InterFreqIndication-r10"); + assert_choice_type(types::start, type_, "rstd-InterFreqIndication-r10"); return c; } start_s_& set_start(); @@ -2843,32 +2843,32 @@ struct proximity_ind_r9_ies_s { // getters uint32_t& eutra_r9() { - assert_choice_type("eutra-r9", type_.to_string(), "carrierFreq-r9"); + assert_choice_type(types::eutra_r9, type_, "carrierFreq-r9"); return c.get(); } uint16_t& utra_r9() { - assert_choice_type("utra-r9", type_.to_string(), "carrierFreq-r9"); + assert_choice_type(types::utra_r9, type_, "carrierFreq-r9"); return c.get(); } uint32_t& eutra2_v9e0() { - assert_choice_type("eutra2-v9e0", type_.to_string(), "carrierFreq-r9"); + assert_choice_type(types::eutra2_v9e0, type_, "carrierFreq-r9"); return c.get(); } const uint32_t& eutra_r9() const { - assert_choice_type("eutra-r9", type_.to_string(), "carrierFreq-r9"); + assert_choice_type(types::eutra_r9, type_, "carrierFreq-r9"); return c.get(); } const uint16_t& utra_r9() const { - assert_choice_type("utra-r9", type_.to_string(), "carrierFreq-r9"); + assert_choice_type(types::utra_r9, type_, "carrierFreq-r9"); return c.get(); } const uint32_t& eutra2_v9e0() const { - assert_choice_type("eutra2-v9e0", type_.to_string(), "carrierFreq-r9"); + assert_choice_type(types::eutra2_v9e0, type_, "carrierFreq-r9"); return c.get(); } uint32_t& set_eutra_r9(); @@ -3103,32 +3103,32 @@ struct ul_info_transfer_r8_ies_s { // getters dyn_octstring& ded_info_nas() { - assert_choice_type("dedicatedInfoNAS", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_nas, type_, "dedicatedInfoType"); return c.get(); } dyn_octstring& ded_info_cdma2000_minus1_xrtt() { - assert_choice_type("dedicatedInfoCDMA2000-1XRTT", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_cdma2000_minus1_xrtt, type_, "dedicatedInfoType"); return c.get(); } dyn_octstring& ded_info_cdma2000_hrpd() { - assert_choice_type("dedicatedInfoCDMA2000-HRPD", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_cdma2000_hrpd, type_, "dedicatedInfoType"); return c.get(); } const dyn_octstring& ded_info_nas() const { - assert_choice_type("dedicatedInfoNAS", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_nas, type_, "dedicatedInfoType"); return c.get(); } const dyn_octstring& ded_info_cdma2000_minus1_xrtt() const { - assert_choice_type("dedicatedInfoCDMA2000-1XRTT", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_cdma2000_minus1_xrtt, type_, "dedicatedInfoType"); return c.get(); } const dyn_octstring& ded_info_cdma2000_hrpd() const { - assert_choice_type("dedicatedInfoCDMA2000-HRPD", type_.to_string(), "dedicatedInfoType"); + assert_choice_type(types::ded_info_cdma2000_hrpd, type_, "dedicatedInfoType"); return c.get(); } dyn_octstring& set_ded_info_nas(); @@ -3203,12 +3203,12 @@ struct csfb_params_request_cdma2000_s { // getters csfb_params_request_cdma2000_r8_ies_s& csfb_params_request_cdma2000_r8() { - assert_choice_type("csfbParametersRequestCDMA2000-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::csfb_params_request_cdma2000_r8, type_, "criticalExtensions"); return c; } const csfb_params_request_cdma2000_r8_ies_s& csfb_params_request_cdma2000_r8() const { - assert_choice_type("csfbParametersRequestCDMA2000-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::csfb_params_request_cdma2000_r8, type_, "criticalExtensions"); return c; } csfb_params_request_cdma2000_r8_ies_s& set_csfb_params_request_cdma2000_r8(); @@ -3248,12 +3248,12 @@ struct counter_check_resp_s { // getters counter_check_resp_r8_ies_s& counter_check_resp_r8() { - assert_choice_type("counterCheckResponse-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::counter_check_resp_r8, type_, "criticalExtensions"); return c; } const counter_check_resp_r8_ies_s& counter_check_resp_r8() const { - assert_choice_type("counterCheckResponse-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::counter_check_resp_r8, type_, "criticalExtensions"); return c; } counter_check_resp_r8_ies_s& set_counter_check_resp_r8(); @@ -3306,12 +3306,12 @@ struct in_dev_coex_ind_r11_s { // getters in_dev_coex_ind_r11_ies_s& in_dev_coex_ind_r11() { - assert_choice_type("inDeviceCoexIndication-r11", type_.to_string(), "c1"); + assert_choice_type(types::in_dev_coex_ind_r11, type_, "c1"); return c; } const in_dev_coex_ind_r11_ies_s& in_dev_coex_ind_r11() const { - assert_choice_type("inDeviceCoexIndication-r11", type_.to_string(), "c1"); + assert_choice_type(types::in_dev_coex_ind_r11, type_, "c1"); return c; } in_dev_coex_ind_r11_ies_s& set_in_dev_coex_ind_r11(); @@ -3335,12 +3335,12 @@ struct in_dev_coex_ind_r11_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -3381,12 +3381,12 @@ struct inter_freq_rstd_meas_ind_r10_s { // getters inter_freq_rstd_meas_ind_r10_ies_s& inter_freq_rstd_meas_ind_r10() { - assert_choice_type("interFreqRSTDMeasurementIndication-r10", type_.to_string(), "c1"); + assert_choice_type(types::inter_freq_rstd_meas_ind_r10, type_, "c1"); return c; } const inter_freq_rstd_meas_ind_r10_ies_s& inter_freq_rstd_meas_ind_r10() const { - assert_choice_type("interFreqRSTDMeasurementIndication-r10", type_.to_string(), "c1"); + assert_choice_type(types::inter_freq_rstd_meas_ind_r10, type_, "c1"); return c; } inter_freq_rstd_meas_ind_r10_ies_s& set_inter_freq_rstd_meas_ind_r10(); @@ -3410,12 +3410,12 @@ struct inter_freq_rstd_meas_ind_r10_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -3456,12 +3456,12 @@ struct mbms_count_resp_r10_s { // getters mbms_count_resp_r10_ies_s& count_resp_r10() { - assert_choice_type("countingResponse-r10", type_.to_string(), "c1"); + assert_choice_type(types::count_resp_r10, type_, "c1"); return c; } const mbms_count_resp_r10_ies_s& count_resp_r10() const { - assert_choice_type("countingResponse-r10", type_.to_string(), "c1"); + assert_choice_type(types::count_resp_r10, type_, "c1"); return c; } mbms_count_resp_r10_ies_s& set_count_resp_r10(); @@ -3485,12 +3485,12 @@ struct mbms_count_resp_r10_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -3531,12 +3531,12 @@ struct mbms_interest_ind_r11_s { // getters mbms_interest_ind_r11_ies_s& interest_ind_r11() { - assert_choice_type("interestIndication-r11", type_.to_string(), "c1"); + assert_choice_type(types::interest_ind_r11, type_, "c1"); return c; } const mbms_interest_ind_r11_ies_s& interest_ind_r11() const { - assert_choice_type("interestIndication-r11", type_.to_string(), "c1"); + assert_choice_type(types::interest_ind_r11, type_, "c1"); return c; } mbms_interest_ind_r11_ies_s& set_interest_ind_r11(); @@ -3560,12 +3560,12 @@ struct mbms_interest_ind_r11_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -3605,12 +3605,12 @@ struct meas_report_app_layer_r15_s { // getters meas_report_app_layer_r15_ies_s& meas_report_app_layer_r15() { - assert_choice_type("measReportAppLayer-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::meas_report_app_layer_r15, type_, "criticalExtensions"); return c; } const meas_report_app_layer_r15_ies_s& meas_report_app_layer_r15() const { - assert_choice_type("measReportAppLayer-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::meas_report_app_layer_r15, type_, "criticalExtensions"); return c; } meas_report_app_layer_r15_ies_s& set_meas_report_app_layer_r15(); @@ -3651,12 +3651,12 @@ struct proximity_ind_r9_s { // getters proximity_ind_r9_ies_s& proximity_ind_r9() { - assert_choice_type("proximityIndication-r9", type_.to_string(), "c1"); + assert_choice_type(types::proximity_ind_r9, type_, "c1"); return c; } const proximity_ind_r9_ies_s& proximity_ind_r9() const { - assert_choice_type("proximityIndication-r9", type_.to_string(), "c1"); + assert_choice_type(types::proximity_ind_r9, type_, "c1"); return c; } proximity_ind_r9_ies_s& set_proximity_ind_r9(); @@ -3680,12 +3680,12 @@ struct proximity_ind_r9_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -3726,12 +3726,12 @@ struct rn_recfg_complete_r10_s { // getters rn_recfg_complete_r10_ies_s& rn_recfg_complete_r10() { - assert_choice_type("rnReconfigurationComplete-r10", type_.to_string(), "c1"); + assert_choice_type(types::rn_recfg_complete_r10, type_, "c1"); return c; } const rn_recfg_complete_r10_ies_s& rn_recfg_complete_r10() const { - assert_choice_type("rnReconfigurationComplete-r10", type_.to_string(), "c1"); + assert_choice_type(types::rn_recfg_complete_r10, type_, "c1"); return c; } rn_recfg_complete_r10_ies_s& set_rn_recfg_complete_r10(); @@ -3755,12 +3755,12 @@ struct rn_recfg_complete_r10_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -3801,12 +3801,12 @@ struct rrc_conn_recfg_complete_s { // getters rrc_conn_recfg_complete_r8_ies_s& rrc_conn_recfg_complete_r8() { - assert_choice_type("rrcConnectionReconfigurationComplete-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_recfg_complete_r8, type_, "criticalExtensions"); return c; } const rrc_conn_recfg_complete_r8_ies_s& rrc_conn_recfg_complete_r8() const { - assert_choice_type("rrcConnectionReconfigurationComplete-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_recfg_complete_r8, type_, "criticalExtensions"); return c; } rrc_conn_recfg_complete_r8_ies_s& set_rrc_conn_recfg_complete_r8(); @@ -3847,12 +3847,12 @@ struct rrc_conn_reest_complete_s { // getters rrc_conn_reest_complete_r8_ies_s& rrc_conn_reest_complete_r8() { - assert_choice_type("rrcConnectionReestablishmentComplete-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_reest_complete_r8, type_, "criticalExtensions"); return c; } const rrc_conn_reest_complete_r8_ies_s& rrc_conn_reest_complete_r8() const { - assert_choice_type("rrcConnectionReestablishmentComplete-r8", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_reest_complete_r8, type_, "criticalExtensions"); return c; } rrc_conn_reest_complete_r8_ies_s& set_rrc_conn_reest_complete_r8(); @@ -3893,12 +3893,12 @@ struct rrc_conn_resume_complete_r13_s { // getters rrc_conn_resume_complete_r13_ies_s& rrc_conn_resume_complete_r13() { - assert_choice_type("rrcConnectionResumeComplete-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_resume_complete_r13, type_, "criticalExtensions"); return c; } const rrc_conn_resume_complete_r13_ies_s& rrc_conn_resume_complete_r13() const { - assert_choice_type("rrcConnectionResumeComplete-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_resume_complete_r13, type_, "criticalExtensions"); return c; } rrc_conn_resume_complete_r13_ies_s& set_rrc_conn_resume_complete_r13(); @@ -3940,12 +3940,12 @@ struct rrc_conn_setup_complete_s { // getters rrc_conn_setup_complete_r8_ies_s& rrc_conn_setup_complete_r8() { - assert_choice_type("rrcConnectionSetupComplete-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_complete_r8, type_, "c1"); return c; } const rrc_conn_setup_complete_r8_ies_s& rrc_conn_setup_complete_r8() const { - assert_choice_type("rrcConnectionSetupComplete-r8", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_complete_r8, type_, "c1"); return c; } rrc_conn_setup_complete_r8_ies_s& set_rrc_conn_setup_complete_r8(); @@ -3969,12 +3969,12 @@ struct rrc_conn_setup_complete_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4016,12 +4016,12 @@ struct scg_fail_info_r12_s { // getters scg_fail_info_r12_ies_s& scg_fail_info_r12() { - assert_choice_type("scgFailureInformation-r12", type_.to_string(), "c1"); + assert_choice_type(types::scg_fail_info_r12, type_, "c1"); return c; } const scg_fail_info_r12_ies_s& scg_fail_info_r12() const { - assert_choice_type("scgFailureInformation-r12", type_.to_string(), "c1"); + assert_choice_type(types::scg_fail_info_r12, type_, "c1"); return c; } scg_fail_info_r12_ies_s& set_scg_fail_info_r12(); @@ -4045,12 +4045,12 @@ struct scg_fail_info_r12_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4091,12 +4091,12 @@ struct scg_fail_info_nr_r15_s { // getters scg_fail_info_nr_r15_ies_s& scg_fail_info_nr_r15() { - assert_choice_type("scgFailureInformationNR-r15", type_.to_string(), "c1"); + assert_choice_type(types::scg_fail_info_nr_r15, type_, "c1"); return c; } const scg_fail_info_nr_r15_ies_s& scg_fail_info_nr_r15() const { - assert_choice_type("scgFailureInformationNR-r15", type_.to_string(), "c1"); + assert_choice_type(types::scg_fail_info_nr_r15, type_, "c1"); return c; } scg_fail_info_nr_r15_ies_s& set_scg_fail_info_nr_r15(); @@ -4120,12 +4120,12 @@ struct scg_fail_info_nr_r15_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4166,12 +4166,12 @@ struct sidelink_ue_info_r12_s { // getters sidelink_ue_info_r12_ies_s& sidelink_ue_info_r12() { - assert_choice_type("sidelinkUEInformation-r12", type_.to_string(), "c1"); + assert_choice_type(types::sidelink_ue_info_r12, type_, "c1"); return c; } const sidelink_ue_info_r12_ies_s& sidelink_ue_info_r12() const { - assert_choice_type("sidelinkUEInformation-r12", type_.to_string(), "c1"); + assert_choice_type(types::sidelink_ue_info_r12, type_, "c1"); return c; } sidelink_ue_info_r12_ies_s& set_sidelink_ue_info_r12(); @@ -4195,12 +4195,12 @@ struct sidelink_ue_info_r12_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4241,12 +4241,12 @@ struct ueassist_info_r11_s { // getters ueassist_info_r11_ies_s& ue_assist_info_r11() { - assert_choice_type("ueAssistanceInformation-r11", type_.to_string(), "c1"); + assert_choice_type(types::ue_assist_info_r11, type_, "c1"); return c; } const ueassist_info_r11_ies_s& ue_assist_info_r11() const { - assert_choice_type("ueAssistanceInformation-r11", type_.to_string(), "c1"); + assert_choice_type(types::ue_assist_info_r11, type_, "c1"); return c; } ueassist_info_r11_ies_s& set_ue_assist_info_r11(); @@ -4270,12 +4270,12 @@ struct ueassist_info_r11_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4316,12 +4316,12 @@ struct ue_info_resp_r9_s { // getters ue_info_resp_r9_ies_s& ue_info_resp_r9() { - assert_choice_type("ueInformationResponse-r9", type_.to_string(), "c1"); + assert_choice_type(types::ue_info_resp_r9, type_, "c1"); return c; } const ue_info_resp_r9_ies_s& ue_info_resp_r9() const { - assert_choice_type("ueInformationResponse-r9", type_.to_string(), "c1"); + assert_choice_type(types::ue_info_resp_r9, type_, "c1"); return c; } ue_info_resp_r9_ies_s& set_ue_info_resp_r9(); @@ -4345,12 +4345,12 @@ struct ue_info_resp_r9_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4392,12 +4392,12 @@ struct ul_ho_prep_transfer_s { // getters ul_ho_prep_transfer_r8_ies_s& ul_ho_prep_transfer_r8() { - assert_choice_type("ulHandoverPreparationTransfer-r8", type_.to_string(), "c1"); + assert_choice_type(types::ul_ho_prep_transfer_r8, type_, "c1"); return c; } const ul_ho_prep_transfer_r8_ies_s& ul_ho_prep_transfer_r8() const { - assert_choice_type("ulHandoverPreparationTransfer-r8", type_.to_string(), "c1"); + assert_choice_type(types::ul_ho_prep_transfer_r8, type_, "c1"); return c; } ul_ho_prep_transfer_r8_ies_s& set_ul_ho_prep_transfer_r8(); @@ -4421,12 +4421,12 @@ struct ul_ho_prep_transfer_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4467,12 +4467,12 @@ struct ul_info_transfer_s { // getters ul_info_transfer_r8_ies_s& ul_info_transfer_r8() { - assert_choice_type("ulInformationTransfer-r8", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer_r8, type_, "c1"); return c; } const ul_info_transfer_r8_ies_s& ul_info_transfer_r8() const { - assert_choice_type("ulInformationTransfer-r8", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer_r8, type_, "c1"); return c; } ul_info_transfer_r8_ies_s& set_ul_info_transfer_r8(); @@ -4496,12 +4496,12 @@ struct ul_info_transfer_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4542,12 +4542,12 @@ struct ul_info_transfer_mrdc_r15_s { // getters ul_info_transfer_mrdc_r15_ies_s& ul_info_transfer_mrdc_r15() { - assert_choice_type("ulInformationTransferMRDC-r15", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer_mrdc_r15, type_, "c1"); return c; } const ul_info_transfer_mrdc_r15_ies_s& ul_info_transfer_mrdc_r15() const { - assert_choice_type("ulInformationTransferMRDC-r15", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer_mrdc_r15, type_, "c1"); return c; } ul_info_transfer_mrdc_r15_ies_s& set_ul_info_transfer_mrdc_r15(); @@ -4571,12 +4571,12 @@ struct ul_info_transfer_mrdc_r15_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4617,12 +4617,12 @@ struct wlan_conn_status_report_r13_s { // getters wlan_conn_status_report_r13_ies_s& wlan_conn_status_report_r13() { - assert_choice_type("wlanConnectionStatusReport-r13", type_.to_string(), "c1"); + assert_choice_type(types::wlan_conn_status_report_r13, type_, "c1"); return c; } const wlan_conn_status_report_r13_ies_s& wlan_conn_status_report_r13() const { - assert_choice_type("wlanConnectionStatusReport-r13", type_.to_string(), "c1"); + assert_choice_type(types::wlan_conn_status_report_r13, type_, "c1"); return c; } wlan_conn_status_report_r13_ies_s& set_wlan_conn_status_report_r13(); @@ -4646,12 +4646,12 @@ struct wlan_conn_status_report_r13_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -4714,162 +4714,162 @@ struct ul_dcch_msg_type_c { // getters csfb_params_request_cdma2000_s& csfb_params_request_cdma2000() { - assert_choice_type("csfbParametersRequestCDMA2000", type_.to_string(), "c1"); + assert_choice_type(types::csfb_params_request_cdma2000, type_, "c1"); return c.get(); } meas_report_s& meas_report() { - assert_choice_type("measurementReport", type_.to_string(), "c1"); + assert_choice_type(types::meas_report, type_, "c1"); return c.get(); } rrc_conn_recfg_complete_s& rrc_conn_recfg_complete() { - assert_choice_type("rrcConnectionReconfigurationComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg_complete, type_, "c1"); return c.get(); } rrc_conn_reest_complete_s& rrc_conn_reest_complete() { - assert_choice_type("rrcConnectionReestablishmentComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_complete, type_, "c1"); return c.get(); } rrc_conn_setup_complete_s& rrc_conn_setup_complete() { - assert_choice_type("rrcConnectionSetupComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_complete, type_, "c1"); return c.get(); } security_mode_complete_s& security_mode_complete() { - assert_choice_type("securityModeComplete", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_complete, type_, "c1"); return c.get(); } security_mode_fail_s& security_mode_fail() { - assert_choice_type("securityModeFailure", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_fail, type_, "c1"); return c.get(); } ue_cap_info_s& ue_cap_info() { - assert_choice_type("ueCapabilityInformation", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_info, type_, "c1"); return c.get(); } ul_ho_prep_transfer_s& ul_ho_prep_transfer() { - assert_choice_type("ulHandoverPreparationTransfer", type_.to_string(), "c1"); + assert_choice_type(types::ul_ho_prep_transfer, type_, "c1"); return c.get(); } ul_info_transfer_s& ul_info_transfer() { - assert_choice_type("ulInformationTransfer", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer, type_, "c1"); return c.get(); } counter_check_resp_s& counter_check_resp() { - assert_choice_type("counterCheckResponse", type_.to_string(), "c1"); + assert_choice_type(types::counter_check_resp, type_, "c1"); return c.get(); } ue_info_resp_r9_s& ue_info_resp_r9() { - assert_choice_type("ueInformationResponse-r9", type_.to_string(), "c1"); + assert_choice_type(types::ue_info_resp_r9, type_, "c1"); return c.get(); } proximity_ind_r9_s& proximity_ind_r9() { - assert_choice_type("proximityIndication-r9", type_.to_string(), "c1"); + assert_choice_type(types::proximity_ind_r9, type_, "c1"); return c.get(); } rn_recfg_complete_r10_s& rn_recfg_complete_r10() { - assert_choice_type("rnReconfigurationComplete-r10", type_.to_string(), "c1"); + assert_choice_type(types::rn_recfg_complete_r10, type_, "c1"); return c.get(); } mbms_count_resp_r10_s& mbms_count_resp_r10() { - assert_choice_type("mbmsCountingResponse-r10", type_.to_string(), "c1"); + assert_choice_type(types::mbms_count_resp_r10, type_, "c1"); return c.get(); } inter_freq_rstd_meas_ind_r10_s& inter_freq_rstd_meas_ind_r10() { - assert_choice_type("interFreqRSTDMeasurementIndication-r10", type_.to_string(), "c1"); + assert_choice_type(types::inter_freq_rstd_meas_ind_r10, type_, "c1"); return c.get(); } const csfb_params_request_cdma2000_s& csfb_params_request_cdma2000() const { - assert_choice_type("csfbParametersRequestCDMA2000", type_.to_string(), "c1"); + assert_choice_type(types::csfb_params_request_cdma2000, type_, "c1"); return c.get(); } const meas_report_s& meas_report() const { - assert_choice_type("measurementReport", type_.to_string(), "c1"); + assert_choice_type(types::meas_report, type_, "c1"); return c.get(); } const rrc_conn_recfg_complete_s& rrc_conn_recfg_complete() const { - assert_choice_type("rrcConnectionReconfigurationComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg_complete, type_, "c1"); return c.get(); } const rrc_conn_reest_complete_s& rrc_conn_reest_complete() const { - assert_choice_type("rrcConnectionReestablishmentComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_complete, type_, "c1"); return c.get(); } const rrc_conn_setup_complete_s& rrc_conn_setup_complete() const { - assert_choice_type("rrcConnectionSetupComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_complete, type_, "c1"); return c.get(); } const security_mode_complete_s& security_mode_complete() const { - assert_choice_type("securityModeComplete", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_complete, type_, "c1"); return c.get(); } const security_mode_fail_s& security_mode_fail() const { - assert_choice_type("securityModeFailure", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_fail, type_, "c1"); return c.get(); } const ue_cap_info_s& ue_cap_info() const { - assert_choice_type("ueCapabilityInformation", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_info, type_, "c1"); return c.get(); } const ul_ho_prep_transfer_s& ul_ho_prep_transfer() const { - assert_choice_type("ulHandoverPreparationTransfer", type_.to_string(), "c1"); + assert_choice_type(types::ul_ho_prep_transfer, type_, "c1"); return c.get(); } const ul_info_transfer_s& ul_info_transfer() const { - assert_choice_type("ulInformationTransfer", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer, type_, "c1"); return c.get(); } const counter_check_resp_s& counter_check_resp() const { - assert_choice_type("counterCheckResponse", type_.to_string(), "c1"); + assert_choice_type(types::counter_check_resp, type_, "c1"); return c.get(); } const ue_info_resp_r9_s& ue_info_resp_r9() const { - assert_choice_type("ueInformationResponse-r9", type_.to_string(), "c1"); + assert_choice_type(types::ue_info_resp_r9, type_, "c1"); return c.get(); } const proximity_ind_r9_s& proximity_ind_r9() const { - assert_choice_type("proximityIndication-r9", type_.to_string(), "c1"); + assert_choice_type(types::proximity_ind_r9, type_, "c1"); return c.get(); } const rn_recfg_complete_r10_s& rn_recfg_complete_r10() const { - assert_choice_type("rnReconfigurationComplete-r10", type_.to_string(), "c1"); + assert_choice_type(types::rn_recfg_complete_r10, type_, "c1"); return c.get(); } const mbms_count_resp_r10_s& mbms_count_resp_r10() const { - assert_choice_type("mbmsCountingResponse-r10", type_.to_string(), "c1"); + assert_choice_type(types::mbms_count_resp_r10, type_, "c1"); return c.get(); } const inter_freq_rstd_meas_ind_r10_s& inter_freq_rstd_meas_ind_r10() const { - assert_choice_type("interFreqRSTDMeasurementIndication-r10", type_.to_string(), "c1"); + assert_choice_type(types::inter_freq_rstd_meas_ind_r10, type_, "c1"); return c.get(); } csfb_params_request_cdma2000_s& set_csfb_params_request_cdma2000(); @@ -4951,112 +4951,112 @@ struct ul_dcch_msg_type_c { // getters ueassist_info_r11_s& ue_assist_info_r11() { - assert_choice_type("ueAssistanceInformation-r11", type_.to_string(), "c2"); + assert_choice_type(types::ue_assist_info_r11, type_, "c2"); return c.get(); } in_dev_coex_ind_r11_s& in_dev_coex_ind_r11() { - assert_choice_type("inDeviceCoexIndication-r11", type_.to_string(), "c2"); + assert_choice_type(types::in_dev_coex_ind_r11, type_, "c2"); return c.get(); } mbms_interest_ind_r11_s& mbms_interest_ind_r11() { - assert_choice_type("mbmsInterestIndication-r11", type_.to_string(), "c2"); + assert_choice_type(types::mbms_interest_ind_r11, type_, "c2"); return c.get(); } scg_fail_info_r12_s& scg_fail_info_r12() { - assert_choice_type("scgFailureInformation-r12", type_.to_string(), "c2"); + assert_choice_type(types::scg_fail_info_r12, type_, "c2"); return c.get(); } sidelink_ue_info_r12_s& sidelink_ue_info_r12() { - assert_choice_type("sidelinkUEInformation-r12", type_.to_string(), "c2"); + assert_choice_type(types::sidelink_ue_info_r12, type_, "c2"); return c.get(); } wlan_conn_status_report_r13_s& wlan_conn_status_report_r13() { - assert_choice_type("wlanConnectionStatusReport-r13", type_.to_string(), "c2"); + assert_choice_type(types::wlan_conn_status_report_r13, type_, "c2"); return c.get(); } rrc_conn_resume_complete_r13_s& rrc_conn_resume_complete_r13() { - assert_choice_type("rrcConnectionResumeComplete-r13", type_.to_string(), "c2"); + assert_choice_type(types::rrc_conn_resume_complete_r13, type_, "c2"); return c.get(); } ul_info_transfer_mrdc_r15_s& ul_info_transfer_mrdc_r15() { - assert_choice_type("ulInformationTransferMRDC-r15", type_.to_string(), "c2"); + assert_choice_type(types::ul_info_transfer_mrdc_r15, type_, "c2"); return c.get(); } scg_fail_info_nr_r15_s& scg_fail_info_nr_r15() { - assert_choice_type("scgFailureInformationNR-r15", type_.to_string(), "c2"); + assert_choice_type(types::scg_fail_info_nr_r15, type_, "c2"); return c.get(); } meas_report_app_layer_r15_s& meas_report_app_layer_r15() { - assert_choice_type("measReportAppLayer-r15", type_.to_string(), "c2"); + assert_choice_type(types::meas_report_app_layer_r15, type_, "c2"); return c.get(); } fail_info_r15_s& fail_info_r15() { - assert_choice_type("failureInformation-r15", type_.to_string(), "c2"); + assert_choice_type(types::fail_info_r15, type_, "c2"); return c.get(); } const ueassist_info_r11_s& ue_assist_info_r11() const { - assert_choice_type("ueAssistanceInformation-r11", type_.to_string(), "c2"); + assert_choice_type(types::ue_assist_info_r11, type_, "c2"); return c.get(); } const in_dev_coex_ind_r11_s& in_dev_coex_ind_r11() const { - assert_choice_type("inDeviceCoexIndication-r11", type_.to_string(), "c2"); + assert_choice_type(types::in_dev_coex_ind_r11, type_, "c2"); return c.get(); } const mbms_interest_ind_r11_s& mbms_interest_ind_r11() const { - assert_choice_type("mbmsInterestIndication-r11", type_.to_string(), "c2"); + assert_choice_type(types::mbms_interest_ind_r11, type_, "c2"); return c.get(); } const scg_fail_info_r12_s& scg_fail_info_r12() const { - assert_choice_type("scgFailureInformation-r12", type_.to_string(), "c2"); + assert_choice_type(types::scg_fail_info_r12, type_, "c2"); return c.get(); } const sidelink_ue_info_r12_s& sidelink_ue_info_r12() const { - assert_choice_type("sidelinkUEInformation-r12", type_.to_string(), "c2"); + assert_choice_type(types::sidelink_ue_info_r12, type_, "c2"); return c.get(); } const wlan_conn_status_report_r13_s& wlan_conn_status_report_r13() const { - assert_choice_type("wlanConnectionStatusReport-r13", type_.to_string(), "c2"); + assert_choice_type(types::wlan_conn_status_report_r13, type_, "c2"); return c.get(); } const rrc_conn_resume_complete_r13_s& rrc_conn_resume_complete_r13() const { - assert_choice_type("rrcConnectionResumeComplete-r13", type_.to_string(), "c2"); + assert_choice_type(types::rrc_conn_resume_complete_r13, type_, "c2"); return c.get(); } const ul_info_transfer_mrdc_r15_s& ul_info_transfer_mrdc_r15() const { - assert_choice_type("ulInformationTransferMRDC-r15", type_.to_string(), "c2"); + assert_choice_type(types::ul_info_transfer_mrdc_r15, type_, "c2"); return c.get(); } const scg_fail_info_nr_r15_s& scg_fail_info_nr_r15() const { - assert_choice_type("scgFailureInformationNR-r15", type_.to_string(), "c2"); + assert_choice_type(types::scg_fail_info_nr_r15, type_, "c2"); return c.get(); } const meas_report_app_layer_r15_s& meas_report_app_layer_r15() const { - assert_choice_type("measReportAppLayer-r15", type_.to_string(), "c2"); + assert_choice_type(types::meas_report_app_layer_r15, type_, "c2"); return c.get(); } const fail_info_r15_s& fail_info_r15() const { - assert_choice_type("failureInformation-r15", type_.to_string(), "c2"); + assert_choice_type(types::fail_info_r15, type_, "c2"); return c.get(); } ueassist_info_r11_s& set_ue_assist_info_r11(); @@ -5112,12 +5112,12 @@ struct ul_dcch_msg_type_c { // getters c2_c_& c2() { - assert_choice_type("c2", type_.to_string(), "messageClassExtension"); + assert_choice_type(types::c2, type_, "messageClassExtension"); return c; } const c2_c_& c2() const { - assert_choice_type("c2", type_.to_string(), "messageClassExtension"); + assert_choice_type(types::c2, type_, "messageClassExtension"); return c; } c2_c_& set_c2(); @@ -5149,22 +5149,22 @@ struct ul_dcch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "UL-DCCH-MessageType"); + assert_choice_type(types::c1, type_, "UL-DCCH-MessageType"); return c.get(); } msg_class_ext_c_& msg_class_ext() { - assert_choice_type("messageClassExtension", type_.to_string(), "UL-DCCH-MessageType"); + assert_choice_type(types::msg_class_ext, type_, "UL-DCCH-MessageType"); return c.get(); } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "UL-DCCH-MessageType"); + assert_choice_type(types::c1, type_, "UL-DCCH-MessageType"); return c.get(); } const msg_class_ext_c_& msg_class_ext() const { - assert_choice_type("messageClassExtension", type_.to_string(), "UL-DCCH-MessageType"); + assert_choice_type(types::msg_class_ext, type_, "UL-DCCH-MessageType"); return c.get(); } c1_c_& set_c1(); diff --git a/lib/include/srsran/asn1/rrc_nbiot.h b/lib/include/srsran/asn1/rrc_nbiot.h index 74830379a..d87d0da41 100644 --- a/lib/include/srsran/asn1/rrc_nbiot.h +++ b/lib/include/srsran/asn1/rrc_nbiot.h @@ -189,22 +189,22 @@ struct dl_bitmap_nb_r13_c { // getters fixed_bitstring<10>& sf_pattern10_r13() { - assert_choice_type("subframePattern10-r13", type_.to_string(), "DL-Bitmap-NB-r13"); + assert_choice_type(types::sf_pattern10_r13, type_, "DL-Bitmap-NB-r13"); return c.get >(); } fixed_bitstring<40>& sf_pattern40_r13() { - assert_choice_type("subframePattern40-r13", type_.to_string(), "DL-Bitmap-NB-r13"); + assert_choice_type(types::sf_pattern40_r13, type_, "DL-Bitmap-NB-r13"); return c.get >(); } const fixed_bitstring<10>& sf_pattern10_r13() const { - assert_choice_type("subframePattern10-r13", type_.to_string(), "DL-Bitmap-NB-r13"); + assert_choice_type(types::sf_pattern10_r13, type_, "DL-Bitmap-NB-r13"); return c.get >(); } const fixed_bitstring<40>& sf_pattern40_r13() const { - assert_choice_type("subframePattern40-r13", type_.to_string(), "DL-Bitmap-NB-r13"); + assert_choice_type(types::sf_pattern40_r13, type_, "DL-Bitmap-NB-r13"); return c.get >(); } fixed_bitstring<10>& set_sf_pattern10_r13(); @@ -326,12 +326,12 @@ struct dl_carrier_cfg_ded_nb_r13_s { // getters dl_bitmap_nb_r13_c& explicit_bitmap_cfg_r13() { - assert_choice_type("explicitBitmapConfiguration-r13", type_.to_string(), "downlinkBitmapNonAnchor-r13"); + assert_choice_type(types::explicit_bitmap_cfg_r13, type_, "downlinkBitmapNonAnchor-r13"); return c; } const dl_bitmap_nb_r13_c& explicit_bitmap_cfg_r13() const { - assert_choice_type("explicitBitmapConfiguration-r13", type_.to_string(), "downlinkBitmapNonAnchor-r13"); + assert_choice_type(types::explicit_bitmap_cfg_r13, type_, "downlinkBitmapNonAnchor-r13"); return c; } void set_use_no_bitmap_r13(); @@ -361,12 +361,12 @@ struct dl_carrier_cfg_ded_nb_r13_s { // getters dl_gap_cfg_nb_r13_s& explicit_gap_cfg_r13() { - assert_choice_type("explicitGapConfiguration-r13", type_.to_string(), "dl-GapNonAnchor-r13"); + assert_choice_type(types::explicit_gap_cfg_r13, type_, "dl-GapNonAnchor-r13"); return c; } const dl_gap_cfg_nb_r13_s& explicit_gap_cfg_r13() const { - assert_choice_type("explicitGapConfiguration-r13", type_.to_string(), "dl-GapNonAnchor-r13"); + assert_choice_type(types::explicit_gap_cfg_r13, type_, "dl-GapNonAnchor-r13"); return c; } void set_use_no_gap_r13(); @@ -416,22 +416,22 @@ struct dl_carrier_cfg_ded_nb_r13_s { // getters same_pci_r13_s_& same_pci_r13() { - assert_choice_type("samePCI-r13", type_.to_string(), "samePCI-Indicator-r13"); + assert_choice_type(types::same_pci_r13, type_, "samePCI-Indicator-r13"); return c.get(); } different_pci_r13_s_& different_pci_r13() { - assert_choice_type("differentPCI-r13", type_.to_string(), "samePCI-Indicator-r13"); + assert_choice_type(types::different_pci_r13, type_, "samePCI-Indicator-r13"); return c.get(); } const same_pci_r13_s_& same_pci_r13() const { - assert_choice_type("samePCI-r13", type_.to_string(), "samePCI-Indicator-r13"); + assert_choice_type(types::same_pci_r13, type_, "samePCI-Indicator-r13"); return c.get(); } const different_pci_r13_s_& different_pci_r13() const { - assert_choice_type("differentPCI-r13", type_.to_string(), "samePCI-Indicator-r13"); + assert_choice_type(types::different_pci_r13, type_, "samePCI-Indicator-r13"); return c.get(); } same_pci_r13_s_& set_same_pci_r13(); @@ -551,12 +551,12 @@ struct pdcp_cfg_nb_r13_s { // getters rohc_s_& rohc() { - assert_choice_type("rohc", type_.to_string(), "headerCompression-r13"); + assert_choice_type(types::rohc, type_, "headerCompression-r13"); return c; } const rohc_s_& rohc() const { - assert_choice_type("rohc", type_.to_string(), "headerCompression-r13"); + assert_choice_type(types::rohc, type_, "headerCompression-r13"); return c; } void set_not_used(); @@ -603,12 +603,12 @@ struct rlc_cfg_nb_r13_c { // getters am_s_& am() { - assert_choice_type("am", type_.to_string(), "RLC-Config-NB-r13"); + assert_choice_type(types::am, type_, "RLC-Config-NB-r13"); return c; } const am_s_& am() const { - assert_choice_type("am", type_.to_string(), "RLC-Config-NB-r13"); + assert_choice_type(types::am, type_, "RLC-Config-NB-r13"); return c; } am_s_& set_am(); @@ -657,22 +657,22 @@ struct sr_nprach_res_nb_r15_s { // getters uint8_t& nprach_fmt0_fmt1_r15() { - assert_choice_type("nprach-Fmt0Fmt1-r15", type_.to_string(), "nprach-SubCarrierIndex-r15"); + assert_choice_type(types::nprach_fmt0_fmt1_r15, type_, "nprach-SubCarrierIndex-r15"); return c.get(); } uint8_t& nprach_fmt2_r15() { - assert_choice_type("nprach-Fmt2-r15", type_.to_string(), "nprach-SubCarrierIndex-r15"); + assert_choice_type(types::nprach_fmt2_r15, type_, "nprach-SubCarrierIndex-r15"); return c.get(); } const uint8_t& nprach_fmt0_fmt1_r15() const { - assert_choice_type("nprach-Fmt0Fmt1-r15", type_.to_string(), "nprach-SubCarrierIndex-r15"); + assert_choice_type(types::nprach_fmt0_fmt1_r15, type_, "nprach-SubCarrierIndex-r15"); return c.get(); } const uint8_t& nprach_fmt2_r15() const { - assert_choice_type("nprach-Fmt2-r15", type_.to_string(), "nprach-SubCarrierIndex-r15"); + assert_choice_type(types::nprach_fmt2_r15, type_, "nprach-SubCarrierIndex-r15"); return c.get(); } uint8_t& set_nprach_fmt0_fmt1_r15(); @@ -877,12 +877,12 @@ struct drx_cfg_nb_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "DRX-Config-NB-r13"); + assert_choice_type(types::setup, type_, "DRX-Config-NB-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "DRX-Config-NB-r13"); + assert_choice_type(types::setup, type_, "DRX-Config-NB-r13"); return c; } void set_release(); @@ -1033,12 +1033,12 @@ struct sr_sps_bsr_cfg_nb_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SR-SPS-BSR-Config-NB-r15"); + assert_choice_type(types::setup, type_, "SR-SPS-BSR-Config-NB-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SR-SPS-BSR-Config-NB-r15"); + assert_choice_type(types::setup, type_, "SR-SPS-BSR-Config-NB-r15"); return c; } void set_release(); @@ -1069,12 +1069,12 @@ struct sr_without_harq_ack_cfg_nb_r15_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "SR-WithoutHARQ-ACK-Config-NB-r15"); + assert_choice_type(types::setup, type_, "SR-WithoutHARQ-ACK-Config-NB-r15"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "SR-WithoutHARQ-ACK-Config-NB-r15"); + assert_choice_type(types::setup, type_, "SR-WithoutHARQ-ACK-Config-NB-r15"); return c; } void set_release(); @@ -1105,12 +1105,12 @@ struct srb_to_add_mod_nb_r13_s { // getters rlc_cfg_nb_r13_c& explicit_value() { - assert_choice_type("explicitValue", type_.to_string(), "rlc-Config-r13"); + assert_choice_type(types::explicit_value, type_, "rlc-Config-r13"); return c; } const rlc_cfg_nb_r13_c& explicit_value() const { - assert_choice_type("explicitValue", type_.to_string(), "rlc-Config-r13"); + assert_choice_type(types::explicit_value, type_, "rlc-Config-r13"); return c; } rlc_cfg_nb_r13_c& set_explicit_value(); @@ -1138,12 +1138,12 @@ struct srb_to_add_mod_nb_r13_s { // getters lc_ch_cfg_nb_r13_s& explicit_value() { - assert_choice_type("explicitValue", type_.to_string(), "logicalChannelConfig-r13"); + assert_choice_type(types::explicit_value, type_, "logicalChannelConfig-r13"); return c; } const lc_ch_cfg_nb_r13_s& explicit_value() const { - assert_choice_type("explicitValue", type_.to_string(), "logicalChannelConfig-r13"); + assert_choice_type(types::explicit_value, type_, "logicalChannelConfig-r13"); return c; } lc_ch_cfg_nb_r13_s& set_explicit_value(); @@ -1219,12 +1219,12 @@ struct mac_main_cfg_nb_r13_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "logicalChannelSR-Config-r13"); + assert_choice_type(types::setup, type_, "logicalChannelSR-Config-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "logicalChannelSR-Config-r13"); + assert_choice_type(types::setup, type_, "logicalChannelSR-Config-r13"); return c; } void set_release(); @@ -1250,12 +1250,12 @@ struct mac_main_cfg_nb_r13_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "dataInactivityTimerConfig-r14"); + assert_choice_type(types::setup, type_, "dataInactivityTimerConfig-r14"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "dataInactivityTimerConfig-r14"); + assert_choice_type(types::setup, type_, "dataInactivityTimerConfig-r14"); return c; } void set_release(); @@ -1428,12 +1428,12 @@ struct rlf_timers_and_consts_nb_r13_c { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "RLF-TimersAndConstants-NB-r13"); + assert_choice_type(types::setup, type_, "RLF-TimersAndConstants-NB-r13"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "RLF-TimersAndConstants-NB-r13"); + assert_choice_type(types::setup, type_, "RLF-TimersAndConstants-NB-r13"); return c; } void set_release(); @@ -1483,12 +1483,12 @@ struct rr_cfg_ded_nb_r13_s { // getters mac_main_cfg_nb_r13_s& explicit_value_r13() { - assert_choice_type("explicitValue-r13", type_.to_string(), "mac-MainConfig-r13"); + assert_choice_type(types::explicit_value_r13, type_, "mac-MainConfig-r13"); return c; } const mac_main_cfg_nb_r13_s& explicit_value_r13() const { - assert_choice_type("explicitValue-r13", type_.to_string(), "mac-MainConfig-r13"); + assert_choice_type(types::explicit_value_r13, type_, "mac-MainConfig-r13"); return c; } mac_main_cfg_nb_r13_s& set_explicit_value_r13(); @@ -1660,42 +1660,42 @@ struct mib_nb_s { // getters inband_same_pci_nb_r13_s& inband_same_pci_r13() { - assert_choice_type("inband-SamePCI-r13", type_.to_string(), "operationModeInfo-r13"); + assert_choice_type(types::inband_same_pci_r13, type_, "operationModeInfo-r13"); return c.get(); } inband_different_pci_nb_r13_s& inband_different_pci_r13() { - assert_choice_type("inband-DifferentPCI-r13", type_.to_string(), "operationModeInfo-r13"); + assert_choice_type(types::inband_different_pci_r13, type_, "operationModeInfo-r13"); return c.get(); } guardband_nb_r13_s& guardband_r13() { - assert_choice_type("guardband-r13", type_.to_string(), "operationModeInfo-r13"); + assert_choice_type(types::guardband_r13, type_, "operationModeInfo-r13"); return c.get(); } standalone_nb_r13_s& standalone_r13() { - assert_choice_type("standalone-r13", type_.to_string(), "operationModeInfo-r13"); + assert_choice_type(types::standalone_r13, type_, "operationModeInfo-r13"); return c.get(); } const inband_same_pci_nb_r13_s& inband_same_pci_r13() const { - assert_choice_type("inband-SamePCI-r13", type_.to_string(), "operationModeInfo-r13"); + assert_choice_type(types::inband_same_pci_r13, type_, "operationModeInfo-r13"); return c.get(); } const inband_different_pci_nb_r13_s& inband_different_pci_r13() const { - assert_choice_type("inband-DifferentPCI-r13", type_.to_string(), "operationModeInfo-r13"); + assert_choice_type(types::inband_different_pci_r13, type_, "operationModeInfo-r13"); return c.get(); } const guardband_nb_r13_s& guardband_r13() const { - assert_choice_type("guardband-r13", type_.to_string(), "operationModeInfo-r13"); + assert_choice_type(types::guardband_r13, type_, "operationModeInfo-r13"); return c.get(); } const standalone_nb_r13_s& standalone_r13() const { - assert_choice_type("standalone-r13", type_.to_string(), "operationModeInfo-r13"); + assert_choice_type(types::standalone_r13, type_, "operationModeInfo-r13"); return c.get(); } inband_same_pci_nb_r13_s& set_inband_same_pci_r13(); @@ -1826,42 +1826,42 @@ struct guardband_tdd_nb_r15_s { // getters sib_guardband_anchor_tdd_nb_r15_s& sib_guardband_anchor_r15() { - assert_choice_type("sib-GuardbandAnchor-r15", type_.to_string(), "sib-GuardbandInfo-r15"); + assert_choice_type(types::sib_guardband_anchor_r15, type_, "sib-GuardbandInfo-r15"); return c.get(); } sib_guardband_guardband_tdd_nb_r15_s& sib_guardband_guardband_r15() { - assert_choice_type("sib-GuardbandGuardband-r15", type_.to_string(), "sib-GuardbandInfo-r15"); + assert_choice_type(types::sib_guardband_guardband_r15, type_, "sib-GuardbandInfo-r15"); return c.get(); } sib_guardband_inband_same_pci_tdd_nb_r15_s& sib_guardband_inband_same_pci_r15() { - assert_choice_type("sib-GuardbandInbandSamePCI-r15", type_.to_string(), "sib-GuardbandInfo-r15"); + assert_choice_type(types::sib_guardband_inband_same_pci_r15, type_, "sib-GuardbandInfo-r15"); return c.get(); } sib_guardband_inband_diff_pci_tdd_nb_r15_s& sib_guardbandinband_diff_pci_r15() { - assert_choice_type("sib-GuardbandinbandDiffPCI-r15", type_.to_string(), "sib-GuardbandInfo-r15"); + assert_choice_type(types::sib_guardbandinband_diff_pci_r15, type_, "sib-GuardbandInfo-r15"); return c.get(); } const sib_guardband_anchor_tdd_nb_r15_s& sib_guardband_anchor_r15() const { - assert_choice_type("sib-GuardbandAnchor-r15", type_.to_string(), "sib-GuardbandInfo-r15"); + assert_choice_type(types::sib_guardband_anchor_r15, type_, "sib-GuardbandInfo-r15"); return c.get(); } const sib_guardband_guardband_tdd_nb_r15_s& sib_guardband_guardband_r15() const { - assert_choice_type("sib-GuardbandGuardband-r15", type_.to_string(), "sib-GuardbandInfo-r15"); + assert_choice_type(types::sib_guardband_guardband_r15, type_, "sib-GuardbandInfo-r15"); return c.get(); } const sib_guardband_inband_same_pci_tdd_nb_r15_s& sib_guardband_inband_same_pci_r15() const { - assert_choice_type("sib-GuardbandInbandSamePCI-r15", type_.to_string(), "sib-GuardbandInfo-r15"); + assert_choice_type(types::sib_guardband_inband_same_pci_r15, type_, "sib-GuardbandInfo-r15"); return c.get(); } const sib_guardband_inband_diff_pci_tdd_nb_r15_s& sib_guardbandinband_diff_pci_r15() const { - assert_choice_type("sib-GuardbandinbandDiffPCI-r15", type_.to_string(), "sib-GuardbandInfo-r15"); + assert_choice_type(types::sib_guardbandinband_diff_pci_r15, type_, "sib-GuardbandInfo-r15"); return c.get(); } sib_guardband_anchor_tdd_nb_r15_s& set_sib_guardband_anchor_r15(); @@ -1991,42 +1991,42 @@ struct mib_tdd_nb_r15_s { // getters inband_same_pci_tdd_nb_r15_s& inband_same_pci_r15() { - assert_choice_type("inband-SamePCI-r15", type_.to_string(), "operationModeInfo-r15"); + assert_choice_type(types::inband_same_pci_r15, type_, "operationModeInfo-r15"); return c.get(); } inband_different_pci_tdd_nb_r15_s& inband_different_pci_r15() { - assert_choice_type("inband-DifferentPCI-r15", type_.to_string(), "operationModeInfo-r15"); + assert_choice_type(types::inband_different_pci_r15, type_, "operationModeInfo-r15"); return c.get(); } guardband_tdd_nb_r15_s& guardband_r15() { - assert_choice_type("guardband-r15", type_.to_string(), "operationModeInfo-r15"); + assert_choice_type(types::guardband_r15, type_, "operationModeInfo-r15"); return c.get(); } standalone_tdd_nb_r15_s& standalone_r15() { - assert_choice_type("standalone-r15", type_.to_string(), "operationModeInfo-r15"); + assert_choice_type(types::standalone_r15, type_, "operationModeInfo-r15"); return c.get(); } const inband_same_pci_tdd_nb_r15_s& inband_same_pci_r15() const { - assert_choice_type("inband-SamePCI-r15", type_.to_string(), "operationModeInfo-r15"); + assert_choice_type(types::inband_same_pci_r15, type_, "operationModeInfo-r15"); return c.get(); } const inband_different_pci_tdd_nb_r15_s& inband_different_pci_r15() const { - assert_choice_type("inband-DifferentPCI-r15", type_.to_string(), "operationModeInfo-r15"); + assert_choice_type(types::inband_different_pci_r15, type_, "operationModeInfo-r15"); return c.get(); } const guardband_tdd_nb_r15_s& guardband_r15() const { - assert_choice_type("guardband-r15", type_.to_string(), "operationModeInfo-r15"); + assert_choice_type(types::guardband_r15, type_, "operationModeInfo-r15"); return c.get(); } const standalone_tdd_nb_r15_s& standalone_r15() const { - assert_choice_type("standalone-r15", type_.to_string(), "operationModeInfo-r15"); + assert_choice_type(types::standalone_r15, type_, "operationModeInfo-r15"); return c.get(); } inband_same_pci_tdd_nb_r15_s& set_inband_same_pci_r15(); @@ -2884,12 +2884,12 @@ struct dl_carrier_cfg_common_nb_r14_s { // getters dl_bitmap_nb_r13_c& explicit_bitmap_cfg_r14() { - assert_choice_type("explicitBitmapConfiguration-r14", type_.to_string(), "downlinkBitmapNonAnchor-r14"); + assert_choice_type(types::explicit_bitmap_cfg_r14, type_, "downlinkBitmapNonAnchor-r14"); return c; } const dl_bitmap_nb_r13_c& explicit_bitmap_cfg_r14() const { - assert_choice_type("explicitBitmapConfiguration-r14", type_.to_string(), "downlinkBitmapNonAnchor-r14"); + assert_choice_type(types::explicit_bitmap_cfg_r14, type_, "downlinkBitmapNonAnchor-r14"); return c; } void set_use_no_bitmap_r14(); @@ -2918,12 +2918,12 @@ struct dl_carrier_cfg_common_nb_r14_s { // getters dl_gap_cfg_nb_r13_s& explicit_gap_cfg_r14() { - assert_choice_type("explicitGapConfiguration-r14", type_.to_string(), "dl-GapNonAnchor-r14"); + assert_choice_type(types::explicit_gap_cfg_r14, type_, "dl-GapNonAnchor-r14"); return c; } const dl_gap_cfg_nb_r13_s& explicit_gap_cfg_r14() const { - assert_choice_type("explicitGapConfiguration-r14", type_.to_string(), "dl-GapNonAnchor-r14"); + assert_choice_type(types::explicit_gap_cfg_r14, type_, "dl-GapNonAnchor-r14"); return c; } void set_use_no_gap_r14(); @@ -2972,22 +2972,22 @@ struct dl_carrier_cfg_common_nb_r14_s { // getters same_pci_r14_s_& same_pci_r14() { - assert_choice_type("samePCI-r14", type_.to_string(), "samePCI-Indicator-r14"); + assert_choice_type(types::same_pci_r14, type_, "samePCI-Indicator-r14"); return c.get(); } different_pci_r14_s_& different_pci_r14() { - assert_choice_type("differentPCI-r14", type_.to_string(), "samePCI-Indicator-r14"); + assert_choice_type(types::different_pci_r14, type_, "samePCI-Indicator-r14"); return c.get(); } const same_pci_r14_s_& same_pci_r14() const { - assert_choice_type("samePCI-r14", type_.to_string(), "samePCI-Indicator-r14"); + assert_choice_type(types::same_pci_r14, type_, "samePCI-Indicator-r14"); return c.get(); } const different_pci_r14_s_& different_pci_r14() const { - assert_choice_type("differentPCI-r14", type_.to_string(), "samePCI-Indicator-r14"); + assert_choice_type(types::different_pci_r14, type_, "samePCI-Indicator-r14"); return c.get(); } same_pci_r14_s_& set_same_pci_r14(); @@ -4147,162 +4147,162 @@ struct sc_mcch_sched_info_nb_r14_s { // getters uint8_t& sf10() { - assert_choice_type("sf10", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf10, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf20() { - assert_choice_type("sf20", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf20, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf32() { - assert_choice_type("sf32", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf32, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf40() { - assert_choice_type("sf40", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf40, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf64() { - assert_choice_type("sf64", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf64, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf80() { - assert_choice_type("sf80", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf80, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf128() { - assert_choice_type("sf128", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf128, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf160() { - assert_choice_type("sf160", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf160, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf256() { - assert_choice_type("sf256", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf256, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf320() { - assert_choice_type("sf320", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf320, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf512() { - assert_choice_type("sf512", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf512, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf640() { - assert_choice_type("sf640", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf640, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf1024() { - assert_choice_type("sf1024", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf1024, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf2048() { - assert_choice_type("sf2048", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf2048, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf4096() { - assert_choice_type("sf4096", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf4096, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf8192() { - assert_choice_type("sf8192", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf8192, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf10() const { - assert_choice_type("sf10", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf10, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf20() const { - assert_choice_type("sf20", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf20, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf32() const { - assert_choice_type("sf32", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf32, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf40() const { - assert_choice_type("sf40", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf40, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf64() const { - assert_choice_type("sf64", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf64, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf80() const { - assert_choice_type("sf80", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf80, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf128() const { - assert_choice_type("sf128", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf128, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf160() const { - assert_choice_type("sf160", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf160, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf256() const { - assert_choice_type("sf256", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf256, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf320() const { - assert_choice_type("sf320", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf320, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf512() const { - assert_choice_type("sf512", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf512, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf640() const { - assert_choice_type("sf640", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf640, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf1024() const { - assert_choice_type("sf1024", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf1024, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf2048() const { - assert_choice_type("sf2048", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf2048, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf4096() const { - assert_choice_type("sf4096", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf4096, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf8192() const { - assert_choice_type("sf8192", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf8192, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& set_sf10(); @@ -4631,22 +4631,22 @@ struct sib_type14_nb_r13_s { // getters ab_cfg_nb_r13_s& ab_common_r13() { - assert_choice_type("ab-Common-r13", type_.to_string(), "ab-Param-r13"); + assert_choice_type(types::ab_common_r13, type_, "ab-Param-r13"); return c.get(); } ab_per_plmn_list_r13_l_& ab_per_plmn_list_r13() { - assert_choice_type("ab-PerPLMN-List-r13", type_.to_string(), "ab-Param-r13"); + assert_choice_type(types::ab_per_plmn_list_r13, type_, "ab-Param-r13"); return c.get(); } const ab_cfg_nb_r13_s& ab_common_r13() const { - assert_choice_type("ab-Common-r13", type_.to_string(), "ab-Param-r13"); + assert_choice_type(types::ab_common_r13, type_, "ab-Param-r13"); return c.get(); } const ab_per_plmn_list_r13_l_& ab_per_plmn_list_r13() const { - assert_choice_type("ab-PerPLMN-List-r13", type_.to_string(), "ab-Param-r13"); + assert_choice_type(types::ab_per_plmn_list_r13, type_, "ab-Param-r13"); return c.get(); } ab_cfg_nb_r13_s& set_ab_common_r13(); @@ -4764,22 +4764,22 @@ struct sib_type20_nb_r14_s { // getters dl_carrier_cfg_common_nb_r14_s& dl_carrier_cfg_r14() { - assert_choice_type("dl-CarrierConfig-r14", type_.to_string(), "sc-mcch-CarrierConfig-r14"); + assert_choice_type(types::dl_carrier_cfg_r14, type_, "sc-mcch-CarrierConfig-r14"); return c.get(); } uint8_t& dl_carrier_idx_r14() { - assert_choice_type("dl-CarrierIndex-r14", type_.to_string(), "sc-mcch-CarrierConfig-r14"); + assert_choice_type(types::dl_carrier_idx_r14, type_, "sc-mcch-CarrierConfig-r14"); return c.get(); } const dl_carrier_cfg_common_nb_r14_s& dl_carrier_cfg_r14() const { - assert_choice_type("dl-CarrierConfig-r14", type_.to_string(), "sc-mcch-CarrierConfig-r14"); + assert_choice_type(types::dl_carrier_cfg_r14, type_, "sc-mcch-CarrierConfig-r14"); return c.get(); } const uint8_t& dl_carrier_idx_r14() const { - assert_choice_type("dl-CarrierIndex-r14", type_.to_string(), "sc-mcch-CarrierConfig-r14"); + assert_choice_type(types::dl_carrier_idx_r14, type_, "sc-mcch-CarrierConfig-r14"); return c.get(); } dl_carrier_cfg_common_nb_r14_s& set_dl_carrier_cfg_r14(); @@ -5058,102 +5058,102 @@ struct sys_info_nb_r13_ies_s { // getters sib_type2_nb_r13_s& sib2_r13() { - assert_choice_type("sib2-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib2_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } sib_type3_nb_r13_s& sib3_r13() { - assert_choice_type("sib3-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib3_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } sib_type4_nb_r13_s& sib4_r13() { - assert_choice_type("sib4-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib4_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } sib_type5_nb_r13_s& sib5_r13() { - assert_choice_type("sib5-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib5_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } sib_type14_nb_r13_s& sib14_r13() { - assert_choice_type("sib14-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib14_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } sib_type16_nb_r13_s& sib16_r13() { - assert_choice_type("sib16-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib16_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } sib_type15_nb_r14_s& sib15_v1430() { - assert_choice_type("sib15-v1430", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib15_v1430, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } sib_type20_nb_r14_s& sib20_v1430() { - assert_choice_type("sib20-v1430", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib20_v1430, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } sib_type22_nb_r14_s& sib22_v1430() { - assert_choice_type("sib22-v1430", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib22_v1430, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } sib_type23_nb_r15_s& sib23_v1530() { - assert_choice_type("sib23-v1530", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib23_v1530, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } const sib_type2_nb_r13_s& sib2_r13() const { - assert_choice_type("sib2-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib2_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } const sib_type3_nb_r13_s& sib3_r13() const { - assert_choice_type("sib3-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib3_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } const sib_type4_nb_r13_s& sib4_r13() const { - assert_choice_type("sib4-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib4_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } const sib_type5_nb_r13_s& sib5_r13() const { - assert_choice_type("sib5-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib5_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } const sib_type14_nb_r13_s& sib14_r13() const { - assert_choice_type("sib14-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib14_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } const sib_type16_nb_r13_s& sib16_r13() const { - assert_choice_type("sib16-r13", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib16_r13, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } const sib_type15_nb_r14_s& sib15_v1430() const { - assert_choice_type("sib15-v1430", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib15_v1430, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } const sib_type20_nb_r14_s& sib20_v1430() const { - assert_choice_type("sib20-v1430", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib20_v1430, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } const sib_type22_nb_r14_s& sib22_v1430() const { - assert_choice_type("sib22-v1430", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib22_v1430, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } const sib_type23_nb_r15_s& sib23_v1530() const { - assert_choice_type("sib23-v1530", type_.to_string(), "sib-TypeAndInfo-r13-item"); + assert_choice_type(types::sib23_v1530, type_, "sib-TypeAndInfo-r13-item"); return c.get(); } sib_type2_nb_r13_s& set_sib2_r13(); @@ -5230,12 +5230,12 @@ struct sys_info_nb_s { // getters sys_info_nb_r13_ies_s& sys_info_r13() { - assert_choice_type("systemInformation-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::sys_info_r13, type_, "criticalExtensions"); return c; } const sys_info_nb_r13_ies_s& sys_info_r13() const { - assert_choice_type("systemInformation-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::sys_info_r13, type_, "criticalExtensions"); return c; } sys_info_nb_r13_ies_s& set_sys_info_r13(); @@ -5385,22 +5385,22 @@ struct bcch_dl_sch_msg_type_nb_c { // getters sys_info_nb_s& sys_info_r13() { - assert_choice_type("systemInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::sys_info_r13, type_, "c1"); return c.get(); } sib_type1_nb_s& sib_type1_r13() { - assert_choice_type("systemInformationBlockType1-r13", type_.to_string(), "c1"); + assert_choice_type(types::sib_type1_r13, type_, "c1"); return c.get(); } const sys_info_nb_s& sys_info_r13() const { - assert_choice_type("systemInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::sys_info_r13, type_, "c1"); return c.get(); } const sib_type1_nb_s& sib_type1_r13() const { - assert_choice_type("systemInformationBlockType1-r13", type_.to_string(), "c1"); + assert_choice_type(types::sib_type1_r13, type_, "c1"); return c.get(); } sys_info_nb_s& set_sys_info_r13(); @@ -5431,12 +5431,12 @@ struct bcch_dl_sch_msg_type_nb_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "BCCH-DL-SCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "BCCH-DL-SCH-MessageType-NB"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "BCCH-DL-SCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "BCCH-DL-SCH-MessageType-NB"); return c; } c1_c_& set_c1(); @@ -5613,12 +5613,12 @@ struct rrc_conn_reest_nb_s { // getters rrc_conn_reest_nb_r13_ies_s& rrc_conn_reest_r13() { - assert_choice_type("rrcConnectionReestablishment-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_r13, type_, "c1"); return c; } const rrc_conn_reest_nb_r13_ies_s& rrc_conn_reest_r13() const { - assert_choice_type("rrcConnectionReestablishment-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_r13, type_, "c1"); return c; } rrc_conn_reest_nb_r13_ies_s& set_rrc_conn_reest_r13(); @@ -5640,12 +5640,12 @@ struct rrc_conn_reest_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -5687,12 +5687,12 @@ struct rrc_conn_reject_nb_s { // getters rrc_conn_reject_nb_r13_ies_s& rrc_conn_reject_r13() { - assert_choice_type("rrcConnectionReject-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reject_r13, type_, "c1"); return c; } const rrc_conn_reject_nb_r13_ies_s& rrc_conn_reject_r13() const { - assert_choice_type("rrcConnectionReject-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reject_r13, type_, "c1"); return c; } rrc_conn_reject_nb_r13_ies_s& set_rrc_conn_reject_r13(); @@ -5714,12 +5714,12 @@ struct rrc_conn_reject_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -5760,12 +5760,12 @@ struct rrc_conn_setup_nb_s { // getters rrc_conn_setup_nb_r13_ies_s& rrc_conn_setup_r13() { - assert_choice_type("rrcConnectionSetup-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_r13, type_, "c1"); return c; } const rrc_conn_setup_nb_r13_ies_s& rrc_conn_setup_r13() const { - assert_choice_type("rrcConnectionSetup-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_r13, type_, "c1"); return c; } rrc_conn_setup_nb_r13_ies_s& set_rrc_conn_setup_r13(); @@ -5787,12 +5787,12 @@ struct rrc_conn_setup_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -5833,12 +5833,12 @@ struct rrc_early_data_complete_nb_r15_s { // getters rrc_early_data_complete_nb_r15_ies_s& rrc_early_data_complete_r15() { - assert_choice_type("rrcEarlyDataComplete-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_early_data_complete_r15, type_, "criticalExtensions"); return c; } const rrc_early_data_complete_nb_r15_ies_s& rrc_early_data_complete_r15() const { - assert_choice_type("rrcEarlyDataComplete-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_early_data_complete_r15, type_, "criticalExtensions"); return c; } rrc_early_data_complete_nb_r15_ies_s& set_rrc_early_data_complete_r15(); @@ -5891,52 +5891,52 @@ struct dl_ccch_msg_type_nb_c { // getters rrc_conn_reest_nb_s& rrc_conn_reest_r13() { - assert_choice_type("rrcConnectionReestablishment-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_r13, type_, "c1"); return c.get(); } rrc_conn_reest_reject_s& rrc_conn_reest_reject_r13() { - assert_choice_type("rrcConnectionReestablishmentReject-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_reject_r13, type_, "c1"); return c.get(); } rrc_conn_reject_nb_s& rrc_conn_reject_r13() { - assert_choice_type("rrcConnectionReject-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reject_r13, type_, "c1"); return c.get(); } rrc_conn_setup_nb_s& rrc_conn_setup_r13() { - assert_choice_type("rrcConnectionSetup-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_r13, type_, "c1"); return c.get(); } rrc_early_data_complete_nb_r15_s& rrc_early_data_complete_r15() { - assert_choice_type("rrcEarlyDataComplete-r15", type_.to_string(), "c1"); + assert_choice_type(types::rrc_early_data_complete_r15, type_, "c1"); return c.get(); } const rrc_conn_reest_nb_s& rrc_conn_reest_r13() const { - assert_choice_type("rrcConnectionReestablishment-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_r13, type_, "c1"); return c.get(); } const rrc_conn_reest_reject_s& rrc_conn_reest_reject_r13() const { - assert_choice_type("rrcConnectionReestablishmentReject-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_reject_r13, type_, "c1"); return c.get(); } const rrc_conn_reject_nb_s& rrc_conn_reject_r13() const { - assert_choice_type("rrcConnectionReject-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reject_r13, type_, "c1"); return c.get(); } const rrc_conn_setup_nb_s& rrc_conn_setup_r13() const { - assert_choice_type("rrcConnectionSetup-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_r13, type_, "c1"); return c.get(); } const rrc_early_data_complete_nb_r15_s& rrc_early_data_complete_r15() const { - assert_choice_type("rrcEarlyDataComplete-r15", type_.to_string(), "c1"); + assert_choice_type(types::rrc_early_data_complete_r15, type_, "c1"); return c.get(); } rrc_conn_reest_nb_s& set_rrc_conn_reest_r13(); @@ -5978,12 +5978,12 @@ struct dl_ccch_msg_type_nb_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "DL-CCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "DL-CCCH-MessageType-NB"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "DL-CCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "DL-CCCH-MessageType-NB"); return c; } c1_c_& set_c1(); @@ -6170,12 +6170,12 @@ struct dl_info_transfer_nb_s { // getters dl_info_transfer_nb_r13_ies_s& dl_info_transfer_r13() { - assert_choice_type("dlInformationTransfer-r13", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer_r13, type_, "c1"); return c; } const dl_info_transfer_nb_r13_ies_s& dl_info_transfer_r13() const { - assert_choice_type("dlInformationTransfer-r13", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer_r13, type_, "c1"); return c; } dl_info_transfer_nb_r13_ies_s& set_dl_info_transfer_r13(); @@ -6197,12 +6197,12 @@ struct dl_info_transfer_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -6244,12 +6244,12 @@ struct rrc_conn_recfg_nb_s { // getters rrc_conn_recfg_nb_r13_ies_s& rrc_conn_recfg_r13() { - assert_choice_type("rrcConnectionReconfiguration-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg_r13, type_, "c1"); return c; } const rrc_conn_recfg_nb_r13_ies_s& rrc_conn_recfg_r13() const { - assert_choice_type("rrcConnectionReconfiguration-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg_r13, type_, "c1"); return c; } rrc_conn_recfg_nb_r13_ies_s& set_rrc_conn_recfg_r13(); @@ -6271,12 +6271,12 @@ struct rrc_conn_recfg_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -6318,12 +6318,12 @@ struct rrc_conn_release_nb_s { // getters rrc_conn_release_nb_r13_ies_s& rrc_conn_release_r13() { - assert_choice_type("rrcConnectionRelease-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_release_r13, type_, "c1"); return c; } const rrc_conn_release_nb_r13_ies_s& rrc_conn_release_r13() const { - assert_choice_type("rrcConnectionRelease-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_release_r13, type_, "c1"); return c; } rrc_conn_release_nb_r13_ies_s& set_rrc_conn_release_r13(); @@ -6345,12 +6345,12 @@ struct rrc_conn_release_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -6392,12 +6392,12 @@ struct rrc_conn_resume_nb_s { // getters rrc_conn_resume_nb_r13_ies_s& rrc_conn_resume_r13() { - assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_r13, type_, "c1"); return c; } const rrc_conn_resume_nb_r13_ies_s& rrc_conn_resume_r13() const { - assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_r13, type_, "c1"); return c; } rrc_conn_resume_nb_r13_ies_s& set_rrc_conn_resume_r13(); @@ -6419,12 +6419,12 @@ struct rrc_conn_resume_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -6466,12 +6466,12 @@ struct ue_cap_enquiry_nb_s { // getters ue_cap_enquiry_nb_r13_ies_s& ue_cap_enquiry_r13() { - assert_choice_type("ueCapabilityEnquiry-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_enquiry_r13, type_, "c1"); return c; } const ue_cap_enquiry_nb_r13_ies_s& ue_cap_enquiry_r13() const { - assert_choice_type("ueCapabilityEnquiry-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_enquiry_r13, type_, "c1"); return c; } ue_cap_enquiry_nb_r13_ies_s& set_ue_cap_enquiry_r13(); @@ -6493,12 +6493,12 @@ struct ue_cap_enquiry_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -6552,62 +6552,62 @@ struct dl_dcch_msg_type_nb_c { // getters dl_info_transfer_nb_s& dl_info_transfer_r13() { - assert_choice_type("dlInformationTransfer-r13", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer_r13, type_, "c1"); return c.get(); } rrc_conn_recfg_nb_s& rrc_conn_recfg_r13() { - assert_choice_type("rrcConnectionReconfiguration-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg_r13, type_, "c1"); return c.get(); } rrc_conn_release_nb_s& rrc_conn_release_r13() { - assert_choice_type("rrcConnectionRelease-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_release_r13, type_, "c1"); return c.get(); } security_mode_cmd_s& security_mode_cmd_r13() { - assert_choice_type("securityModeCommand-r13", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_cmd_r13, type_, "c1"); return c.get(); } ue_cap_enquiry_nb_s& ue_cap_enquiry_r13() { - assert_choice_type("ueCapabilityEnquiry-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_enquiry_r13, type_, "c1"); return c.get(); } rrc_conn_resume_nb_s& rrc_conn_resume_r13() { - assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_r13, type_, "c1"); return c.get(); } const dl_info_transfer_nb_s& dl_info_transfer_r13() const { - assert_choice_type("dlInformationTransfer-r13", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer_r13, type_, "c1"); return c.get(); } const rrc_conn_recfg_nb_s& rrc_conn_recfg_r13() const { - assert_choice_type("rrcConnectionReconfiguration-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg_r13, type_, "c1"); return c.get(); } const rrc_conn_release_nb_s& rrc_conn_release_r13() const { - assert_choice_type("rrcConnectionRelease-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_release_r13, type_, "c1"); return c.get(); } const security_mode_cmd_s& security_mode_cmd_r13() const { - assert_choice_type("securityModeCommand-r13", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_cmd_r13, type_, "c1"); return c.get(); } const ue_cap_enquiry_nb_s& ue_cap_enquiry_r13() const { - assert_choice_type("ueCapabilityEnquiry-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_enquiry_r13, type_, "c1"); return c.get(); } const rrc_conn_resume_nb_s& rrc_conn_resume_r13() const { - assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_r13, type_, "c1"); return c.get(); } dl_info_transfer_nb_s& set_dl_info_transfer_r13(); @@ -6650,12 +6650,12 @@ struct dl_dcch_msg_type_nb_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "DL-DCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "DL-DCCH-MessageType-NB"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "DL-DCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "DL-DCCH-MessageType-NB"); return c; } c1_c_& set_c1(); @@ -6922,12 +6922,12 @@ struct ho_prep_info_nb_s { // getters ho_prep_info_nb_ies_s& ho_prep_info_r13() { - assert_choice_type("handoverPreparationInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ho_prep_info_r13, type_, "c1"); return c; } const ho_prep_info_nb_ies_s& ho_prep_info_r13() const { - assert_choice_type("handoverPreparationInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ho_prep_info_r13, type_, "c1"); return c; } ho_prep_info_nb_ies_s& set_ho_prep_info_r13(); @@ -6951,12 +6951,12 @@ struct ho_prep_info_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -7057,12 +7057,12 @@ struct pcch_msg_type_nb_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "PCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "PCCH-MessageType-NB"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "PCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "PCCH-MessageType-NB"); return c; } c1_c_& set_c1(); @@ -7127,12 +7127,12 @@ struct rrc_conn_recfg_complete_nb_s { // getters rrc_conn_recfg_complete_nb_r13_ies_s& rrc_conn_recfg_complete_r13() { - assert_choice_type("rrcConnectionReconfigurationComplete-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_recfg_complete_r13, type_, "criticalExtensions"); return c; } const rrc_conn_recfg_complete_nb_r13_ies_s& rrc_conn_recfg_complete_r13() const { - assert_choice_type("rrcConnectionReconfigurationComplete-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_recfg_complete_r13, type_, "criticalExtensions"); return c; } rrc_conn_recfg_complete_nb_r13_ies_s& set_rrc_conn_recfg_complete_r13(); @@ -7198,12 +7198,12 @@ struct rrc_conn_reest_complete_nb_s { // getters rrc_conn_reest_complete_nb_r13_ies_s& rrc_conn_reest_complete_r13() { - assert_choice_type("rrcConnectionReestablishmentComplete-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_reest_complete_r13, type_, "criticalExtensions"); return c; } const rrc_conn_reest_complete_nb_r13_ies_s& rrc_conn_reest_complete_r13() const { - assert_choice_type("rrcConnectionReestablishmentComplete-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_reest_complete_r13, type_, "criticalExtensions"); return c; } rrc_conn_reest_complete_nb_r13_ies_s& set_rrc_conn_reest_complete_r13(); @@ -7326,12 +7326,12 @@ struct rrc_conn_reest_request_nb_s { // getters rrc_conn_reest_request_nb_r14_ies_s& rrc_conn_reest_request_r14() { - assert_choice_type("rrcConnectionReestablishmentRequest-r14", type_.to_string(), "later"); + assert_choice_type(types::rrc_conn_reest_request_r14, type_, "later"); return c; } const rrc_conn_reest_request_nb_r14_ies_s& rrc_conn_reest_request_r14() const { - assert_choice_type("rrcConnectionReestablishmentRequest-r14", type_.to_string(), "later"); + assert_choice_type(types::rrc_conn_reest_request_r14, type_, "later"); return c; } rrc_conn_reest_request_nb_r14_ies_s& set_rrc_conn_reest_request_r14(); @@ -7361,22 +7361,22 @@ struct rrc_conn_reest_request_nb_s { // getters rrc_conn_reest_request_nb_r13_ies_s& rrc_conn_reest_request_r13() { - assert_choice_type("rrcConnectionReestablishmentRequest-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_reest_request_r13, type_, "criticalExtensions"); return c.get(); } later_c_& later() { - assert_choice_type("later", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::later, type_, "criticalExtensions"); return c.get(); } const rrc_conn_reest_request_nb_r13_ies_s& rrc_conn_reest_request_r13() const { - assert_choice_type("rrcConnectionReestablishmentRequest-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_reest_request_r13, type_, "criticalExtensions"); return c.get(); } const later_c_& later() const { - assert_choice_type("later", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::later, type_, "criticalExtensions"); return c.get(); } rrc_conn_reest_request_nb_r13_ies_s& set_rrc_conn_reest_request_r13(); @@ -7452,12 +7452,12 @@ struct rrc_conn_request_nb_s { // getters rrc_conn_request_nb_r13_ies_s& rrc_conn_request_r13() { - assert_choice_type("rrcConnectionRequest-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_request_r13, type_, "criticalExtensions"); return c; } const rrc_conn_request_nb_r13_ies_s& rrc_conn_request_r13() const { - assert_choice_type("rrcConnectionRequest-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_request_r13, type_, "criticalExtensions"); return c; } rrc_conn_request_nb_r13_ies_s& set_rrc_conn_request_r13(); @@ -7526,12 +7526,12 @@ struct rrc_conn_resume_complete_nb_s { // getters rrc_conn_resume_complete_nb_r13_ies_s& rrc_conn_resume_complete_r13() { - assert_choice_type("rrcConnectionResumeComplete-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_resume_complete_r13, type_, "criticalExtensions"); return c; } const rrc_conn_resume_complete_nb_r13_ies_s& rrc_conn_resume_complete_r13() const { - assert_choice_type("rrcConnectionResumeComplete-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_resume_complete_r13, type_, "criticalExtensions"); return c; } rrc_conn_resume_complete_nb_r13_ies_s& set_rrc_conn_resume_complete_r13(); @@ -7587,12 +7587,12 @@ struct rrc_conn_resume_request_nb_s { // getters rrc_conn_resume_request_nb_r13_ies_s& rrc_conn_resume_request_r13() { - assert_choice_type("rrcConnectionResumeRequest-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_resume_request_r13, type_, "criticalExtensions"); return c; } const rrc_conn_resume_request_nb_r13_ies_s& rrc_conn_resume_request_r13() const { - assert_choice_type("rrcConnectionResumeRequest-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_resume_request_r13, type_, "criticalExtensions"); return c; } rrc_conn_resume_request_nb_r13_ies_s& set_rrc_conn_resume_request_r13(); @@ -7679,12 +7679,12 @@ struct rrc_conn_setup_complete_nb_s { // getters rrc_conn_setup_complete_nb_r13_ies_s& rrc_conn_setup_complete_r13() { - assert_choice_type("rrcConnectionSetupComplete-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_setup_complete_r13, type_, "criticalExtensions"); return c; } const rrc_conn_setup_complete_nb_r13_ies_s& rrc_conn_setup_complete_r13() const { - assert_choice_type("rrcConnectionSetupComplete-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_conn_setup_complete_r13, type_, "criticalExtensions"); return c; } rrc_conn_setup_complete_nb_r13_ies_s& set_rrc_conn_setup_complete_r13(); @@ -7761,12 +7761,12 @@ struct rrc_early_data_request_nb_r15_s { // getters rrc_early_data_request_nb_r15_ies_s& rrc_early_data_request_r15() { - assert_choice_type("rrcEarlyDataRequest-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_early_data_request_r15, type_, "criticalExtensions"); return c; } const rrc_early_data_request_nb_r15_ies_s& rrc_early_data_request_r15() const { - assert_choice_type("rrcEarlyDataRequest-r15", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_early_data_request_r15, type_, "criticalExtensions"); return c; } rrc_early_data_request_nb_r15_ies_s& set_rrc_early_data_request_r15(); @@ -7845,162 +7845,162 @@ struct sc_mtch_sched_info_nb_r14_s { // getters uint8_t& sf10() { - assert_choice_type("sf10", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf10, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf20() { - assert_choice_type("sf20", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf20, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf32() { - assert_choice_type("sf32", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf32, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf40() { - assert_choice_type("sf40", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf40, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf64() { - assert_choice_type("sf64", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf64, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf80() { - assert_choice_type("sf80", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf80, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf128() { - assert_choice_type("sf128", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf128, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& sf160() { - assert_choice_type("sf160", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf160, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf256() { - assert_choice_type("sf256", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf256, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf320() { - assert_choice_type("sf320", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf320, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf512() { - assert_choice_type("sf512", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf512, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf640() { - assert_choice_type("sf640", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf640, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf1024() { - assert_choice_type("sf1024", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf1024, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf2048() { - assert_choice_type("sf2048", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf2048, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf4096() { - assert_choice_type("sf4096", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf4096, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint16_t& sf8192() { - assert_choice_type("sf8192", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf8192, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf10() const { - assert_choice_type("sf10", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf10, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf20() const { - assert_choice_type("sf20", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf20, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf32() const { - assert_choice_type("sf32", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf32, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf40() const { - assert_choice_type("sf40", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf40, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf64() const { - assert_choice_type("sf64", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf64, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf80() const { - assert_choice_type("sf80", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf80, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf128() const { - assert_choice_type("sf128", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf128, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint8_t& sf160() const { - assert_choice_type("sf160", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf160, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf256() const { - assert_choice_type("sf256", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf256, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf320() const { - assert_choice_type("sf320", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf320, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf512() const { - assert_choice_type("sf512", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf512, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf640() const { - assert_choice_type("sf640", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf640, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf1024() const { - assert_choice_type("sf1024", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf1024, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf2048() const { - assert_choice_type("sf2048", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf2048, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf4096() const { - assert_choice_type("sf4096", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf4096, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } const uint16_t& sf8192() const { - assert_choice_type("sf8192", type_.to_string(), "schedulingPeriodStartOffsetSCPTM-r14"); + assert_choice_type(types::sf8192, type_, "schedulingPeriodStartOffsetSCPTM-r14"); return c.get(); } uint8_t& set_sf10(); @@ -8063,22 +8063,22 @@ struct sc_mtch_info_nb_r14_s { // getters dl_carrier_cfg_common_nb_r14_s& dl_carrier_cfg_r14() { - assert_choice_type("dl-CarrierConfig-r14", type_.to_string(), "sc-mtch-CarrierConfig-r14"); + assert_choice_type(types::dl_carrier_cfg_r14, type_, "sc-mtch-CarrierConfig-r14"); return c.get(); } uint8_t& dl_carrier_idx_r14() { - assert_choice_type("dl-CarrierIndex-r14", type_.to_string(), "sc-mtch-CarrierConfig-r14"); + assert_choice_type(types::dl_carrier_idx_r14, type_, "sc-mtch-CarrierConfig-r14"); return c.get(); } const dl_carrier_cfg_common_nb_r14_s& dl_carrier_cfg_r14() const { - assert_choice_type("dl-CarrierConfig-r14", type_.to_string(), "sc-mtch-CarrierConfig-r14"); + assert_choice_type(types::dl_carrier_cfg_r14, type_, "sc-mtch-CarrierConfig-r14"); return c.get(); } const uint8_t& dl_carrier_idx_r14() const { - assert_choice_type("dl-CarrierIndex-r14", type_.to_string(), "sc-mtch-CarrierConfig-r14"); + assert_choice_type(types::dl_carrier_idx_r14, type_, "sc-mtch-CarrierConfig-r14"); return c.get(); } dl_carrier_cfg_common_nb_r14_s& set_dl_carrier_cfg_r14(); @@ -8236,12 +8236,12 @@ struct sc_mcch_msg_type_nb_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "SC-MCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "SC-MCCH-MessageType-NB"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "SC-MCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "SC-MCCH-MessageType-NB"); return c; } c1_c_& set_c1(); @@ -8493,12 +8493,12 @@ struct ue_cap_info_nb_s { // getters ue_cap_info_nb_r13_ies_s& ue_cap_info_r13() { - assert_choice_type("ueCapabilityInformation-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ue_cap_info_r13, type_, "criticalExtensions"); return c; } const ue_cap_info_nb_r13_ies_s& ue_cap_info_r13() const { - assert_choice_type("ueCapabilityInformation-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ue_cap_info_r13, type_, "criticalExtensions"); return c; } ue_cap_info_nb_r13_ies_s& set_ue_cap_info_r13(); @@ -8552,12 +8552,12 @@ struct ue_paging_coverage_info_nb_s { // getters ue_paging_coverage_info_nb_ies_s& ue_paging_coverage_info_r13() { - assert_choice_type("uePagingCoverageInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_paging_coverage_info_r13, type_, "c1"); return c; } const ue_paging_coverage_info_nb_ies_s& ue_paging_coverage_info_r13() const { - assert_choice_type("uePagingCoverageInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_paging_coverage_info_r13, type_, "c1"); return c; } ue_paging_coverage_info_nb_ies_s& set_ue_paging_coverage_info_r13(); @@ -8581,12 +8581,12 @@ struct ue_paging_coverage_info_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -8664,12 +8664,12 @@ struct ue_radio_access_cap_info_nb_s { // getters ue_radio_access_cap_info_nb_ies_s& ue_radio_access_cap_info_r13() { - assert_choice_type("ueRadioAccessCapabilityInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_access_cap_info_r13, type_, "c1"); return c; } const ue_radio_access_cap_info_nb_ies_s& ue_radio_access_cap_info_r13() const { - assert_choice_type("ueRadioAccessCapabilityInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_access_cap_info_r13, type_, "c1"); return c; } ue_radio_access_cap_info_nb_ies_s& set_ue_radio_access_cap_info_r13(); @@ -8693,12 +8693,12 @@ struct ue_radio_access_cap_info_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -8750,12 +8750,12 @@ struct ue_radio_paging_info_nb_s { // getters ue_radio_paging_info_nb_ies_s& ue_radio_paging_info_r13() { - assert_choice_type("ueRadioPagingInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_paging_info_r13, type_, "c1"); return c; } const ue_radio_paging_info_nb_ies_s& ue_radio_paging_info_r13() const { - assert_choice_type("ueRadioPagingInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_paging_info_r13, type_, "c1"); return c; } ue_radio_paging_info_nb_ies_s& set_ue_radio_paging_info_r13(); @@ -8779,12 +8779,12 @@ struct ue_radio_paging_info_nb_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -8833,42 +8833,42 @@ struct ul_ccch_msg_type_nb_c { // getters rrc_conn_reest_request_nb_s& rrc_conn_reest_request_r13() { - assert_choice_type("rrcConnectionReestablishmentRequest-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_request_r13, type_, "c1"); return c.get(); } rrc_conn_request_nb_s& rrc_conn_request_r13() { - assert_choice_type("rrcConnectionRequest-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_request_r13, type_, "c1"); return c.get(); } rrc_conn_resume_request_nb_s& rrc_conn_resume_request_r13() { - assert_choice_type("rrcConnectionResumeRequest-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_request_r13, type_, "c1"); return c.get(); } rrc_early_data_request_nb_r15_s& rrc_early_data_request_r15() { - assert_choice_type("rrcEarlyDataRequest-r15", type_.to_string(), "c1"); + assert_choice_type(types::rrc_early_data_request_r15, type_, "c1"); return c.get(); } const rrc_conn_reest_request_nb_s& rrc_conn_reest_request_r13() const { - assert_choice_type("rrcConnectionReestablishmentRequest-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_request_r13, type_, "c1"); return c.get(); } const rrc_conn_request_nb_s& rrc_conn_request_r13() const { - assert_choice_type("rrcConnectionRequest-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_request_r13, type_, "c1"); return c.get(); } const rrc_conn_resume_request_nb_s& rrc_conn_resume_request_r13() const { - assert_choice_type("rrcConnectionResumeRequest-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_request_r13, type_, "c1"); return c.get(); } const rrc_early_data_request_nb_r15_s& rrc_early_data_request_r15() const { - assert_choice_type("rrcEarlyDataRequest-r15", type_.to_string(), "c1"); + assert_choice_type(types::rrc_early_data_request_r15, type_, "c1"); return c.get(); } rrc_conn_reest_request_nb_s& set_rrc_conn_reest_request_r13(); @@ -8905,12 +8905,12 @@ struct ul_ccch_msg_type_nb_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "UL-CCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "UL-CCCH-MessageType-NB"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "UL-CCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "UL-CCCH-MessageType-NB"); return c; } c1_c_& set_c1(); @@ -8964,12 +8964,12 @@ struct ul_info_transfer_nb_s { // getters ul_info_transfer_nb_r13_ies_s& ul_info_transfer_r13() { - assert_choice_type("ulInformationTransfer-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ul_info_transfer_r13, type_, "criticalExtensions"); return c; } const ul_info_transfer_nb_r13_ies_s& ul_info_transfer_r13() const { - assert_choice_type("ulInformationTransfer-r13", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ul_info_transfer_r13, type_, "criticalExtensions"); return c; } ul_info_transfer_nb_r13_ies_s& set_ul_info_transfer_r13(); @@ -9030,82 +9030,82 @@ struct ul_dcch_msg_type_nb_c { // getters rrc_conn_recfg_complete_nb_s& rrc_conn_recfg_complete_r13() { - assert_choice_type("rrcConnectionReconfigurationComplete-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg_complete_r13, type_, "c1"); return c.get(); } rrc_conn_reest_complete_nb_s& rrc_conn_reest_complete_r13() { - assert_choice_type("rrcConnectionReestablishmentComplete-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_complete_r13, type_, "c1"); return c.get(); } rrc_conn_setup_complete_nb_s& rrc_conn_setup_complete_r13() { - assert_choice_type("rrcConnectionSetupComplete-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_complete_r13, type_, "c1"); return c.get(); } security_mode_complete_s& security_mode_complete_r13() { - assert_choice_type("securityModeComplete-r13", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_complete_r13, type_, "c1"); return c.get(); } security_mode_fail_s& security_mode_fail_r13() { - assert_choice_type("securityModeFailure-r13", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_fail_r13, type_, "c1"); return c.get(); } ue_cap_info_nb_s& ue_cap_info_r13() { - assert_choice_type("ueCapabilityInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_info_r13, type_, "c1"); return c.get(); } ul_info_transfer_nb_s& ul_info_transfer_r13() { - assert_choice_type("ulInformationTransfer-r13", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer_r13, type_, "c1"); return c.get(); } rrc_conn_resume_complete_nb_s& rrc_conn_resume_complete_r13() { - assert_choice_type("rrcConnectionResumeComplete-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_complete_r13, type_, "c1"); return c.get(); } const rrc_conn_recfg_complete_nb_s& rrc_conn_recfg_complete_r13() const { - assert_choice_type("rrcConnectionReconfigurationComplete-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_recfg_complete_r13, type_, "c1"); return c.get(); } const rrc_conn_reest_complete_nb_s& rrc_conn_reest_complete_r13() const { - assert_choice_type("rrcConnectionReestablishmentComplete-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_reest_complete_r13, type_, "c1"); return c.get(); } const rrc_conn_setup_complete_nb_s& rrc_conn_setup_complete_r13() const { - assert_choice_type("rrcConnectionSetupComplete-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_setup_complete_r13, type_, "c1"); return c.get(); } const security_mode_complete_s& security_mode_complete_r13() const { - assert_choice_type("securityModeComplete-r13", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_complete_r13, type_, "c1"); return c.get(); } const security_mode_fail_s& security_mode_fail_r13() const { - assert_choice_type("securityModeFailure-r13", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_fail_r13, type_, "c1"); return c.get(); } const ue_cap_info_nb_s& ue_cap_info_r13() const { - assert_choice_type("ueCapabilityInformation-r13", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_info_r13, type_, "c1"); return c.get(); } const ul_info_transfer_nb_s& ul_info_transfer_r13() const { - assert_choice_type("ulInformationTransfer-r13", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer_r13, type_, "c1"); return c.get(); } const rrc_conn_resume_complete_nb_s& rrc_conn_resume_complete_r13() const { - assert_choice_type("rrcConnectionResumeComplete-r13", type_.to_string(), "c1"); + assert_choice_type(types::rrc_conn_resume_complete_r13, type_, "c1"); return c.get(); } rrc_conn_recfg_complete_nb_s& set_rrc_conn_recfg_complete_r13(); @@ -9158,12 +9158,12 @@ struct ul_dcch_msg_type_nb_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "UL-DCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "UL-DCCH-MessageType-NB"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "UL-DCCH-MessageType-NB"); + assert_choice_type(types::c1, type_, "UL-DCCH-MessageType-NB"); return c; } c1_c_& set_c1(); diff --git a/lib/include/srsran/asn1/rrc_nr.h b/lib/include/srsran/asn1/rrc_nr.h index eead77d39..4638045ab 100644 --- a/lib/include/srsran/asn1/rrc_nr.h +++ b/lib/include/srsran/asn1/rrc_nr.h @@ -276,12 +276,12 @@ struct bcch_bch_msg_type_c { // getters mib_s& mib() { - assert_choice_type("mib", type_.to_string(), "BCCH-BCH-MessageType"); + assert_choice_type(types::mib, type_, "BCCH-BCH-MessageType"); return c; } const mib_s& mib() const { - assert_choice_type("mib", type_.to_string(), "BCCH-BCH-MessageType"); + assert_choice_type(types::mib, type_, "BCCH-BCH-MessageType"); return c; } mib_s& set_mib(); @@ -655,12 +655,12 @@ struct ctrl_res_set_s { // getters interleaved_s_& interleaved() { - assert_choice_type("interleaved", type_.to_string(), "cce-REG-MappingType"); + assert_choice_type(types::interleaved, type_, "cce-REG-MappingType"); return c; } const interleaved_s_& interleaved() const { - assert_choice_type("interleaved", type_.to_string(), "cce-REG-MappingType"); + assert_choice_type(types::interleaved, type_, "cce-REG-MappingType"); return c; } interleaved_s_& set_interleaved(); @@ -830,62 +830,62 @@ struct ssb_mtc_s { // getters uint8_t& sf5() { - assert_choice_type("sf5", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf5, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sf10() { - assert_choice_type("sf10", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf10, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sf20() { - assert_choice_type("sf20", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf20, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sf40() { - assert_choice_type("sf40", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf40, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sf80() { - assert_choice_type("sf80", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf80, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sf160() { - assert_choice_type("sf160", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf160, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sf5() const { - assert_choice_type("sf5", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf5, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sf10() const { - assert_choice_type("sf10", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf10, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sf20() const { - assert_choice_type("sf20", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf20, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sf40() const { - assert_choice_type("sf40", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf40, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sf80() const { - assert_choice_type("sf80", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf80, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sf160() const { - assert_choice_type("sf160", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sf160, type_, "periodicityAndOffset"); return c.get(); } uint8_t& set_sf5(); @@ -942,32 +942,32 @@ struct ssb_to_measure_c { // getters fixed_bitstring<4>& short_bitmap() { - assert_choice_type("shortBitmap", type_.to_string(), "SSB-ToMeasure"); + assert_choice_type(types::short_bitmap, type_, "SSB-ToMeasure"); return c.get >(); } fixed_bitstring<8>& medium_bitmap() { - assert_choice_type("mediumBitmap", type_.to_string(), "SSB-ToMeasure"); + assert_choice_type(types::medium_bitmap, type_, "SSB-ToMeasure"); return c.get >(); } fixed_bitstring<64>& long_bitmap() { - assert_choice_type("longBitmap", type_.to_string(), "SSB-ToMeasure"); + assert_choice_type(types::long_bitmap, type_, "SSB-ToMeasure"); return c.get >(); } const fixed_bitstring<4>& short_bitmap() const { - assert_choice_type("shortBitmap", type_.to_string(), "SSB-ToMeasure"); + assert_choice_type(types::short_bitmap, type_, "SSB-ToMeasure"); return c.get >(); } const fixed_bitstring<8>& medium_bitmap() const { - assert_choice_type("mediumBitmap", type_.to_string(), "SSB-ToMeasure"); + assert_choice_type(types::medium_bitmap, type_, "SSB-ToMeasure"); return c.get >(); } const fixed_bitstring<64>& long_bitmap() const { - assert_choice_type("longBitmap", type_.to_string(), "SSB-ToMeasure"); + assert_choice_type(types::long_bitmap, type_, "SSB-ToMeasure"); return c.get >(); } fixed_bitstring<4>& set_short_bitmap(); @@ -1023,142 +1023,142 @@ struct search_space_s { // getters uint8_t& sl2() { - assert_choice_type("sl2", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl2, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint8_t& sl4() { - assert_choice_type("sl4", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl4, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint8_t& sl5() { - assert_choice_type("sl5", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl5, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint8_t& sl8() { - assert_choice_type("sl8", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl8, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint8_t& sl10() { - assert_choice_type("sl10", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl10, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint8_t& sl16() { - assert_choice_type("sl16", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl16, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint8_t& sl20() { - assert_choice_type("sl20", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl20, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint8_t& sl40() { - assert_choice_type("sl40", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl40, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint8_t& sl80() { - assert_choice_type("sl80", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl80, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint8_t& sl160() { - assert_choice_type("sl160", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl160, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint16_t& sl320() { - assert_choice_type("sl320", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl320, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint16_t& sl640() { - assert_choice_type("sl640", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl640, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint16_t& sl1280() { - assert_choice_type("sl1280", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl1280, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } uint16_t& sl2560() { - assert_choice_type("sl2560", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl2560, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint8_t& sl2() const { - assert_choice_type("sl2", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl2, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint8_t& sl4() const { - assert_choice_type("sl4", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl4, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint8_t& sl5() const { - assert_choice_type("sl5", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl5, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint8_t& sl8() const { - assert_choice_type("sl8", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl8, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint8_t& sl10() const { - assert_choice_type("sl10", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl10, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint8_t& sl16() const { - assert_choice_type("sl16", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl16, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint8_t& sl20() const { - assert_choice_type("sl20", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl20, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint8_t& sl40() const { - assert_choice_type("sl40", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl40, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint8_t& sl80() const { - assert_choice_type("sl80", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl80, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint8_t& sl160() const { - assert_choice_type("sl160", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl160, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint16_t& sl320() const { - assert_choice_type("sl320", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl320, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint16_t& sl640() const { - assert_choice_type("sl640", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl640, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint16_t& sl1280() const { - assert_choice_type("sl1280", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl1280, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } const uint16_t& sl2560() const { - assert_choice_type("sl2560", type_.to_string(), "monitoringSlotPeriodicityAndOffset"); + assert_choice_type(types::sl2560, type_, "monitoringSlotPeriodicityAndOffset"); return c.get(); } void set_sl1(); @@ -1378,22 +1378,22 @@ struct search_space_s { // getters common_s_& common() { - assert_choice_type("common", type_.to_string(), "searchSpaceType"); + assert_choice_type(types::common, type_, "searchSpaceType"); return c.get(); } ue_specific_s_& ue_specific() { - assert_choice_type("ue-Specific", type_.to_string(), "searchSpaceType"); + assert_choice_type(types::ue_specific, type_, "searchSpaceType"); return c.get(); } const common_s_& common() const { - assert_choice_type("common", type_.to_string(), "searchSpaceType"); + assert_choice_type(types::common, type_, "searchSpaceType"); return c.get(); } const ue_specific_s_& ue_specific() const { - assert_choice_type("ue-Specific", type_.to_string(), "searchSpaceType"); + assert_choice_type(types::ue_specific, type_, "searchSpaceType"); return c.get(); } common_s_& set_common(); @@ -1650,93 +1650,93 @@ struct pdcch_cfg_common_s { // getters scs15_kh_zone_t_l_& scs15_kh_zone_t() { - assert_choice_type("sCS15KHZoneT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs15_kh_zone_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs30_kh_zone_t_scs15_kh_zhalf_t_l_& scs30_kh_zone_t_scs15_kh_zhalf_t() { - assert_choice_type("sCS30KHZoneT-SCS15KHZhalfT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs30_kh_zone_t_scs15_kh_zhalf_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t_l_& scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t() { assert_choice_type( - "sCS60KHZoneT-SCS30KHZhalfT-SCS15KHZquarterT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + types::scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t_l_& scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t() { - assert_choice_type("sCS120KHZoneT-SCS60KHZhalfT-SCS30KHZquarterT-SCS15KHZoneEighthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t_l_& scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t() { - assert_choice_type("sCS120KHZhalfT-SCS60KHZquarterT-SCS30KHZoneEighthT-SCS15KHZoneSixteenthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t_l_& scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t() { - assert_choice_type("sCS120KHZquarterT-SCS60KHZoneEighthT-SCS30KHZoneSixteenthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs120_kh_zone_eighth_t_scs60_kh_zone_sixteenth_t_l_& scs120_kh_zone_eighth_t_scs60_kh_zone_sixteenth_t() { assert_choice_type( - "sCS120KHZoneEighthT-SCS60KHZoneSixteenthT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + types::scs120_kh_zone_eighth_t_scs60_kh_zone_sixteenth_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs120_kh_zone_sixteenth_t_l_& scs120_kh_zone_sixteenth_t() { - assert_choice_type("sCS120KHZoneSixteenthT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs120_kh_zone_sixteenth_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs15_kh_zone_t_l_& scs15_kh_zone_t() const { - assert_choice_type("sCS15KHZoneT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs15_kh_zone_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs30_kh_zone_t_scs15_kh_zhalf_t_l_& scs30_kh_zone_t_scs15_kh_zhalf_t() const { - assert_choice_type("sCS30KHZoneT-SCS15KHZhalfT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs30_kh_zone_t_scs15_kh_zhalf_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t_l_& scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t() const { assert_choice_type( - "sCS60KHZoneT-SCS30KHZhalfT-SCS15KHZquarterT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + types::scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t_l_& scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t() const { - assert_choice_type("sCS120KHZoneT-SCS60KHZhalfT-SCS30KHZquarterT-SCS15KHZoneEighthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t_l_& scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t() const { - assert_choice_type("sCS120KHZhalfT-SCS60KHZquarterT-SCS30KHZoneEighthT-SCS15KHZoneSixteenthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t_l_& scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t() const { - assert_choice_type("sCS120KHZquarterT-SCS60KHZoneEighthT-SCS30KHZoneSixteenthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } @@ -1744,12 +1744,12 @@ struct pdcch_cfg_common_s { scs120_kh_zone_eighth_t_scs60_kh_zone_sixteenth_t() const { assert_choice_type( - "sCS120KHZoneEighthT-SCS60KHZoneSixteenthT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + types::scs120_kh_zone_eighth_t_scs60_kh_zone_sixteenth_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs120_kh_zone_sixteenth_t_l_& scs120_kh_zone_sixteenth_t() const { - assert_choice_type("sCS120KHZoneSixteenthT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs120_kh_zone_sixteenth_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs15_kh_zone_t_l_& set_scs15_kh_zone_t(); @@ -1953,82 +1953,82 @@ struct rach_cfg_common_s { // getters one_eighth_e_& one_eighth() { - assert_choice_type("oneEighth", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::one_eighth, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } one_fourth_e_& one_fourth() { - assert_choice_type("oneFourth", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::one_fourth, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } one_half_e_& one_half() { - assert_choice_type("oneHalf", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::one_half, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } one_e_& one() { - assert_choice_type("one", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::one, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } two_e_& two() { - assert_choice_type("two", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::two, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } uint8_t& four() { - assert_choice_type("four", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::four, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } uint8_t& eight() { - assert_choice_type("eight", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::eight, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } uint8_t& sixteen() { - assert_choice_type("sixteen", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::sixteen, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } const one_eighth_e_& one_eighth() const { - assert_choice_type("oneEighth", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::one_eighth, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } const one_fourth_e_& one_fourth() const { - assert_choice_type("oneFourth", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::one_fourth, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } const one_half_e_& one_half() const { - assert_choice_type("oneHalf", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::one_half, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } const one_e_& one() const { - assert_choice_type("one", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::one, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } const two_e_& two() const { - assert_choice_type("two", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::two, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } const uint8_t& four() const { - assert_choice_type("four", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::four, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } const uint8_t& eight() const { - assert_choice_type("eight", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::eight, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } const uint8_t& sixteen() const { - assert_choice_type("sixteen", type_.to_string(), "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); + assert_choice_type(types::sixteen, type_, "ssb-perRACH-OccasionAndCB-PreamblesPerSSB"); return c.get(); } one_eighth_e_& set_one_eighth(); @@ -2118,22 +2118,22 @@ struct rach_cfg_common_s { // getters uint16_t& l839() { - assert_choice_type("l839", type_.to_string(), "prach-RootSequenceIndex"); + assert_choice_type(types::l839, type_, "prach-RootSequenceIndex"); return c.get(); } uint8_t& l139() { - assert_choice_type("l139", type_.to_string(), "prach-RootSequenceIndex"); + assert_choice_type(types::l139, type_, "prach-RootSequenceIndex"); return c.get(); } const uint16_t& l839() const { - assert_choice_type("l839", type_.to_string(), "prach-RootSequenceIndex"); + assert_choice_type(types::l839, type_, "prach-RootSequenceIndex"); return c.get(); } const uint8_t& l139() const { - assert_choice_type("l139", type_.to_string(), "prach-RootSequenceIndex"); + assert_choice_type(types::l139, type_, "prach-RootSequenceIndex"); return c.get(); } uint16_t& set_l839(); @@ -2262,12 +2262,12 @@ struct setup_release_c { // getters elem_type_paramT_& setup() { - assert_choice_type("setup", type_.to_string(), "SetupRelease"); + assert_choice_type(types::setup, type_, "SetupRelease"); return c; } const elem_type_paramT_& setup() const { - assert_choice_type("setup", type_.to_string(), "SetupRelease"); + assert_choice_type(types::setup, type_, "SetupRelease"); return c; } void set_release() { set(types::release); } @@ -2455,42 +2455,42 @@ struct pcch_cfg_s { // getters uint8_t& half_t() { - assert_choice_type("halfT", type_.to_string(), "nAndPagingFrameOffset"); + assert_choice_type(types::half_t, type_, "nAndPagingFrameOffset"); return c.get(); } uint8_t& quarter_t() { - assert_choice_type("quarterT", type_.to_string(), "nAndPagingFrameOffset"); + assert_choice_type(types::quarter_t, type_, "nAndPagingFrameOffset"); return c.get(); } uint8_t& one_eighth_t() { - assert_choice_type("oneEighthT", type_.to_string(), "nAndPagingFrameOffset"); + assert_choice_type(types::one_eighth_t, type_, "nAndPagingFrameOffset"); return c.get(); } uint8_t& one_sixteenth_t() { - assert_choice_type("oneSixteenthT", type_.to_string(), "nAndPagingFrameOffset"); + assert_choice_type(types::one_sixteenth_t, type_, "nAndPagingFrameOffset"); return c.get(); } const uint8_t& half_t() const { - assert_choice_type("halfT", type_.to_string(), "nAndPagingFrameOffset"); + assert_choice_type(types::half_t, type_, "nAndPagingFrameOffset"); return c.get(); } const uint8_t& quarter_t() const { - assert_choice_type("quarterT", type_.to_string(), "nAndPagingFrameOffset"); + assert_choice_type(types::quarter_t, type_, "nAndPagingFrameOffset"); return c.get(); } const uint8_t& one_eighth_t() const { - assert_choice_type("oneEighthT", type_.to_string(), "nAndPagingFrameOffset"); + assert_choice_type(types::one_eighth_t, type_, "nAndPagingFrameOffset"); return c.get(); } const uint8_t& one_sixteenth_t() const { - assert_choice_type("oneSixteenthT", type_.to_string(), "nAndPagingFrameOffset"); + assert_choice_type(types::one_sixteenth_t, type_, "nAndPagingFrameOffset"); return c.get(); } void set_one_t(); @@ -2553,93 +2553,93 @@ struct pcch_cfg_s { // getters scs15_kh_zone_t_l_& scs15_kh_zone_t() { - assert_choice_type("sCS15KHZoneT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs15_kh_zone_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs30_kh_zone_t_scs15_kh_zhalf_t_l_& scs30_kh_zone_t_scs15_kh_zhalf_t() { - assert_choice_type("sCS30KHZoneT-SCS15KHZhalfT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs30_kh_zone_t_scs15_kh_zhalf_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t_l_& scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t() { assert_choice_type( - "sCS60KHZoneT-SCS30KHZhalfT-SCS15KHZquarterT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + types::scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t_l_& scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t() { - assert_choice_type("sCS120KHZoneT-SCS60KHZhalfT-SCS30KHZquarterT-SCS15KHZoneEighthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t_l_& scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t() { - assert_choice_type("sCS120KHZhalfT-SCS60KHZquarterT-SCS30KHZoneEighthT-SCS15KHZoneSixteenthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t_l_& scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t() { - assert_choice_type("sCS120KHZquarterT-SCS60KHZoneEighthT-SCS30KHZoneSixteenthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs120_kh_zone_eighth_t_scs60_kh_zone_sixteenth_t_l_& scs120_kh_zone_eighth_t_scs60_kh_zone_sixteenth_t() { assert_choice_type( - "sCS120KHZoneEighthT-SCS60KHZoneSixteenthT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + types::scs120_kh_zone_eighth_t_scs60_kh_zone_sixteenth_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs120_kh_zone_sixteenth_t_l_& scs120_kh_zone_sixteenth_t() { - assert_choice_type("sCS120KHZoneSixteenthT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs120_kh_zone_sixteenth_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs15_kh_zone_t_l_& scs15_kh_zone_t() const { - assert_choice_type("sCS15KHZoneT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs15_kh_zone_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs30_kh_zone_t_scs15_kh_zhalf_t_l_& scs30_kh_zone_t_scs15_kh_zhalf_t() const { - assert_choice_type("sCS30KHZoneT-SCS15KHZhalfT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs30_kh_zone_t_scs15_kh_zhalf_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t_l_& scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t() const { assert_choice_type( - "sCS60KHZoneT-SCS30KHZhalfT-SCS15KHZquarterT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + types::scs60_kh_zone_t_scs30_kh_zhalf_t_scs15_kh_zquarter_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t_l_& scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t() const { - assert_choice_type("sCS120KHZoneT-SCS60KHZhalfT-SCS30KHZquarterT-SCS15KHZoneEighthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zone_t_scs60_kh_zhalf_t_scs30_kh_zquarter_t_scs15_kh_zone_eighth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t_l_& scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t() const { - assert_choice_type("sCS120KHZhalfT-SCS60KHZquarterT-SCS30KHZoneEighthT-SCS15KHZoneSixteenthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zhalf_t_scs60_kh_zquarter_t_scs30_kh_zone_eighth_t_scs15_kh_zone_sixteenth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t_l_& scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t() const { - assert_choice_type("sCS120KHZquarterT-SCS60KHZoneEighthT-SCS30KHZoneSixteenthT", - type_.to_string(), + assert_choice_type(types::scs120_kh_zquarter_t_scs60_kh_zone_eighth_t_scs30_kh_zone_sixteenth_t, + type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } @@ -2647,12 +2647,12 @@ struct pcch_cfg_s { scs120_kh_zone_eighth_t_scs60_kh_zone_sixteenth_t() const { assert_choice_type( - "sCS120KHZoneEighthT-SCS60KHZoneSixteenthT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + types::scs120_kh_zone_eighth_t_scs60_kh_zone_sixteenth_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } const scs120_kh_zone_sixteenth_t_l_& scs120_kh_zone_sixteenth_t() const { - assert_choice_type("sCS120KHZoneSixteenthT", type_.to_string(), "firstPDCCH-MonitoringOccasionOfPO"); + assert_choice_type(types::scs120_kh_zone_sixteenth_t, type_, "firstPDCCH-MonitoringOccasionOfPO"); return c.get(); } scs15_kh_zone_t_l_& set_scs15_kh_zone_t(); @@ -3227,22 +3227,22 @@ struct uac_barr_per_plmn_s { // getters uac_implicit_ac_barr_list_l_& uac_implicit_ac_barr_list() { - assert_choice_type("uac-ImplicitACBarringList", type_.to_string(), "uac-ACBarringListType"); + assert_choice_type(types::uac_implicit_ac_barr_list, type_, "uac-ACBarringListType"); return c.get(); } uac_barr_per_cat_list_l& uac_explicit_ac_barr_list() { - assert_choice_type("uac-ExplicitACBarringList", type_.to_string(), "uac-ACBarringListType"); + assert_choice_type(types::uac_explicit_ac_barr_list, type_, "uac-ACBarringListType"); return c.get(); } const uac_implicit_ac_barr_list_l_& uac_implicit_ac_barr_list() const { - assert_choice_type("uac-ImplicitACBarringList", type_.to_string(), "uac-ACBarringListType"); + assert_choice_type(types::uac_implicit_ac_barr_list, type_, "uac-ACBarringListType"); return c.get(); } const uac_barr_per_cat_list_l& uac_explicit_ac_barr_list() const { - assert_choice_type("uac-ExplicitACBarringList", type_.to_string(), "uac-ACBarringListType"); + assert_choice_type(types::uac_explicit_ac_barr_list, type_, "uac-ACBarringListType"); return c.get(); } uac_implicit_ac_barr_list_l_& set_uac_implicit_ac_barr_list(); @@ -3423,82 +3423,82 @@ struct sys_info_ies_s { // getters sib2_s& sib2() { - assert_choice_type("sib2", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib2, type_, "sib-TypeAndInfo-item"); return c.get(); } sib3_s& sib3() { - assert_choice_type("sib3", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib3, type_, "sib-TypeAndInfo-item"); return c.get(); } sib4_s& sib4() { - assert_choice_type("sib4", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib4, type_, "sib-TypeAndInfo-item"); return c.get(); } sib5_s& sib5() { - assert_choice_type("sib5", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib5, type_, "sib-TypeAndInfo-item"); return c.get(); } sib6_s& sib6() { - assert_choice_type("sib6", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib6, type_, "sib-TypeAndInfo-item"); return c.get(); } sib7_s& sib7() { - assert_choice_type("sib7", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib7, type_, "sib-TypeAndInfo-item"); return c.get(); } sib8_s& sib8() { - assert_choice_type("sib8", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib8, type_, "sib-TypeAndInfo-item"); return c.get(); } sib9_s& sib9() { - assert_choice_type("sib9", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib9, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib2_s& sib2() const { - assert_choice_type("sib2", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib2, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib3_s& sib3() const { - assert_choice_type("sib3", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib3, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib4_s& sib4() const { - assert_choice_type("sib4", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib4, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib5_s& sib5() const { - assert_choice_type("sib5", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib5, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib6_s& sib6() const { - assert_choice_type("sib6", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib6, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib7_s& sib7() const { - assert_choice_type("sib7", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib7, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib8_s& sib8() const { - assert_choice_type("sib8", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib8, type_, "sib-TypeAndInfo-item"); return c.get(); } const sib9_s& sib9() const { - assert_choice_type("sib9", type_.to_string(), "sib-TypeAndInfo-item"); + assert_choice_type(types::sib9, type_, "sib-TypeAndInfo-item"); return c.get(); } sib2_s& set_sib2(); @@ -3656,22 +3656,22 @@ struct sib1_s { // getters uac_access_category1_sel_assist_info_e& plmn_common() { - assert_choice_type("plmnCommon", type_.to_string(), "uac-AccessCategory1-SelectionAssistanceInfo"); + assert_choice_type(types::plmn_common, type_, "uac-AccessCategory1-SelectionAssistanceInfo"); return c.get(); } individual_plmn_list_l_& individual_plmn_list() { - assert_choice_type("individualPLMNList", type_.to_string(), "uac-AccessCategory1-SelectionAssistanceInfo"); + assert_choice_type(types::individual_plmn_list, type_, "uac-AccessCategory1-SelectionAssistanceInfo"); return c.get(); } const uac_access_category1_sel_assist_info_e& plmn_common() const { - assert_choice_type("plmnCommon", type_.to_string(), "uac-AccessCategory1-SelectionAssistanceInfo"); + assert_choice_type(types::plmn_common, type_, "uac-AccessCategory1-SelectionAssistanceInfo"); return c.get(); } const individual_plmn_list_l_& individual_plmn_list() const { - assert_choice_type("individualPLMNList", type_.to_string(), "uac-AccessCategory1-SelectionAssistanceInfo"); + assert_choice_type(types::individual_plmn_list, type_, "uac-AccessCategory1-SelectionAssistanceInfo"); return c.get(); } uac_access_category1_sel_assist_info_e& set_plmn_common(); @@ -3741,12 +3741,12 @@ struct sys_info_s { // getters sys_info_ies_s& sys_info() { - assert_choice_type("systemInformation", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::sys_info, type_, "criticalExtensions"); return c; } const sys_info_ies_s& sys_info() const { - assert_choice_type("systemInformation", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::sys_info, type_, "criticalExtensions"); return c; } sys_info_ies_s& set_sys_info(); @@ -3791,22 +3791,22 @@ struct bcch_dl_sch_msg_type_c { // getters sys_info_s& sys_info() { - assert_choice_type("systemInformation", type_.to_string(), "c1"); + assert_choice_type(types::sys_info, type_, "c1"); return c.get(); } sib1_s& sib_type1() { - assert_choice_type("systemInformationBlockType1", type_.to_string(), "c1"); + assert_choice_type(types::sib_type1, type_, "c1"); return c.get(); } const sys_info_s& sys_info() const { - assert_choice_type("systemInformation", type_.to_string(), "c1"); + assert_choice_type(types::sys_info, type_, "c1"); return c.get(); } const sib1_s& sib_type1() const { - assert_choice_type("systemInformationBlockType1", type_.to_string(), "c1"); + assert_choice_type(types::sib_type1, type_, "c1"); return c.get(); } sys_info_s& set_sys_info(); @@ -3837,12 +3837,12 @@ struct bcch_dl_sch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "BCCH-DL-SCH-MessageType"); + assert_choice_type(types::c1, type_, "BCCH-DL-SCH-MessageType"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "BCCH-DL-SCH-MessageType"); + assert_choice_type(types::c1, type_, "BCCH-DL-SCH-MessageType"); return c; } c1_c_& set_c1(); @@ -4023,22 +4023,22 @@ struct pdcp_cfg_s { // getters rohc_s_& rohc() { - assert_choice_type("rohc", type_.to_string(), "headerCompression"); + assert_choice_type(types::rohc, type_, "headerCompression"); return c.get(); } ul_only_rohc_s_& ul_only_rohc() { - assert_choice_type("uplinkOnlyROHC", type_.to_string(), "headerCompression"); + assert_choice_type(types::ul_only_rohc, type_, "headerCompression"); return c.get(); } const rohc_s_& rohc() const { - assert_choice_type("rohc", type_.to_string(), "headerCompression"); + assert_choice_type(types::rohc, type_, "headerCompression"); return c.get(); } const ul_only_rohc_s_& ul_only_rohc() const { - assert_choice_type("uplinkOnlyROHC", type_.to_string(), "headerCompression"); + assert_choice_type(types::ul_only_rohc, type_, "headerCompression"); return c.get(); } void set_not_used(); @@ -4230,22 +4230,22 @@ struct drb_to_add_mod_s { // getters uint8_t& eps_bearer_id() { - assert_choice_type("eps-BearerIdentity", type_.to_string(), "cnAssociation"); + assert_choice_type(types::eps_bearer_id, type_, "cnAssociation"); return c.get(); } sdap_cfg_s& sdap_cfg() { - assert_choice_type("sdap-Config", type_.to_string(), "cnAssociation"); + assert_choice_type(types::sdap_cfg, type_, "cnAssociation"); return c.get(); } const uint8_t& eps_bearer_id() const { - assert_choice_type("eps-BearerIdentity", type_.to_string(), "cnAssociation"); + assert_choice_type(types::eps_bearer_id, type_, "cnAssociation"); return c.get(); } const sdap_cfg_s& sdap_cfg() const { - assert_choice_type("sdap-Config", type_.to_string(), "cnAssociation"); + assert_choice_type(types::sdap_cfg, type_, "cnAssociation"); return c.get(); } uint8_t& set_eps_bearer_id(); @@ -4405,12 +4405,12 @@ struct rrc_reject_s { // getters rrc_reject_ies_s& rrc_reject() { - assert_choice_type("rrcReject", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_reject, type_, "criticalExtensions"); return c; } const rrc_reject_ies_s& rrc_reject() const { - assert_choice_type("rrcReject", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_reject, type_, "criticalExtensions"); return c; } rrc_reject_ies_s& set_rrc_reject(); @@ -4450,12 +4450,12 @@ struct rrc_setup_s { // getters rrc_setup_ies_s& rrc_setup() { - assert_choice_type("rrcSetup", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_setup, type_, "criticalExtensions"); return c; } const rrc_setup_ies_s& rrc_setup() const { - assert_choice_type("rrcSetup", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_setup, type_, "criticalExtensions"); return c; } rrc_setup_ies_s& set_rrc_setup(); @@ -4499,22 +4499,22 @@ struct dl_ccch_msg_type_c { // getters rrc_reject_s& rrc_reject() { - assert_choice_type("rrcReject", type_.to_string(), "c1"); + assert_choice_type(types::rrc_reject, type_, "c1"); return c.get(); } rrc_setup_s& rrc_setup() { - assert_choice_type("rrcSetup", type_.to_string(), "c1"); + assert_choice_type(types::rrc_setup, type_, "c1"); return c.get(); } const rrc_reject_s& rrc_reject() const { - assert_choice_type("rrcReject", type_.to_string(), "c1"); + assert_choice_type(types::rrc_reject, type_, "c1"); return c.get(); } const rrc_setup_s& rrc_setup() const { - assert_choice_type("rrcSetup", type_.to_string(), "c1"); + assert_choice_type(types::rrc_setup, type_, "c1"); return c.get(); } rrc_reject_s& set_rrc_reject(); @@ -4547,12 +4547,12 @@ struct dl_ccch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "DL-CCCH-MessageType"); + assert_choice_type(types::c1, type_, "DL-CCCH-MessageType"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "DL-CCCH-MessageType"); + assert_choice_type(types::c1, type_, "DL-CCCH-MessageType"); return c; } c1_c_& set_c1(); @@ -4598,52 +4598,52 @@ struct csi_rs_res_mob_s { // getters uint8_t& ms4() { - assert_choice_type("ms4", type_.to_string(), "slotConfig"); + assert_choice_type(types::ms4, type_, "slotConfig"); return c.get(); } uint8_t& ms5() { - assert_choice_type("ms5", type_.to_string(), "slotConfig"); + assert_choice_type(types::ms5, type_, "slotConfig"); return c.get(); } uint8_t& ms10() { - assert_choice_type("ms10", type_.to_string(), "slotConfig"); + assert_choice_type(types::ms10, type_, "slotConfig"); return c.get(); } uint8_t& ms20() { - assert_choice_type("ms20", type_.to_string(), "slotConfig"); + assert_choice_type(types::ms20, type_, "slotConfig"); return c.get(); } uint16_t& ms40() { - assert_choice_type("ms40", type_.to_string(), "slotConfig"); + assert_choice_type(types::ms40, type_, "slotConfig"); return c.get(); } const uint8_t& ms4() const { - assert_choice_type("ms4", type_.to_string(), "slotConfig"); + assert_choice_type(types::ms4, type_, "slotConfig"); return c.get(); } const uint8_t& ms5() const { - assert_choice_type("ms5", type_.to_string(), "slotConfig"); + assert_choice_type(types::ms5, type_, "slotConfig"); return c.get(); } const uint8_t& ms10() const { - assert_choice_type("ms10", type_.to_string(), "slotConfig"); + assert_choice_type(types::ms10, type_, "slotConfig"); return c.get(); } const uint8_t& ms20() const { - assert_choice_type("ms20", type_.to_string(), "slotConfig"); + assert_choice_type(types::ms20, type_, "slotConfig"); return c.get(); } const uint16_t& ms40() const { - assert_choice_type("ms40", type_.to_string(), "slotConfig"); + assert_choice_type(types::ms40, type_, "slotConfig"); return c.get(); } uint8_t& set_ms4(); @@ -4685,22 +4685,22 @@ struct csi_rs_res_mob_s { // getters fixed_bitstring<4>& row1() { - assert_choice_type("row1", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::row1, type_, "frequencyDomainAllocation"); return c.get >(); } fixed_bitstring<12>& row2() { - assert_choice_type("row2", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::row2, type_, "frequencyDomainAllocation"); return c.get >(); } const fixed_bitstring<4>& row1() const { - assert_choice_type("row1", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::row1, type_, "frequencyDomainAllocation"); return c.get >(); } const fixed_bitstring<12>& row2() const { - assert_choice_type("row2", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::row2, type_, "frequencyDomainAllocation"); return c.get >(); } fixed_bitstring<4>& set_row1(); @@ -4882,32 +4882,32 @@ struct meas_trigger_quant_c { // getters uint8_t& rsrp() { - assert_choice_type("rsrp", type_.to_string(), "MeasTriggerQuantity"); + assert_choice_type(types::rsrp, type_, "MeasTriggerQuantity"); return c.get(); } uint8_t& rsrq() { - assert_choice_type("rsrq", type_.to_string(), "MeasTriggerQuantity"); + assert_choice_type(types::rsrq, type_, "MeasTriggerQuantity"); return c.get(); } uint8_t& sinr() { - assert_choice_type("sinr", type_.to_string(), "MeasTriggerQuantity"); + assert_choice_type(types::sinr, type_, "MeasTriggerQuantity"); return c.get(); } const uint8_t& rsrp() const { - assert_choice_type("rsrp", type_.to_string(), "MeasTriggerQuantity"); + assert_choice_type(types::rsrp, type_, "MeasTriggerQuantity"); return c.get(); } const uint8_t& rsrq() const { - assert_choice_type("rsrq", type_.to_string(), "MeasTriggerQuantity"); + assert_choice_type(types::rsrq, type_, "MeasTriggerQuantity"); return c.get(); } const uint8_t& sinr() const { - assert_choice_type("sinr", type_.to_string(), "MeasTriggerQuantity"); + assert_choice_type(types::sinr, type_, "MeasTriggerQuantity"); return c.get(); } uint8_t& set_rsrp(); @@ -4943,32 +4943,32 @@ struct meas_trigger_quant_eutra_c { // getters uint8_t& rsrp() { - assert_choice_type("rsrp", type_.to_string(), "MeasTriggerQuantityEUTRA"); + assert_choice_type(types::rsrp, type_, "MeasTriggerQuantityEUTRA"); return c.get(); } uint8_t& rsrq() { - assert_choice_type("rsrq", type_.to_string(), "MeasTriggerQuantityEUTRA"); + assert_choice_type(types::rsrq, type_, "MeasTriggerQuantityEUTRA"); return c.get(); } uint8_t& sinr() { - assert_choice_type("sinr", type_.to_string(), "MeasTriggerQuantityEUTRA"); + assert_choice_type(types::sinr, type_, "MeasTriggerQuantityEUTRA"); return c.get(); } const uint8_t& rsrp() const { - assert_choice_type("rsrp", type_.to_string(), "MeasTriggerQuantityEUTRA"); + assert_choice_type(types::rsrp, type_, "MeasTriggerQuantityEUTRA"); return c.get(); } const uint8_t& rsrq() const { - assert_choice_type("rsrq", type_.to_string(), "MeasTriggerQuantityEUTRA"); + assert_choice_type(types::rsrq, type_, "MeasTriggerQuantityEUTRA"); return c.get(); } const uint8_t& sinr() const { - assert_choice_type("sinr", type_.to_string(), "MeasTriggerQuantityEUTRA"); + assert_choice_type(types::sinr, type_, "MeasTriggerQuantityEUTRA"); return c.get(); } uint8_t& set_rsrp(); @@ -5004,32 +5004,32 @@ struct meas_trigger_quant_offset_c { // getters int8_t& rsrp() { - assert_choice_type("rsrp", type_.to_string(), "MeasTriggerQuantityOffset"); + assert_choice_type(types::rsrp, type_, "MeasTriggerQuantityOffset"); return c.get(); } int8_t& rsrq() { - assert_choice_type("rsrq", type_.to_string(), "MeasTriggerQuantityOffset"); + assert_choice_type(types::rsrq, type_, "MeasTriggerQuantityOffset"); return c.get(); } int8_t& sinr() { - assert_choice_type("sinr", type_.to_string(), "MeasTriggerQuantityOffset"); + assert_choice_type(types::sinr, type_, "MeasTriggerQuantityOffset"); return c.get(); } const int8_t& rsrp() const { - assert_choice_type("rsrp", type_.to_string(), "MeasTriggerQuantityOffset"); + assert_choice_type(types::rsrp, type_, "MeasTriggerQuantityOffset"); return c.get(); } const int8_t& rsrq() const { - assert_choice_type("rsrq", type_.to_string(), "MeasTriggerQuantityOffset"); + assert_choice_type(types::rsrq, type_, "MeasTriggerQuantityOffset"); return c.get(); } const int8_t& sinr() const { - assert_choice_type("sinr", type_.to_string(), "MeasTriggerQuantityOffset"); + assert_choice_type(types::sinr, type_, "MeasTriggerQuantityOffset"); return c.get(); } int8_t& set_rsrp(); @@ -5216,62 +5216,62 @@ struct event_trigger_cfg_s { // getters event_a1_s_& event_a1() { - assert_choice_type("eventA1", type_.to_string(), "eventId"); + assert_choice_type(types::event_a1, type_, "eventId"); return c.get(); } event_a2_s_& event_a2() { - assert_choice_type("eventA2", type_.to_string(), "eventId"); + assert_choice_type(types::event_a2, type_, "eventId"); return c.get(); } event_a3_s_& event_a3() { - assert_choice_type("eventA3", type_.to_string(), "eventId"); + assert_choice_type(types::event_a3, type_, "eventId"); return c.get(); } event_a4_s_& event_a4() { - assert_choice_type("eventA4", type_.to_string(), "eventId"); + assert_choice_type(types::event_a4, type_, "eventId"); return c.get(); } event_a5_s_& event_a5() { - assert_choice_type("eventA5", type_.to_string(), "eventId"); + assert_choice_type(types::event_a5, type_, "eventId"); return c.get(); } event_a6_s_& event_a6() { - assert_choice_type("eventA6", type_.to_string(), "eventId"); + assert_choice_type(types::event_a6, type_, "eventId"); return c.get(); } const event_a1_s_& event_a1() const { - assert_choice_type("eventA1", type_.to_string(), "eventId"); + assert_choice_type(types::event_a1, type_, "eventId"); return c.get(); } const event_a2_s_& event_a2() const { - assert_choice_type("eventA2", type_.to_string(), "eventId"); + assert_choice_type(types::event_a2, type_, "eventId"); return c.get(); } const event_a3_s_& event_a3() const { - assert_choice_type("eventA3", type_.to_string(), "eventId"); + assert_choice_type(types::event_a3, type_, "eventId"); return c.get(); } const event_a4_s_& event_a4() const { - assert_choice_type("eventA4", type_.to_string(), "eventId"); + assert_choice_type(types::event_a4, type_, "eventId"); return c.get(); } const event_a5_s_& event_a5() const { - assert_choice_type("eventA5", type_.to_string(), "eventId"); + assert_choice_type(types::event_a5, type_, "eventId"); return c.get(); } const event_a6_s_& event_a6() const { - assert_choice_type("eventA6", type_.to_string(), "eventId"); + assert_choice_type(types::event_a6, type_, "eventId"); return c.get(); } event_a1_s_& set_event_a1(); @@ -5360,22 +5360,22 @@ struct event_trigger_cfg_inter_rat_s { // getters event_b1_s_& event_b1() { - assert_choice_type("eventB1", type_.to_string(), "eventId"); + assert_choice_type(types::event_b1, type_, "eventId"); return c.get(); } event_b2_s_& event_b2() { - assert_choice_type("eventB2", type_.to_string(), "eventId"); + assert_choice_type(types::event_b2, type_, "eventId"); return c.get(); } const event_b1_s_& event_b1() const { - assert_choice_type("eventB1", type_.to_string(), "eventId"); + assert_choice_type(types::event_b1, type_, "eventId"); return c.get(); } const event_b2_s_& event_b2() const { - assert_choice_type("eventB2", type_.to_string(), "eventId"); + assert_choice_type(types::event_b2, type_, "eventId"); return c.get(); } event_b1_s_& set_event_b1(); @@ -5632,22 +5632,22 @@ struct mrdc_secondary_cell_group_cfg_s { // getters dyn_octstring& nr_scg() { - assert_choice_type("nr-SCG", type_.to_string(), "mrdc-SecondaryCellGroup"); + assert_choice_type(types::nr_scg, type_, "mrdc-SecondaryCellGroup"); return c.get(); } dyn_octstring& eutra_scg() { - assert_choice_type("eutra-SCG", type_.to_string(), "mrdc-SecondaryCellGroup"); + assert_choice_type(types::eutra_scg, type_, "mrdc-SecondaryCellGroup"); return c.get(); } const dyn_octstring& nr_scg() const { - assert_choice_type("nr-SCG", type_.to_string(), "mrdc-SecondaryCellGroup"); + assert_choice_type(types::nr_scg, type_, "mrdc-SecondaryCellGroup"); return c.get(); } const dyn_octstring& eutra_scg() const { - assert_choice_type("eutra-SCG", type_.to_string(), "mrdc-SecondaryCellGroup"); + assert_choice_type(types::eutra_scg, type_, "mrdc-SecondaryCellGroup"); return c.get(); } dyn_octstring& set_nr_scg(); @@ -5863,42 +5863,42 @@ struct report_cfg_inter_rat_s { // getters periodical_report_cfg_inter_rat_s& periodical() { - assert_choice_type("periodical", type_.to_string(), "reportType"); + assert_choice_type(types::periodical, type_, "reportType"); return c.get(); } event_trigger_cfg_inter_rat_s& event_triggered() { - assert_choice_type("eventTriggered", type_.to_string(), "reportType"); + assert_choice_type(types::event_triggered, type_, "reportType"); return c.get(); } report_cgi_eutra_s& report_cgi() { - assert_choice_type("reportCGI", type_.to_string(), "reportType"); + assert_choice_type(types::report_cgi, type_, "reportType"); return c.get(); } report_sftd_eutra_s& report_sftd() { - assert_choice_type("reportSFTD", type_.to_string(), "reportType"); + assert_choice_type(types::report_sftd, type_, "reportType"); return c.get(); } const periodical_report_cfg_inter_rat_s& periodical() const { - assert_choice_type("periodical", type_.to_string(), "reportType"); + assert_choice_type(types::periodical, type_, "reportType"); return c.get(); } const event_trigger_cfg_inter_rat_s& event_triggered() const { - assert_choice_type("eventTriggered", type_.to_string(), "reportType"); + assert_choice_type(types::event_triggered, type_, "reportType"); return c.get(); } const report_cgi_eutra_s& report_cgi() const { - assert_choice_type("reportCGI", type_.to_string(), "reportType"); + assert_choice_type(types::report_cgi, type_, "reportType"); return c.get(); } const report_sftd_eutra_s& report_sftd() const { - assert_choice_type("reportSFTD", type_.to_string(), "reportType"); + assert_choice_type(types::report_sftd, type_, "reportType"); return c.get(); } periodical_report_cfg_inter_rat_s& set_periodical(); @@ -5949,42 +5949,42 @@ struct report_cfg_nr_s { // getters periodical_report_cfg_s& periodical() { - assert_choice_type("periodical", type_.to_string(), "reportType"); + assert_choice_type(types::periodical, type_, "reportType"); return c.get(); } event_trigger_cfg_s& event_triggered() { - assert_choice_type("eventTriggered", type_.to_string(), "reportType"); + assert_choice_type(types::event_triggered, type_, "reportType"); return c.get(); } report_cgi_s& report_cgi() { - assert_choice_type("reportCGI", type_.to_string(), "reportType"); + assert_choice_type(types::report_cgi, type_, "reportType"); return c.get(); } report_sftd_nr_s& report_sftd() { - assert_choice_type("reportSFTD", type_.to_string(), "reportType"); + assert_choice_type(types::report_sftd, type_, "reportType"); return c.get(); } const periodical_report_cfg_s& periodical() const { - assert_choice_type("periodical", type_.to_string(), "reportType"); + assert_choice_type(types::periodical, type_, "reportType"); return c.get(); } const event_trigger_cfg_s& event_triggered() const { - assert_choice_type("eventTriggered", type_.to_string(), "reportType"); + assert_choice_type(types::event_triggered, type_, "reportType"); return c.get(); } const report_cgi_s& report_cgi() const { - assert_choice_type("reportCGI", type_.to_string(), "reportType"); + assert_choice_type(types::report_cgi, type_, "reportType"); return c.get(); } const report_sftd_nr_s& report_sftd() const { - assert_choice_type("reportSFTD", type_.to_string(), "reportType"); + assert_choice_type(types::report_sftd, type_, "reportType"); return c.get(); } periodical_report_cfg_s& set_periodical(); @@ -6134,22 +6134,22 @@ struct meas_obj_to_add_mod_s { // getters meas_obj_nr_s& meas_obj_nr() { - assert_choice_type("measObjectNR", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_nr, type_, "measObject"); return c.get(); } meas_obj_eutra_s& meas_obj_eutra() { - assert_choice_type("measObjectEUTRA", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_eutra, type_, "measObject"); return c.get(); } const meas_obj_nr_s& meas_obj_nr() const { - assert_choice_type("measObjectNR", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_nr, type_, "measObject"); return c.get(); } const meas_obj_eutra_s& meas_obj_eutra() const { - assert_choice_type("measObjectEUTRA", type_.to_string(), "measObject"); + assert_choice_type(types::meas_obj_eutra, type_, "measObject"); return c.get(); } meas_obj_nr_s& set_meas_obj_nr(); @@ -6250,22 +6250,22 @@ struct report_cfg_to_add_mod_s { // getters report_cfg_nr_s& report_cfg_nr() { - assert_choice_type("reportConfigNR", type_.to_string(), "reportConfig"); + assert_choice_type(types::report_cfg_nr, type_, "reportConfig"); return c.get(); } report_cfg_inter_rat_s& report_cfg_inter_rat() { - assert_choice_type("reportConfigInterRAT", type_.to_string(), "reportConfig"); + assert_choice_type(types::report_cfg_inter_rat, type_, "reportConfig"); return c.get(); } const report_cfg_nr_s& report_cfg_nr() const { - assert_choice_type("reportConfigNR", type_.to_string(), "reportConfig"); + assert_choice_type(types::report_cfg_nr, type_, "reportConfig"); return c.get(); } const report_cfg_inter_rat_s& report_cfg_inter_rat() const { - assert_choice_type("reportConfigInterRAT", type_.to_string(), "reportConfig"); + assert_choice_type(types::report_cfg_inter_rat, type_, "reportConfig"); return c.get(); } report_cfg_nr_s& set_report_cfg_nr(); @@ -6414,12 +6414,12 @@ struct other_cfg_s { // getters setup_s_& setup() { - assert_choice_type("setup", type_.to_string(), "delayBudgetReportingConfig"); + assert_choice_type(types::setup, type_, "delayBudgetReportingConfig"); return c; } const setup_s_& setup() const { - assert_choice_type("setup", type_.to_string(), "delayBudgetReportingConfig"); + assert_choice_type(types::setup, type_, "delayBudgetReportingConfig"); return c; } void set_release(); @@ -6490,22 +6490,22 @@ struct ran_notif_area_info_c { // getters plmn_ran_area_cell_list_l& cell_list() { - assert_choice_type("cellList", type_.to_string(), "RAN-NotificationAreaInfo"); + assert_choice_type(types::cell_list, type_, "RAN-NotificationAreaInfo"); return c.get(); } plmn_ran_area_cfg_list_l& ran_area_cfg_list() { - assert_choice_type("ran-AreaConfigList", type_.to_string(), "RAN-NotificationAreaInfo"); + assert_choice_type(types::ran_area_cfg_list, type_, "RAN-NotificationAreaInfo"); return c.get(); } const plmn_ran_area_cell_list_l& cell_list() const { - assert_choice_type("cellList", type_.to_string(), "RAN-NotificationAreaInfo"); + assert_choice_type(types::cell_list, type_, "RAN-NotificationAreaInfo"); return c.get(); } const plmn_ran_area_cfg_list_l& ran_area_cfg_list() const { - assert_choice_type("ran-AreaConfigList", type_.to_string(), "RAN-NotificationAreaInfo"); + assert_choice_type(types::ran_area_cfg_list, type_, "RAN-NotificationAreaInfo"); return c.get(); } plmn_ran_area_cell_list_l& set_cell_list(); @@ -6626,22 +6626,22 @@ struct meas_cfg_s { // getters uint8_t& ssb_rsrp() { - assert_choice_type("ssb-RSRP", type_.to_string(), "s-MeasureConfig"); + assert_choice_type(types::ssb_rsrp, type_, "s-MeasureConfig"); return c.get(); } uint8_t& csi_rsrp() { - assert_choice_type("csi-RSRP", type_.to_string(), "s-MeasureConfig"); + assert_choice_type(types::csi_rsrp, type_, "s-MeasureConfig"); return c.get(); } const uint8_t& ssb_rsrp() const { - assert_choice_type("ssb-RSRP", type_.to_string(), "s-MeasureConfig"); + assert_choice_type(types::ssb_rsrp, type_, "s-MeasureConfig"); return c.get(); } const uint8_t& csi_rsrp() const { - assert_choice_type("csi-RSRP", type_.to_string(), "s-MeasureConfig"); + assert_choice_type(types::csi_rsrp, type_, "s-MeasureConfig"); return c.get(); } uint8_t& set_ssb_rsrp(); @@ -6759,22 +6759,22 @@ struct redirected_carrier_info_c { // getters carrier_info_nr_s& nr() { - assert_choice_type("nr", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::nr, type_, "RedirectedCarrierInfo"); return c.get(); } redirected_carrier_info_eutra_s& eutra() { - assert_choice_type("eutra", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::eutra, type_, "RedirectedCarrierInfo"); return c.get(); } const carrier_info_nr_s& nr() const { - assert_choice_type("nr", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::nr, type_, "RedirectedCarrierInfo"); return c.get(); } const redirected_carrier_info_eutra_s& eutra() const { - assert_choice_type("eutra", type_.to_string(), "RedirectedCarrierInfo"); + assert_choice_type(types::eutra, type_, "RedirectedCarrierInfo"); return c.get(); } carrier_info_nr_s& set_nr(); @@ -7014,12 +7014,12 @@ struct counter_check_s { // getters counter_check_ies_s& counter_check() { - assert_choice_type("counterCheck", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::counter_check, type_, "criticalExtensions"); return c; } const counter_check_ies_s& counter_check() const { - assert_choice_type("counterCheck", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::counter_check, type_, "criticalExtensions"); return c; } counter_check_ies_s& set_counter_check(); @@ -7060,12 +7060,12 @@ struct dl_info_transfer_s { // getters dl_info_transfer_ies_s& dl_info_transfer() { - assert_choice_type("dlInformationTransfer", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::dl_info_transfer, type_, "criticalExtensions"); return c; } const dl_info_transfer_ies_s& dl_info_transfer() const { - assert_choice_type("dlInformationTransfer", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::dl_info_transfer, type_, "criticalExtensions"); return c; } dl_info_transfer_ies_s& set_dl_info_transfer(); @@ -7106,12 +7106,12 @@ struct mob_from_nr_cmd_s { // getters mob_from_nr_cmd_ies_s& mob_from_nr_cmd() { - assert_choice_type("mobilityFromNRCommand", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::mob_from_nr_cmd, type_, "criticalExtensions"); return c; } const mob_from_nr_cmd_ies_s& mob_from_nr_cmd() const { - assert_choice_type("mobilityFromNRCommand", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::mob_from_nr_cmd, type_, "criticalExtensions"); return c; } mob_from_nr_cmd_ies_s& set_mob_from_nr_cmd(); @@ -7152,12 +7152,12 @@ struct rrc_recfg_s { // getters rrc_recfg_ies_s& rrc_recfg() { - assert_choice_type("rrcReconfiguration", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_recfg, type_, "criticalExtensions"); return c; } const rrc_recfg_ies_s& rrc_recfg() const { - assert_choice_type("rrcReconfiguration", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_recfg, type_, "criticalExtensions"); return c; } rrc_recfg_ies_s& set_rrc_recfg(); @@ -7198,12 +7198,12 @@ struct rrc_reest_s { // getters rrc_reest_ies_s& rrc_reest() { - assert_choice_type("rrcReestablishment", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_reest, type_, "criticalExtensions"); return c; } const rrc_reest_ies_s& rrc_reest() const { - assert_choice_type("rrcReestablishment", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_reest, type_, "criticalExtensions"); return c; } rrc_reest_ies_s& set_rrc_reest(); @@ -7244,12 +7244,12 @@ struct rrc_release_s { // getters rrc_release_ies_s& rrc_release() { - assert_choice_type("rrcRelease", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_release, type_, "criticalExtensions"); return c; } const rrc_release_ies_s& rrc_release() const { - assert_choice_type("rrcRelease", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_release, type_, "criticalExtensions"); return c; } rrc_release_ies_s& set_rrc_release(); @@ -7290,12 +7290,12 @@ struct rrc_resume_s { // getters rrc_resume_ies_s& rrc_resume() { - assert_choice_type("rrcResume", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_resume, type_, "criticalExtensions"); return c; } const rrc_resume_ies_s& rrc_resume() const { - assert_choice_type("rrcResume", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_resume, type_, "criticalExtensions"); return c; } rrc_resume_ies_s& set_rrc_resume(); @@ -7336,12 +7336,12 @@ struct security_mode_cmd_s { // getters security_mode_cmd_ies_s& security_mode_cmd() { - assert_choice_type("securityModeCommand", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::security_mode_cmd, type_, "criticalExtensions"); return c; } const security_mode_cmd_ies_s& security_mode_cmd() const { - assert_choice_type("securityModeCommand", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::security_mode_cmd, type_, "criticalExtensions"); return c; } security_mode_cmd_ies_s& set_security_mode_cmd(); @@ -7382,12 +7382,12 @@ struct ue_cap_enquiry_s { // getters ue_cap_enquiry_ies_s& ue_cap_enquiry() { - assert_choice_type("ueCapabilityEnquiry", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ue_cap_enquiry, type_, "criticalExtensions"); return c; } const ue_cap_enquiry_ies_s& ue_cap_enquiry() const { - assert_choice_type("ueCapabilityEnquiry", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ue_cap_enquiry, type_, "criticalExtensions"); return c; } ue_cap_enquiry_ies_s& set_ue_cap_enquiry(); @@ -7449,92 +7449,92 @@ struct dl_dcch_msg_type_c { // getters rrc_recfg_s& rrc_recfg() { - assert_choice_type("rrcReconfiguration", type_.to_string(), "c1"); + assert_choice_type(types::rrc_recfg, type_, "c1"); return c.get(); } rrc_resume_s& rrc_resume() { - assert_choice_type("rrcResume", type_.to_string(), "c1"); + assert_choice_type(types::rrc_resume, type_, "c1"); return c.get(); } rrc_release_s& rrc_release() { - assert_choice_type("rrcRelease", type_.to_string(), "c1"); + assert_choice_type(types::rrc_release, type_, "c1"); return c.get(); } rrc_reest_s& rrc_reest() { - assert_choice_type("rrcReestablishment", type_.to_string(), "c1"); + assert_choice_type(types::rrc_reest, type_, "c1"); return c.get(); } security_mode_cmd_s& security_mode_cmd() { - assert_choice_type("securityModeCommand", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_cmd, type_, "c1"); return c.get(); } dl_info_transfer_s& dl_info_transfer() { - assert_choice_type("dlInformationTransfer", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer, type_, "c1"); return c.get(); } ue_cap_enquiry_s& ue_cap_enquiry() { - assert_choice_type("ueCapabilityEnquiry", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_enquiry, type_, "c1"); return c.get(); } counter_check_s& counter_check() { - assert_choice_type("counterCheck", type_.to_string(), "c1"); + assert_choice_type(types::counter_check, type_, "c1"); return c.get(); } mob_from_nr_cmd_s& mob_from_nr_cmd() { - assert_choice_type("mobilityFromNRCommand", type_.to_string(), "c1"); + assert_choice_type(types::mob_from_nr_cmd, type_, "c1"); return c.get(); } const rrc_recfg_s& rrc_recfg() const { - assert_choice_type("rrcReconfiguration", type_.to_string(), "c1"); + assert_choice_type(types::rrc_recfg, type_, "c1"); return c.get(); } const rrc_resume_s& rrc_resume() const { - assert_choice_type("rrcResume", type_.to_string(), "c1"); + assert_choice_type(types::rrc_resume, type_, "c1"); return c.get(); } const rrc_release_s& rrc_release() const { - assert_choice_type("rrcRelease", type_.to_string(), "c1"); + assert_choice_type(types::rrc_release, type_, "c1"); return c.get(); } const rrc_reest_s& rrc_reest() const { - assert_choice_type("rrcReestablishment", type_.to_string(), "c1"); + assert_choice_type(types::rrc_reest, type_, "c1"); return c.get(); } const security_mode_cmd_s& security_mode_cmd() const { - assert_choice_type("securityModeCommand", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_cmd, type_, "c1"); return c.get(); } const dl_info_transfer_s& dl_info_transfer() const { - assert_choice_type("dlInformationTransfer", type_.to_string(), "c1"); + assert_choice_type(types::dl_info_transfer, type_, "c1"); return c.get(); } const ue_cap_enquiry_s& ue_cap_enquiry() const { - assert_choice_type("ueCapabilityEnquiry", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_enquiry, type_, "c1"); return c.get(); } const counter_check_s& counter_check() const { - assert_choice_type("counterCheck", type_.to_string(), "c1"); + assert_choice_type(types::counter_check, type_, "c1"); return c.get(); } const mob_from_nr_cmd_s& mob_from_nr_cmd() const { - assert_choice_type("mobilityFromNRCommand", type_.to_string(), "c1"); + assert_choice_type(types::mob_from_nr_cmd, type_, "c1"); return c.get(); } rrc_recfg_s& set_rrc_recfg(); @@ -7588,12 +7588,12 @@ struct dl_dcch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "DL-DCCH-MessageType"); + assert_choice_type(types::c1, type_, "DL-DCCH-MessageType"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "DL-DCCH-MessageType"); + assert_choice_type(types::c1, type_, "DL-DCCH-MessageType"); return c; } c1_c_& set_c1(); @@ -7638,22 +7638,22 @@ struct paging_ue_id_c { // getters fixed_bitstring<48>& ng_minus5_g_s_tmsi() { - assert_choice_type("ng-5G-S-TMSI", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::ng_minus5_g_s_tmsi, type_, "PagingUE-Identity"); return c.get >(); } fixed_bitstring<40>& full_i_rnti() { - assert_choice_type("fullI-RNTI", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::full_i_rnti, type_, "PagingUE-Identity"); return c.get >(); } const fixed_bitstring<48>& ng_minus5_g_s_tmsi() const { - assert_choice_type("ng-5G-S-TMSI", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::ng_minus5_g_s_tmsi, type_, "PagingUE-Identity"); return c.get >(); } const fixed_bitstring<40>& full_i_rnti() const { - assert_choice_type("fullI-RNTI", type_.to_string(), "PagingUE-Identity"); + assert_choice_type(types::full_i_rnti, type_, "PagingUE-Identity"); return c.get >(); } fixed_bitstring<48>& set_ng_minus5_g_s_tmsi(); @@ -7716,12 +7716,12 @@ struct pcch_msg_type_c { // getters paging_s& paging() { - assert_choice_type("paging", type_.to_string(), "c1"); + assert_choice_type(types::paging, type_, "c1"); return c; } const paging_s& paging() const { - assert_choice_type("paging", type_.to_string(), "c1"); + assert_choice_type(types::paging, type_, "c1"); return c; } paging_s& set_paging(); @@ -7750,12 +7750,12 @@ struct pcch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "PCCH-MessageType"); + assert_choice_type(types::c1, type_, "PCCH-MessageType"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "PCCH-MessageType"); + assert_choice_type(types::c1, type_, "PCCH-MessageType"); return c; } c1_c_& set_c1(); @@ -7826,22 +7826,22 @@ struct init_ue_id_c { // getters fixed_bitstring<39>& ng_minus5_g_s_tmsi_part1() { - assert_choice_type("ng-5G-S-TMSI-Part1", type_.to_string(), "InitialUE-Identity"); + assert_choice_type(types::ng_minus5_g_s_tmsi_part1, type_, "InitialUE-Identity"); return c.get >(); } fixed_bitstring<39>& random_value() { - assert_choice_type("randomValue", type_.to_string(), "InitialUE-Identity"); + assert_choice_type(types::random_value, type_, "InitialUE-Identity"); return c.get >(); } const fixed_bitstring<39>& ng_minus5_g_s_tmsi_part1() const { - assert_choice_type("ng-5G-S-TMSI-Part1", type_.to_string(), "InitialUE-Identity"); + assert_choice_type(types::ng_minus5_g_s_tmsi_part1, type_, "InitialUE-Identity"); return c.get >(); } const fixed_bitstring<39>& random_value() const { - assert_choice_type("randomValue", type_.to_string(), "InitialUE-Identity"); + assert_choice_type(types::random_value, type_, "InitialUE-Identity"); return c.get >(); } fixed_bitstring<39>& set_ng_minus5_g_s_tmsi_part1(); @@ -7998,12 +7998,12 @@ struct rrc_sys_info_request_s { // getters rrc_sys_info_request_ies_s& rrc_sys_info_request() { - assert_choice_type("rrcSystemInfoRequest", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_sys_info_request, type_, "criticalExtensions"); return c; } const rrc_sys_info_request_ies_s& rrc_sys_info_request() const { - assert_choice_type("rrcSystemInfoRequest", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_sys_info_request, type_, "criticalExtensions"); return c; } rrc_sys_info_request_ies_s& set_rrc_sys_info_request(); @@ -8046,42 +8046,42 @@ struct ul_ccch_msg_type_c { // getters rrc_setup_request_s& rrc_setup_request() { - assert_choice_type("rrcSetupRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_setup_request, type_, "c1"); return c.get(); } rrc_resume_request_s& rrc_resume_request() { - assert_choice_type("rrcResumeRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_resume_request, type_, "c1"); return c.get(); } rrc_reest_request_s& rrc_reest_request() { - assert_choice_type("rrcReestablishmentRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_reest_request, type_, "c1"); return c.get(); } rrc_sys_info_request_s& rrc_sys_info_request() { - assert_choice_type("rrcSystemInfoRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_sys_info_request, type_, "c1"); return c.get(); } const rrc_setup_request_s& rrc_setup_request() const { - assert_choice_type("rrcSetupRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_setup_request, type_, "c1"); return c.get(); } const rrc_resume_request_s& rrc_resume_request() const { - assert_choice_type("rrcResumeRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_resume_request, type_, "c1"); return c.get(); } const rrc_reest_request_s& rrc_reest_request() const { - assert_choice_type("rrcReestablishmentRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_reest_request, type_, "c1"); return c.get(); } const rrc_sys_info_request_s& rrc_sys_info_request() const { - assert_choice_type("rrcSystemInfoRequest", type_.to_string(), "c1"); + assert_choice_type(types::rrc_sys_info_request, type_, "c1"); return c.get(); } rrc_setup_request_s& set_rrc_setup_request(); @@ -8114,12 +8114,12 @@ struct ul_ccch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "UL-CCCH-MessageType"); + assert_choice_type(types::c1, type_, "UL-CCCH-MessageType"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "UL-CCCH-MessageType"); + assert_choice_type(types::c1, type_, "UL-CCCH-MessageType"); return c; } c1_c_& set_c1(); @@ -8185,12 +8185,12 @@ struct ul_ccch1_msg_type_c { // getters rrc_resume_request1_s& rrc_resume_request1() { - assert_choice_type("rrcResumeRequest1", type_.to_string(), "c1"); + assert_choice_type(types::rrc_resume_request1, type_, "c1"); return c; } const rrc_resume_request1_s& rrc_resume_request1() const { - assert_choice_type("rrcResumeRequest1", type_.to_string(), "c1"); + assert_choice_type(types::rrc_resume_request1, type_, "c1"); return c; } rrc_resume_request1_s& set_rrc_resume_request1(); @@ -8221,12 +8221,12 @@ struct ul_ccch1_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "UL-CCCH1-MessageType"); + assert_choice_type(types::c1, type_, "UL-CCCH1-MessageType"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "UL-CCCH1-MessageType"); + assert_choice_type(types::c1, type_, "UL-CCCH1-MessageType"); return c; } c1_c_& set_c1(); @@ -8286,22 +8286,22 @@ struct plmn_id_eutra_minus5_gc_c { // getters plmn_id_s& plmn_id_eutra_minus5_gc() { - assert_choice_type("plmn-Identity-EUTRA-5GC", type_.to_string(), "PLMN-Identity-EUTRA-5GC"); + assert_choice_type(types::plmn_id_eutra_minus5_gc, type_, "PLMN-Identity-EUTRA-5GC"); return c.get(); } uint8_t& plmn_idx() { - assert_choice_type("plmn-index", type_.to_string(), "PLMN-Identity-EUTRA-5GC"); + assert_choice_type(types::plmn_idx, type_, "PLMN-Identity-EUTRA-5GC"); return c.get(); } const plmn_id_s& plmn_id_eutra_minus5_gc() const { - assert_choice_type("plmn-Identity-EUTRA-5GC", type_.to_string(), "PLMN-Identity-EUTRA-5GC"); + assert_choice_type(types::plmn_id_eutra_minus5_gc, type_, "PLMN-Identity-EUTRA-5GC"); return c.get(); } const uint8_t& plmn_idx() const { - assert_choice_type("plmn-index", type_.to_string(), "PLMN-Identity-EUTRA-5GC"); + assert_choice_type(types::plmn_idx, type_, "PLMN-Identity-EUTRA-5GC"); return c.get(); } plmn_id_s& set_plmn_id_eutra_minus5_gc(); @@ -8336,22 +8336,22 @@ struct cell_id_eutra_minus5_gc_c { // getters fixed_bitstring<28>& cell_id_eutra() { - assert_choice_type("cellIdentity-EUTRA", type_.to_string(), "CellIdentity-EUTRA-5GC"); + assert_choice_type(types::cell_id_eutra, type_, "CellIdentity-EUTRA-5GC"); return c.get >(); } uint8_t& cell_id_idx() { - assert_choice_type("cellId-index", type_.to_string(), "CellIdentity-EUTRA-5GC"); + assert_choice_type(types::cell_id_idx, type_, "CellIdentity-EUTRA-5GC"); return c.get(); } const fixed_bitstring<28>& cell_id_eutra() const { - assert_choice_type("cellIdentity-EUTRA", type_.to_string(), "CellIdentity-EUTRA-5GC"); + assert_choice_type(types::cell_id_eutra, type_, "CellIdentity-EUTRA-5GC"); return c.get >(); } const uint8_t& cell_id_idx() const { - assert_choice_type("cellId-index", type_.to_string(), "CellIdentity-EUTRA-5GC"); + assert_choice_type(types::cell_id_idx, type_, "CellIdentity-EUTRA-5GC"); return c.get(); } fixed_bitstring<28>& set_cell_id_eutra(); @@ -8819,22 +8819,22 @@ struct rrc_recfg_complete_v1560_ies_s { // getters dyn_octstring& nr_scg_resp() { - assert_choice_type("nr-SCG-Response", type_.to_string(), "scg-Response"); + assert_choice_type(types::nr_scg_resp, type_, "scg-Response"); return c.get(); } dyn_octstring& eutra_scg_resp() { - assert_choice_type("eutra-SCG-Response", type_.to_string(), "scg-Response"); + assert_choice_type(types::eutra_scg_resp, type_, "scg-Response"); return c.get(); } const dyn_octstring& nr_scg_resp() const { - assert_choice_type("nr-SCG-Response", type_.to_string(), "scg-Response"); + assert_choice_type(types::nr_scg_resp, type_, "scg-Response"); return c.get(); } const dyn_octstring& eutra_scg_resp() const { - assert_choice_type("eutra-SCG-Response", type_.to_string(), "scg-Response"); + assert_choice_type(types::eutra_scg_resp, type_, "scg-Response"); return c.get(); } dyn_octstring& set_nr_scg_resp(); @@ -9037,12 +9037,12 @@ struct location_meas_info_c { // getters eutra_rstd_info_list_l& eutra_rstd() { - assert_choice_type("eutra-RSTD", type_.to_string(), "LocationMeasurementInfo"); + assert_choice_type(types::eutra_rstd, type_, "LocationMeasurementInfo"); return c; } const eutra_rstd_info_list_l& eutra_rstd() const { - assert_choice_type("eutra-RSTD", type_.to_string(), "LocationMeasurementInfo"); + assert_choice_type(types::eutra_rstd, type_, "LocationMeasurementInfo"); return c; } eutra_rstd_info_list_l& set_eutra_rstd(); @@ -9076,22 +9076,22 @@ struct meas_results_s { // getters meas_result_list_nr_l& meas_result_list_nr() { - assert_choice_type("measResultListNR", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_list_nr, type_, "measResultNeighCells"); return c.get(); } meas_result_list_eutra_l& meas_result_list_eutra() { - assert_choice_type("measResultListEUTRA", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_list_eutra, type_, "measResultNeighCells"); return c.get(); } const meas_result_list_nr_l& meas_result_list_nr() const { - assert_choice_type("measResultListNR", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_list_nr, type_, "measResultNeighCells"); return c.get(); } const meas_result_list_eutra_l& meas_result_list_eutra() const { - assert_choice_type("measResultListEUTRA", type_.to_string(), "measResultNeighCells"); + assert_choice_type(types::meas_result_list_eutra, type_, "measResultNeighCells"); return c.get(); } meas_result_list_nr_l& set_meas_result_list_nr(); @@ -9172,22 +9172,22 @@ struct s_nssai_c { // getters fixed_bitstring<8>& sst() { - assert_choice_type("sst", type_.to_string(), "S-NSSAI"); + assert_choice_type(types::sst, type_, "S-NSSAI"); return c.get >(); } fixed_bitstring<32>& sst_sd() { - assert_choice_type("sst-SD", type_.to_string(), "S-NSSAI"); + assert_choice_type(types::sst_sd, type_, "S-NSSAI"); return c.get >(); } const fixed_bitstring<8>& sst() const { - assert_choice_type("sst", type_.to_string(), "S-NSSAI"); + assert_choice_type(types::sst, type_, "S-NSSAI"); return c.get >(); } const fixed_bitstring<32>& sst_sd() const { - assert_choice_type("sst-SD", type_.to_string(), "S-NSSAI"); + assert_choice_type(types::sst_sd, type_, "S-NSSAI"); return c.get >(); } fixed_bitstring<8>& set_sst(); @@ -9365,22 +9365,22 @@ struct rrc_setup_complete_ies_s { // getters fixed_bitstring<48>& ng_minus5_g_s_tmsi() { - assert_choice_type("ng-5G-S-TMSI", type_.to_string(), "ng-5G-S-TMSI-Value"); + assert_choice_type(types::ng_minus5_g_s_tmsi, type_, "ng-5G-S-TMSI-Value"); return c.get >(); } fixed_bitstring<9>& ng_minus5_g_s_tmsi_part2() { - assert_choice_type("ng-5G-S-TMSI-Part2", type_.to_string(), "ng-5G-S-TMSI-Value"); + assert_choice_type(types::ng_minus5_g_s_tmsi_part2, type_, "ng-5G-S-TMSI-Value"); return c.get >(); } const fixed_bitstring<48>& ng_minus5_g_s_tmsi() const { - assert_choice_type("ng-5G-S-TMSI", type_.to_string(), "ng-5G-S-TMSI-Value"); + assert_choice_type(types::ng_minus5_g_s_tmsi, type_, "ng-5G-S-TMSI-Value"); return c.get >(); } const fixed_bitstring<9>& ng_minus5_g_s_tmsi_part2() const { - assert_choice_type("ng-5G-S-TMSI-Part2", type_.to_string(), "ng-5G-S-TMSI-Value"); + assert_choice_type(types::ng_minus5_g_s_tmsi_part2, type_, "ng-5G-S-TMSI-Value"); return c.get >(); } fixed_bitstring<48>& set_ng_minus5_g_s_tmsi(); @@ -9543,12 +9543,12 @@ struct counter_check_resp_s { // getters counter_check_resp_ies_s& counter_check_resp() { - assert_choice_type("counterCheckResponse", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::counter_check_resp, type_, "criticalExtensions"); return c; } const counter_check_resp_ies_s& counter_check_resp() const { - assert_choice_type("counterCheckResponse", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::counter_check_resp, type_, "criticalExtensions"); return c; } counter_check_resp_ies_s& set_counter_check_resp(); @@ -9589,12 +9589,12 @@ struct fail_info_s { // getters fail_info_ies_s& fail_info() { - assert_choice_type("failureInformation", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::fail_info, type_, "criticalExtensions"); return c; } const fail_info_ies_s& fail_info() const { - assert_choice_type("failureInformation", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::fail_info, type_, "criticalExtensions"); return c; } fail_info_ies_s& set_fail_info(); @@ -9634,12 +9634,12 @@ struct location_meas_ind_s { // getters location_meas_ind_ies_s& location_meas_ind() { - assert_choice_type("locationMeasurementIndication", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::location_meas_ind, type_, "criticalExtensions"); return c; } const location_meas_ind_ies_s& location_meas_ind() const { - assert_choice_type("locationMeasurementIndication", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::location_meas_ind, type_, "criticalExtensions"); return c; } location_meas_ind_ies_s& set_location_meas_ind(); @@ -9679,12 +9679,12 @@ struct meas_report_s { // getters meas_report_ies_s& meas_report() { - assert_choice_type("measurementReport", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::meas_report, type_, "criticalExtensions"); return c; } const meas_report_ies_s& meas_report() const { - assert_choice_type("measurementReport", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::meas_report, type_, "criticalExtensions"); return c; } meas_report_ies_s& set_meas_report(); @@ -9724,12 +9724,12 @@ struct rrc_recfg_complete_s { // getters rrc_recfg_complete_ies_s& rrc_recfg_complete() { - assert_choice_type("rrcReconfigurationComplete", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_recfg_complete, type_, "criticalExtensions"); return c; } const rrc_recfg_complete_ies_s& rrc_recfg_complete() const { - assert_choice_type("rrcReconfigurationComplete", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_recfg_complete, type_, "criticalExtensions"); return c; } rrc_recfg_complete_ies_s& set_rrc_recfg_complete(); @@ -9770,12 +9770,12 @@ struct rrc_reest_complete_s { // getters rrc_reest_complete_ies_s& rrc_reest_complete() { - assert_choice_type("rrcReestablishmentComplete", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_reest_complete, type_, "criticalExtensions"); return c; } const rrc_reest_complete_ies_s& rrc_reest_complete() const { - assert_choice_type("rrcReestablishmentComplete", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_reest_complete, type_, "criticalExtensions"); return c; } rrc_reest_complete_ies_s& set_rrc_reest_complete(); @@ -9816,12 +9816,12 @@ struct rrc_resume_complete_s { // getters rrc_resume_complete_ies_s& rrc_resume_complete() { - assert_choice_type("rrcResumeComplete", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_resume_complete, type_, "criticalExtensions"); return c; } const rrc_resume_complete_ies_s& rrc_resume_complete() const { - assert_choice_type("rrcResumeComplete", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_resume_complete, type_, "criticalExtensions"); return c; } rrc_resume_complete_ies_s& set_rrc_resume_complete(); @@ -9862,12 +9862,12 @@ struct rrc_setup_complete_s { // getters rrc_setup_complete_ies_s& rrc_setup_complete() { - assert_choice_type("rrcSetupComplete", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_setup_complete, type_, "criticalExtensions"); return c; } const rrc_setup_complete_ies_s& rrc_setup_complete() const { - assert_choice_type("rrcSetupComplete", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::rrc_setup_complete, type_, "criticalExtensions"); return c; } rrc_setup_complete_ies_s& set_rrc_setup_complete(); @@ -9908,12 +9908,12 @@ struct scg_fail_info_s { // getters scg_fail_info_ies_s& scg_fail_info() { - assert_choice_type("scgFailureInformation", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::scg_fail_info, type_, "criticalExtensions"); return c; } const scg_fail_info_ies_s& scg_fail_info() const { - assert_choice_type("scgFailureInformation", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::scg_fail_info, type_, "criticalExtensions"); return c; } scg_fail_info_ies_s& set_scg_fail_info(); @@ -9953,12 +9953,12 @@ struct scg_fail_info_eutra_s { // getters scg_fail_info_eutra_ies_s& scg_fail_info_eutra() { - assert_choice_type("scgFailureInformationEUTRA", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::scg_fail_info_eutra, type_, "criticalExtensions"); return c; } const scg_fail_info_eutra_ies_s& scg_fail_info_eutra() const { - assert_choice_type("scgFailureInformationEUTRA", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::scg_fail_info_eutra, type_, "criticalExtensions"); return c; } scg_fail_info_eutra_ies_s& set_scg_fail_info_eutra(); @@ -9998,12 +9998,12 @@ struct security_mode_complete_s { // getters security_mode_complete_ies_s& security_mode_complete() { - assert_choice_type("securityModeComplete", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::security_mode_complete, type_, "criticalExtensions"); return c; } const security_mode_complete_ies_s& security_mode_complete() const { - assert_choice_type("securityModeComplete", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::security_mode_complete, type_, "criticalExtensions"); return c; } security_mode_complete_ies_s& set_security_mode_complete(); @@ -10044,12 +10044,12 @@ struct security_mode_fail_s { // getters security_mode_fail_ies_s& security_mode_fail() { - assert_choice_type("securityModeFailure", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::security_mode_fail, type_, "criticalExtensions"); return c; } const security_mode_fail_ies_s& security_mode_fail() const { - assert_choice_type("securityModeFailure", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::security_mode_fail, type_, "criticalExtensions"); return c; } security_mode_fail_ies_s& set_security_mode_fail(); @@ -10090,12 +10090,12 @@ struct ueassist_info_s { // getters ueassist_info_ies_s& ue_assist_info() { - assert_choice_type("ueAssistanceInformation", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ue_assist_info, type_, "criticalExtensions"); return c; } const ueassist_info_ies_s& ue_assist_info() const { - assert_choice_type("ueAssistanceInformation", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ue_assist_info, type_, "criticalExtensions"); return c; } ueassist_info_ies_s& set_ue_assist_info(); @@ -10135,12 +10135,12 @@ struct ue_cap_info_s { // getters ue_cap_info_ies_s& ue_cap_info() { - assert_choice_type("ueCapabilityInformation", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ue_cap_info, type_, "criticalExtensions"); return c; } const ue_cap_info_ies_s& ue_cap_info() const { - assert_choice_type("ueCapabilityInformation", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ue_cap_info, type_, "criticalExtensions"); return c; } ue_cap_info_ies_s& set_ue_cap_info(); @@ -10181,12 +10181,12 @@ struct ul_info_transfer_s { // getters ul_info_transfer_ies_s& ul_info_transfer() { - assert_choice_type("ulInformationTransfer", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ul_info_transfer, type_, "criticalExtensions"); return c; } const ul_info_transfer_ies_s& ul_info_transfer() const { - assert_choice_type("ulInformationTransfer", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::ul_info_transfer, type_, "criticalExtensions"); return c; } ul_info_transfer_ies_s& set_ul_info_transfer(); @@ -10227,12 +10227,12 @@ struct ul_info_transfer_mrdc_s { // getters ul_info_transfer_mrdc_ies_s& ul_info_transfer_mrdc() { - assert_choice_type("ulInformationTransferMRDC", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer_mrdc, type_, "c1"); return c; } const ul_info_transfer_mrdc_ies_s& ul_info_transfer_mrdc() const { - assert_choice_type("ulInformationTransferMRDC", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer_mrdc, type_, "c1"); return c; } ul_info_transfer_mrdc_ies_s& set_ul_info_transfer_mrdc(); @@ -10263,12 +10263,12 @@ struct ul_info_transfer_mrdc_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -10329,162 +10329,162 @@ struct ul_dcch_msg_type_c { // getters meas_report_s& meas_report() { - assert_choice_type("measurementReport", type_.to_string(), "c1"); + assert_choice_type(types::meas_report, type_, "c1"); return c.get(); } rrc_recfg_complete_s& rrc_recfg_complete() { - assert_choice_type("rrcReconfigurationComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_recfg_complete, type_, "c1"); return c.get(); } rrc_setup_complete_s& rrc_setup_complete() { - assert_choice_type("rrcSetupComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_setup_complete, type_, "c1"); return c.get(); } rrc_reest_complete_s& rrc_reest_complete() { - assert_choice_type("rrcReestablishmentComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_reest_complete, type_, "c1"); return c.get(); } rrc_resume_complete_s& rrc_resume_complete() { - assert_choice_type("rrcResumeComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_resume_complete, type_, "c1"); return c.get(); } security_mode_complete_s& security_mode_complete() { - assert_choice_type("securityModeComplete", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_complete, type_, "c1"); return c.get(); } security_mode_fail_s& security_mode_fail() { - assert_choice_type("securityModeFailure", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_fail, type_, "c1"); return c.get(); } ul_info_transfer_s& ul_info_transfer() { - assert_choice_type("ulInformationTransfer", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer, type_, "c1"); return c.get(); } location_meas_ind_s& location_meas_ind() { - assert_choice_type("locationMeasurementIndication", type_.to_string(), "c1"); + assert_choice_type(types::location_meas_ind, type_, "c1"); return c.get(); } ue_cap_info_s& ue_cap_info() { - assert_choice_type("ueCapabilityInformation", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_info, type_, "c1"); return c.get(); } counter_check_resp_s& counter_check_resp() { - assert_choice_type("counterCheckResponse", type_.to_string(), "c1"); + assert_choice_type(types::counter_check_resp, type_, "c1"); return c.get(); } ueassist_info_s& ue_assist_info() { - assert_choice_type("ueAssistanceInformation", type_.to_string(), "c1"); + assert_choice_type(types::ue_assist_info, type_, "c1"); return c.get(); } fail_info_s& fail_info() { - assert_choice_type("failureInformation", type_.to_string(), "c1"); + assert_choice_type(types::fail_info, type_, "c1"); return c.get(); } ul_info_transfer_mrdc_s& ul_info_transfer_mrdc() { - assert_choice_type("ulInformationTransferMRDC", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer_mrdc, type_, "c1"); return c.get(); } scg_fail_info_s& scg_fail_info() { - assert_choice_type("scgFailureInformation", type_.to_string(), "c1"); + assert_choice_type(types::scg_fail_info, type_, "c1"); return c.get(); } scg_fail_info_eutra_s& scg_fail_info_eutra() { - assert_choice_type("scgFailureInformationEUTRA", type_.to_string(), "c1"); + assert_choice_type(types::scg_fail_info_eutra, type_, "c1"); return c.get(); } const meas_report_s& meas_report() const { - assert_choice_type("measurementReport", type_.to_string(), "c1"); + assert_choice_type(types::meas_report, type_, "c1"); return c.get(); } const rrc_recfg_complete_s& rrc_recfg_complete() const { - assert_choice_type("rrcReconfigurationComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_recfg_complete, type_, "c1"); return c.get(); } const rrc_setup_complete_s& rrc_setup_complete() const { - assert_choice_type("rrcSetupComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_setup_complete, type_, "c1"); return c.get(); } const rrc_reest_complete_s& rrc_reest_complete() const { - assert_choice_type("rrcReestablishmentComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_reest_complete, type_, "c1"); return c.get(); } const rrc_resume_complete_s& rrc_resume_complete() const { - assert_choice_type("rrcResumeComplete", type_.to_string(), "c1"); + assert_choice_type(types::rrc_resume_complete, type_, "c1"); return c.get(); } const security_mode_complete_s& security_mode_complete() const { - assert_choice_type("securityModeComplete", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_complete, type_, "c1"); return c.get(); } const security_mode_fail_s& security_mode_fail() const { - assert_choice_type("securityModeFailure", type_.to_string(), "c1"); + assert_choice_type(types::security_mode_fail, type_, "c1"); return c.get(); } const ul_info_transfer_s& ul_info_transfer() const { - assert_choice_type("ulInformationTransfer", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer, type_, "c1"); return c.get(); } const location_meas_ind_s& location_meas_ind() const { - assert_choice_type("locationMeasurementIndication", type_.to_string(), "c1"); + assert_choice_type(types::location_meas_ind, type_, "c1"); return c.get(); } const ue_cap_info_s& ue_cap_info() const { - assert_choice_type("ueCapabilityInformation", type_.to_string(), "c1"); + assert_choice_type(types::ue_cap_info, type_, "c1"); return c.get(); } const counter_check_resp_s& counter_check_resp() const { - assert_choice_type("counterCheckResponse", type_.to_string(), "c1"); + assert_choice_type(types::counter_check_resp, type_, "c1"); return c.get(); } const ueassist_info_s& ue_assist_info() const { - assert_choice_type("ueAssistanceInformation", type_.to_string(), "c1"); + assert_choice_type(types::ue_assist_info, type_, "c1"); return c.get(); } const fail_info_s& fail_info() const { - assert_choice_type("failureInformation", type_.to_string(), "c1"); + assert_choice_type(types::fail_info, type_, "c1"); return c.get(); } const ul_info_transfer_mrdc_s& ul_info_transfer_mrdc() const { - assert_choice_type("ulInformationTransferMRDC", type_.to_string(), "c1"); + assert_choice_type(types::ul_info_transfer_mrdc, type_, "c1"); return c.get(); } const scg_fail_info_s& scg_fail_info() const { - assert_choice_type("scgFailureInformation", type_.to_string(), "c1"); + assert_choice_type(types::scg_fail_info, type_, "c1"); return c.get(); } const scg_fail_info_eutra_s& scg_fail_info_eutra() const { - assert_choice_type("scgFailureInformationEUTRA", type_.to_string(), "c1"); + assert_choice_type(types::scg_fail_info_eutra, type_, "c1"); return c.get(); } meas_report_s& set_meas_report(); @@ -10545,12 +10545,12 @@ struct ul_dcch_msg_type_c { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "UL-DCCH-MessageType"); + assert_choice_type(types::c1, type_, "UL-DCCH-MessageType"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "UL-DCCH-MessageType"); + assert_choice_type(types::c1, type_, "UL-DCCH-MessageType"); return c; } c1_c_& set_c1(); @@ -10641,42 +10641,42 @@ struct csi_rs_res_map_s { // getters fixed_bitstring<4>& row1() { - assert_choice_type("row1", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::row1, type_, "frequencyDomainAllocation"); return c.get >(); } fixed_bitstring<12>& row2() { - assert_choice_type("row2", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::row2, type_, "frequencyDomainAllocation"); return c.get >(); } fixed_bitstring<3>& row4() { - assert_choice_type("row4", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::row4, type_, "frequencyDomainAllocation"); return c.get >(); } fixed_bitstring<6>& other() { - assert_choice_type("other", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::other, type_, "frequencyDomainAllocation"); return c.get >(); } const fixed_bitstring<4>& row1() const { - assert_choice_type("row1", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::row1, type_, "frequencyDomainAllocation"); return c.get >(); } const fixed_bitstring<12>& row2() const { - assert_choice_type("row2", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::row2, type_, "frequencyDomainAllocation"); return c.get >(); } const fixed_bitstring<3>& row4() const { - assert_choice_type("row4", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::row4, type_, "frequencyDomainAllocation"); return c.get >(); } const fixed_bitstring<6>& other() const { - assert_choice_type("other", type_.to_string(), "frequencyDomainAllocation"); + assert_choice_type(types::other, type_, "frequencyDomainAllocation"); return c.get >(); } fixed_bitstring<4>& set_row1(); @@ -10732,12 +10732,12 @@ struct csi_rs_res_map_s { // getters dot5_e_& dot5() { - assert_choice_type("dot5", type_.to_string(), "density"); + assert_choice_type(types::dot5, type_, "density"); return c; } const dot5_e_& dot5() const { - assert_choice_type("dot5", type_.to_string(), "density"); + assert_choice_type(types::dot5, type_, "density"); return c; } dot5_e_& set_dot5(); @@ -10807,132 +10807,132 @@ struct csi_res_periodicity_and_offset_c { // getters uint8_t& slots4() { - assert_choice_type("slots4", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots4, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint8_t& slots5() { - assert_choice_type("slots5", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots5, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint8_t& slots8() { - assert_choice_type("slots8", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots8, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint8_t& slots10() { - assert_choice_type("slots10", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots10, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint8_t& slots16() { - assert_choice_type("slots16", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots16, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint8_t& slots20() { - assert_choice_type("slots20", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots20, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint8_t& slots32() { - assert_choice_type("slots32", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots32, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint8_t& slots40() { - assert_choice_type("slots40", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots40, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint8_t& slots64() { - assert_choice_type("slots64", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots64, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint8_t& slots80() { - assert_choice_type("slots80", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots80, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint8_t& slots160() { - assert_choice_type("slots160", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots160, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint16_t& slots320() { - assert_choice_type("slots320", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots320, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint16_t& slots640() { - assert_choice_type("slots640", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots640, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint8_t& slots4() const { - assert_choice_type("slots4", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots4, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint8_t& slots5() const { - assert_choice_type("slots5", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots5, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint8_t& slots8() const { - assert_choice_type("slots8", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots8, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint8_t& slots10() const { - assert_choice_type("slots10", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots10, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint8_t& slots16() const { - assert_choice_type("slots16", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots16, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint8_t& slots20() const { - assert_choice_type("slots20", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots20, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint8_t& slots32() const { - assert_choice_type("slots32", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots32, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint8_t& slots40() const { - assert_choice_type("slots40", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots40, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint8_t& slots64() const { - assert_choice_type("slots64", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots64, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint8_t& slots80() const { - assert_choice_type("slots80", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots80, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint8_t& slots160() const { - assert_choice_type("slots160", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots160, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint16_t& slots320() const { - assert_choice_type("slots320", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots320, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } const uint16_t& slots640() const { - assert_choice_type("slots640", type_.to_string(), "CSI-ResourcePeriodicityAndOffset"); + assert_choice_type(types::slots640, type_, "CSI-ResourcePeriodicityAndOffset"); return c.get(); } uint8_t& set_slots4(); @@ -11022,22 +11022,22 @@ struct qcl_info_s { // getters uint8_t& csi_rs() { - assert_choice_type("csi-rs", type_.to_string(), "referenceSignal"); + assert_choice_type(types::csi_rs, type_, "referenceSignal"); return c.get(); } uint8_t& ssb() { - assert_choice_type("ssb", type_.to_string(), "referenceSignal"); + assert_choice_type(types::ssb, type_, "referenceSignal"); return c.get(); } const uint8_t& csi_rs() const { - assert_choice_type("csi-rs", type_.to_string(), "referenceSignal"); + assert_choice_type(types::csi_rs, type_, "referenceSignal"); return c.get(); } const uint8_t& ssb() const { - assert_choice_type("ssb", type_.to_string(), "referenceSignal"); + assert_choice_type(types::ssb, type_, "referenceSignal"); return c.get(); } uint8_t& set_csi_rs(); @@ -11190,22 +11190,22 @@ struct radio_link_monitoring_rs_s { // getters uint8_t& ssb_idx() { - assert_choice_type("ssb-Index", type_.to_string(), "detectionResource"); + assert_choice_type(types::ssb_idx, type_, "detectionResource"); return c.get(); } uint8_t& csi_rs_idx() { - assert_choice_type("csi-RS-Index", type_.to_string(), "detectionResource"); + assert_choice_type(types::csi_rs_idx, type_, "detectionResource"); return c.get(); } const uint8_t& ssb_idx() const { - assert_choice_type("ssb-Index", type_.to_string(), "detectionResource"); + assert_choice_type(types::ssb_idx, type_, "detectionResource"); return c.get(); } const uint8_t& csi_rs_idx() const { - assert_choice_type("csi-RS-Index", type_.to_string(), "detectionResource"); + assert_choice_type(types::csi_rs_idx, type_, "detectionResource"); return c.get(); } uint8_t& set_ssb_idx(); @@ -11258,22 +11258,22 @@ struct rate_match_pattern_s { // getters fixed_bitstring<14>& one_slot() { - assert_choice_type("oneSlot", type_.to_string(), "symbolsInResourceBlock"); + assert_choice_type(types::one_slot, type_, "symbolsInResourceBlock"); return c.get >(); } fixed_bitstring<28>& two_slots() { - assert_choice_type("twoSlots", type_.to_string(), "symbolsInResourceBlock"); + assert_choice_type(types::two_slots, type_, "symbolsInResourceBlock"); return c.get >(); } const fixed_bitstring<14>& one_slot() const { - assert_choice_type("oneSlot", type_.to_string(), "symbolsInResourceBlock"); + assert_choice_type(types::one_slot, type_, "symbolsInResourceBlock"); return c.get >(); } const fixed_bitstring<28>& two_slots() const { - assert_choice_type("twoSlots", type_.to_string(), "symbolsInResourceBlock"); + assert_choice_type(types::two_slots, type_, "symbolsInResourceBlock"); return c.get >(); } fixed_bitstring<14>& set_one_slot(); @@ -11308,72 +11308,72 @@ struct rate_match_pattern_s { // getters fixed_bitstring<2>& n2() { - assert_choice_type("n2", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n2, type_, "periodicityAndPattern"); return c.get >(); } fixed_bitstring<4>& n4() { - assert_choice_type("n4", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n4, type_, "periodicityAndPattern"); return c.get >(); } fixed_bitstring<5>& n5() { - assert_choice_type("n5", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n5, type_, "periodicityAndPattern"); return c.get >(); } fixed_bitstring<8>& n8() { - assert_choice_type("n8", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n8, type_, "periodicityAndPattern"); return c.get >(); } fixed_bitstring<10>& n10() { - assert_choice_type("n10", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n10, type_, "periodicityAndPattern"); return c.get >(); } fixed_bitstring<20>& n20() { - assert_choice_type("n20", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n20, type_, "periodicityAndPattern"); return c.get >(); } fixed_bitstring<40>& n40() { - assert_choice_type("n40", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n40, type_, "periodicityAndPattern"); return c.get >(); } const fixed_bitstring<2>& n2() const { - assert_choice_type("n2", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n2, type_, "periodicityAndPattern"); return c.get >(); } const fixed_bitstring<4>& n4() const { - assert_choice_type("n4", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n4, type_, "periodicityAndPattern"); return c.get >(); } const fixed_bitstring<5>& n5() const { - assert_choice_type("n5", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n5, type_, "periodicityAndPattern"); return c.get >(); } const fixed_bitstring<8>& n8() const { - assert_choice_type("n8", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n8, type_, "periodicityAndPattern"); return c.get >(); } const fixed_bitstring<10>& n10() const { - assert_choice_type("n10", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n10, type_, "periodicityAndPattern"); return c.get >(); } const fixed_bitstring<20>& n20() const { - assert_choice_type("n20", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n20, type_, "periodicityAndPattern"); return c.get >(); } const fixed_bitstring<40>& n40() const { - assert_choice_type("n40", type_.to_string(), "periodicityAndPattern"); + assert_choice_type(types::n40, type_, "periodicityAndPattern"); return c.get >(); } fixed_bitstring<2>& set_n2(); @@ -11419,22 +11419,22 @@ struct rate_match_pattern_s { // getters bitmaps_s_& bitmaps() { - assert_choice_type("bitmaps", type_.to_string(), "patternType"); + assert_choice_type(types::bitmaps, type_, "patternType"); return c.get(); } uint8_t& ctrl_res_set() { - assert_choice_type("controlResourceSet", type_.to_string(), "patternType"); + assert_choice_type(types::ctrl_res_set, type_, "patternType"); return c.get(); } const bitmaps_s_& bitmaps() const { - assert_choice_type("bitmaps", type_.to_string(), "patternType"); + assert_choice_type(types::bitmaps, type_, "patternType"); return c.get(); } const uint8_t& ctrl_res_set() const { - assert_choice_type("controlResourceSet", type_.to_string(), "patternType"); + assert_choice_type(types::ctrl_res_set, type_, "patternType"); return c.get(); } bitmaps_s_& set_bitmaps(); @@ -11489,22 +11489,22 @@ struct rate_match_pattern_group_item_c_ { // getters uint8_t& cell_level() { - assert_choice_type("cellLevel", type_.to_string(), "RateMatchPatternGroup-item"); + assert_choice_type(types::cell_level, type_, "RateMatchPatternGroup-item"); return c.get(); } uint8_t& bwp_level() { - assert_choice_type("bwpLevel", type_.to_string(), "RateMatchPatternGroup-item"); + assert_choice_type(types::bwp_level, type_, "RateMatchPatternGroup-item"); return c.get(); } const uint8_t& cell_level() const { - assert_choice_type("cellLevel", type_.to_string(), "RateMatchPatternGroup-item"); + assert_choice_type(types::cell_level, type_, "RateMatchPatternGroup-item"); return c.get(); } const uint8_t& bwp_level() const { - assert_choice_type("bwpLevel", type_.to_string(), "RateMatchPatternGroup-item"); + assert_choice_type(types::bwp_level, type_, "RateMatchPatternGroup-item"); return c.get(); } uint8_t& set_cell_level(); @@ -11728,22 +11728,22 @@ struct pdsch_cfg_s { // getters static_bundling_s_& static_bundling() { - assert_choice_type("staticBundling", type_.to_string(), "prb-BundlingType"); + assert_choice_type(types::static_bundling, type_, "prb-BundlingType"); return c.get(); } dynamic_bundling_s_& dynamic_bundling() { - assert_choice_type("dynamicBundling", type_.to_string(), "prb-BundlingType"); + assert_choice_type(types::dynamic_bundling, type_, "prb-BundlingType"); return c.get(); } const static_bundling_s_& static_bundling() const { - assert_choice_type("staticBundling", type_.to_string(), "prb-BundlingType"); + assert_choice_type(types::static_bundling, type_, "prb-BundlingType"); return c.get(); } const dynamic_bundling_s_& dynamic_bundling() const { - assert_choice_type("dynamicBundling", type_.to_string(), "prb-BundlingType"); + assert_choice_type(types::dynamic_bundling, type_, "prb-BundlingType"); return c.get(); } static_bundling_s_& set_static_bundling(); @@ -12092,22 +12092,22 @@ struct pucch_pathloss_ref_rs_s { // getters uint8_t& ssb_idx() { - assert_choice_type("ssb-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::ssb_idx, type_, "referenceSignal"); return c.get(); } uint8_t& csi_rs_idx() { - assert_choice_type("csi-RS-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::csi_rs_idx, type_, "referenceSignal"); return c.get(); } const uint8_t& ssb_idx() const { - assert_choice_type("ssb-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::ssb_idx, type_, "referenceSignal"); return c.get(); } const uint8_t& csi_rs_idx() const { - assert_choice_type("csi-RS-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::csi_rs_idx, type_, "referenceSignal"); return c.get(); } uint8_t& set_ssb_idx(); @@ -12233,22 +12233,22 @@ struct pusch_pathloss_ref_rs_s { // getters uint8_t& ssb_idx() { - assert_choice_type("ssb-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::ssb_idx, type_, "referenceSignal"); return c.get(); } uint8_t& csi_rs_idx() { - assert_choice_type("csi-RS-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::csi_rs_idx, type_, "referenceSignal"); return c.get(); } const uint8_t& ssb_idx() const { - assert_choice_type("ssb-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::ssb_idx, type_, "referenceSignal"); return c.get(); } const uint8_t& csi_rs_idx() const { - assert_choice_type("csi-RS-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::csi_rs_idx, type_, "referenceSignal"); return c.get(); } uint8_t& set_ssb_idx(); @@ -12337,162 +12337,162 @@ struct srs_periodicity_and_offset_c { // getters uint8_t& sl2() { - assert_choice_type("sl2", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl2, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint8_t& sl4() { - assert_choice_type("sl4", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl4, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint8_t& sl5() { - assert_choice_type("sl5", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl5, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint8_t& sl8() { - assert_choice_type("sl8", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl8, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint8_t& sl10() { - assert_choice_type("sl10", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl10, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint8_t& sl16() { - assert_choice_type("sl16", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl16, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint8_t& sl20() { - assert_choice_type("sl20", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl20, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint8_t& sl32() { - assert_choice_type("sl32", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl32, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint8_t& sl40() { - assert_choice_type("sl40", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl40, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint8_t& sl64() { - assert_choice_type("sl64", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl64, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint8_t& sl80() { - assert_choice_type("sl80", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl80, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint8_t& sl160() { - assert_choice_type("sl160", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl160, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint16_t& sl320() { - assert_choice_type("sl320", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl320, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint16_t& sl640() { - assert_choice_type("sl640", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl640, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint16_t& sl1280() { - assert_choice_type("sl1280", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl1280, type_, "SRS-PeriodicityAndOffset"); return c.get(); } uint16_t& sl2560() { - assert_choice_type("sl2560", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl2560, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl2() const { - assert_choice_type("sl2", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl2, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl4() const { - assert_choice_type("sl4", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl4, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl5() const { - assert_choice_type("sl5", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl5, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl8() const { - assert_choice_type("sl8", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl8, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl10() const { - assert_choice_type("sl10", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl10, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl16() const { - assert_choice_type("sl16", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl16, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl20() const { - assert_choice_type("sl20", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl20, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl32() const { - assert_choice_type("sl32", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl32, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl40() const { - assert_choice_type("sl40", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl40, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl64() const { - assert_choice_type("sl64", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl64, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl80() const { - assert_choice_type("sl80", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl80, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint8_t& sl160() const { - assert_choice_type("sl160", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl160, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint16_t& sl320() const { - assert_choice_type("sl320", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl320, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint16_t& sl640() const { - assert_choice_type("sl640", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl640, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint16_t& sl1280() const { - assert_choice_type("sl1280", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl1280, type_, "SRS-PeriodicityAndOffset"); return c.get(); } const uint16_t& sl2560() const { - assert_choice_type("sl2560", type_.to_string(), "SRS-PeriodicityAndOffset"); + assert_choice_type(types::sl2560, type_, "SRS-PeriodicityAndOffset"); return c.get(); } void set_sl1(); @@ -12547,32 +12547,32 @@ struct srs_spatial_relation_info_s { // getters uint8_t& ssb_idx() { - assert_choice_type("ssb-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::ssb_idx, type_, "referenceSignal"); return c.get(); } uint8_t& csi_rs_idx() { - assert_choice_type("csi-RS-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::csi_rs_idx, type_, "referenceSignal"); return c.get(); } srs_s_& srs() { - assert_choice_type("srs", type_.to_string(), "referenceSignal"); + assert_choice_type(types::srs, type_, "referenceSignal"); return c.get(); } const uint8_t& ssb_idx() const { - assert_choice_type("ssb-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::ssb_idx, type_, "referenceSignal"); return c.get(); } const uint8_t& csi_rs_idx() const { - assert_choice_type("csi-RS-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::csi_rs_idx, type_, "referenceSignal"); return c.get(); } const srs_s_& srs() const { - assert_choice_type("srs", type_.to_string(), "referenceSignal"); + assert_choice_type(types::srs, type_, "referenceSignal"); return c.get(); } uint8_t& set_ssb_idx(); @@ -12620,22 +12620,22 @@ struct cg_uci_on_pusch_c { // getters dynamic_l_& dynamic_type() { - assert_choice_type("dynamic", type_.to_string(), "CG-UCI-OnPUSCH"); + assert_choice_type(types::dynamic_type, type_, "CG-UCI-OnPUSCH"); return c.get(); } beta_offsets_s& semi_static() { - assert_choice_type("semiStatic", type_.to_string(), "CG-UCI-OnPUSCH"); + assert_choice_type(types::semi_static, type_, "CG-UCI-OnPUSCH"); return c.get(); } const dynamic_l_& dynamic_type() const { - assert_choice_type("dynamic", type_.to_string(), "CG-UCI-OnPUSCH"); + assert_choice_type(types::dynamic_type, type_, "CG-UCI-OnPUSCH"); return c.get(); } const beta_offsets_s& semi_static() const { - assert_choice_type("semiStatic", type_.to_string(), "CG-UCI-OnPUSCH"); + assert_choice_type(types::semi_static, type_, "CG-UCI-OnPUSCH"); return c.get(); } dynamic_l_& set_dynamic_type(); @@ -12717,22 +12717,22 @@ struct prach_res_ded_bfr_c { // getters bfr_ssb_res_s& ssb() { - assert_choice_type("ssb", type_.to_string(), "PRACH-ResourceDedicatedBFR"); + assert_choice_type(types::ssb, type_, "PRACH-ResourceDedicatedBFR"); return c.get(); } bfr_csirs_res_s& csi_rs() { - assert_choice_type("csi-RS", type_.to_string(), "PRACH-ResourceDedicatedBFR"); + assert_choice_type(types::csi_rs, type_, "PRACH-ResourceDedicatedBFR"); return c.get(); } const bfr_ssb_res_s& ssb() const { - assert_choice_type("ssb", type_.to_string(), "PRACH-ResourceDedicatedBFR"); + assert_choice_type(types::ssb, type_, "PRACH-ResourceDedicatedBFR"); return c.get(); } const bfr_csirs_res_s& csi_rs() const { - assert_choice_type("csi-RS", type_.to_string(), "PRACH-ResourceDedicatedBFR"); + assert_choice_type(types::csi_rs, type_, "PRACH-ResourceDedicatedBFR"); return c.get(); } bfr_ssb_res_s& set_ssb(); @@ -12827,52 +12827,52 @@ struct pucch_res_s { // getters pucch_format0_s& format0() { - assert_choice_type("format0", type_.to_string(), "format"); + assert_choice_type(types::format0, type_, "format"); return c.get(); } pucch_format1_s& format1() { - assert_choice_type("format1", type_.to_string(), "format"); + assert_choice_type(types::format1, type_, "format"); return c.get(); } pucch_format2_s& format2() { - assert_choice_type("format2", type_.to_string(), "format"); + assert_choice_type(types::format2, type_, "format"); return c.get(); } pucch_format3_s& format3() { - assert_choice_type("format3", type_.to_string(), "format"); + assert_choice_type(types::format3, type_, "format"); return c.get(); } pucch_format4_s& format4() { - assert_choice_type("format4", type_.to_string(), "format"); + assert_choice_type(types::format4, type_, "format"); return c.get(); } const pucch_format0_s& format0() const { - assert_choice_type("format0", type_.to_string(), "format"); + assert_choice_type(types::format0, type_, "format"); return c.get(); } const pucch_format1_s& format1() const { - assert_choice_type("format1", type_.to_string(), "format"); + assert_choice_type(types::format1, type_, "format"); return c.get(); } const pucch_format2_s& format2() const { - assert_choice_type("format2", type_.to_string(), "format"); + assert_choice_type(types::format2, type_, "format"); return c.get(); } const pucch_format3_s& format3() const { - assert_choice_type("format3", type_.to_string(), "format"); + assert_choice_type(types::format3, type_, "format"); return c.get(); } const pucch_format4_s& format4() const { - assert_choice_type("format4", type_.to_string(), "format"); + assert_choice_type(types::format4, type_, "format"); return c.get(); } pucch_format0_s& set_format0(); @@ -12945,32 +12945,32 @@ struct pucch_spatial_relation_info_s { // getters uint8_t& ssb_idx() { - assert_choice_type("ssb-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::ssb_idx, type_, "referenceSignal"); return c.get(); } uint8_t& csi_rs_idx() { - assert_choice_type("csi-RS-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::csi_rs_idx, type_, "referenceSignal"); return c.get(); } srs_s_& srs() { - assert_choice_type("srs", type_.to_string(), "referenceSignal"); + assert_choice_type(types::srs, type_, "referenceSignal"); return c.get(); } const uint8_t& ssb_idx() const { - assert_choice_type("ssb-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::ssb_idx, type_, "referenceSignal"); return c.get(); } const uint8_t& csi_rs_idx() const { - assert_choice_type("csi-RS-Index", type_.to_string(), "referenceSignal"); + assert_choice_type(types::csi_rs_idx, type_, "referenceSignal"); return c.get(); } const srs_s_& srs() const { - assert_choice_type("srs", type_.to_string(), "referenceSignal"); + assert_choice_type(types::srs, type_, "referenceSignal"); return c.get(); } uint8_t& set_ssb_idx(); @@ -13121,22 +13121,22 @@ struct srs_res_s { // getters n2_s_& n2() { - assert_choice_type("n2", type_.to_string(), "transmissionComb"); + assert_choice_type(types::n2, type_, "transmissionComb"); return c.get(); } n4_s_& n4() { - assert_choice_type("n4", type_.to_string(), "transmissionComb"); + assert_choice_type(types::n4, type_, "transmissionComb"); return c.get(); } const n2_s_& n2() const { - assert_choice_type("n2", type_.to_string(), "transmissionComb"); + assert_choice_type(types::n2, type_, "transmissionComb"); return c.get(); } const n4_s_& n4() const { - assert_choice_type("n4", type_.to_string(), "transmissionComb"); + assert_choice_type(types::n4, type_, "transmissionComb"); return c.get(); } n2_s_& set_n2(); @@ -13217,32 +13217,32 @@ struct srs_res_s { // getters aperiodic_s_& aperiodic() { - assert_choice_type("aperiodic", type_.to_string(), "resourceType"); + assert_choice_type(types::aperiodic, type_, "resourceType"); return c.get(); } semi_persistent_s_& semi_persistent() { - assert_choice_type("semi-persistent", type_.to_string(), "resourceType"); + assert_choice_type(types::semi_persistent, type_, "resourceType"); return c.get(); } periodic_s_& periodic() { - assert_choice_type("periodic", type_.to_string(), "resourceType"); + assert_choice_type(types::periodic, type_, "resourceType"); return c.get(); } const aperiodic_s_& aperiodic() const { - assert_choice_type("aperiodic", type_.to_string(), "resourceType"); + assert_choice_type(types::aperiodic, type_, "resourceType"); return c.get(); } const semi_persistent_s_& semi_persistent() const { - assert_choice_type("semi-persistent", type_.to_string(), "resourceType"); + assert_choice_type(types::semi_persistent, type_, "resourceType"); return c.get(); } const periodic_s_& periodic() const { - assert_choice_type("periodic", type_.to_string(), "resourceType"); + assert_choice_type(types::periodic, type_, "resourceType"); return c.get(); } aperiodic_s_& set_aperiodic(); @@ -13335,32 +13335,32 @@ struct srs_res_set_s { // getters aperiodic_s_& aperiodic() { - assert_choice_type("aperiodic", type_.to_string(), "resourceType"); + assert_choice_type(types::aperiodic, type_, "resourceType"); return c.get(); } semi_persistent_s_& semi_persistent() { - assert_choice_type("semi-persistent", type_.to_string(), "resourceType"); + assert_choice_type(types::semi_persistent, type_, "resourceType"); return c.get(); } periodic_s_& periodic() { - assert_choice_type("periodic", type_.to_string(), "resourceType"); + assert_choice_type(types::periodic, type_, "resourceType"); return c.get(); } const aperiodic_s_& aperiodic() const { - assert_choice_type("aperiodic", type_.to_string(), "resourceType"); + assert_choice_type(types::aperiodic, type_, "resourceType"); return c.get(); } const semi_persistent_s_& semi_persistent() const { - assert_choice_type("semi-persistent", type_.to_string(), "resourceType"); + assert_choice_type(types::semi_persistent, type_, "resourceType"); return c.get(); } const periodic_s_& periodic() const { - assert_choice_type("periodic", type_.to_string(), "resourceType"); + assert_choice_type(types::periodic, type_, "resourceType"); return c.get(); } aperiodic_s_& set_aperiodic(); @@ -13400,22 +13400,22 @@ struct srs_res_set_s { // getters uint8_t& ssb_idx() { - assert_choice_type("ssb-Index", type_.to_string(), "pathlossReferenceRS"); + assert_choice_type(types::ssb_idx, type_, "pathlossReferenceRS"); return c.get(); } uint8_t& csi_rs_idx() { - assert_choice_type("csi-RS-Index", type_.to_string(), "pathlossReferenceRS"); + assert_choice_type(types::csi_rs_idx, type_, "pathlossReferenceRS"); return c.get(); } const uint8_t& ssb_idx() const { - assert_choice_type("ssb-Index", type_.to_string(), "pathlossReferenceRS"); + assert_choice_type(types::ssb_idx, type_, "pathlossReferenceRS"); return c.get(); } const uint8_t& csi_rs_idx() const { - assert_choice_type("csi-RS-Index", type_.to_string(), "pathlossReferenceRS"); + assert_choice_type(types::csi_rs_idx, type_, "pathlossReferenceRS"); return c.get(); } uint8_t& set_ssb_idx(); @@ -13499,122 +13499,122 @@ struct sched_request_res_cfg_s { // getters uint8_t& sl2() { - assert_choice_type("sl2", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl2, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sl4() { - assert_choice_type("sl4", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl4, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sl5() { - assert_choice_type("sl5", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl5, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sl8() { - assert_choice_type("sl8", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl8, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sl10() { - assert_choice_type("sl10", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl10, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sl16() { - assert_choice_type("sl16", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl16, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sl20() { - assert_choice_type("sl20", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl20, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sl40() { - assert_choice_type("sl40", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl40, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sl80() { - assert_choice_type("sl80", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl80, type_, "periodicityAndOffset"); return c.get(); } uint8_t& sl160() { - assert_choice_type("sl160", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl160, type_, "periodicityAndOffset"); return c.get(); } uint16_t& sl320() { - assert_choice_type("sl320", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl320, type_, "periodicityAndOffset"); return c.get(); } uint16_t& sl640() { - assert_choice_type("sl640", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl640, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sl2() const { - assert_choice_type("sl2", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl2, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sl4() const { - assert_choice_type("sl4", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl4, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sl5() const { - assert_choice_type("sl5", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl5, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sl8() const { - assert_choice_type("sl8", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl8, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sl10() const { - assert_choice_type("sl10", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl10, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sl16() const { - assert_choice_type("sl16", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl16, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sl20() const { - assert_choice_type("sl20", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl20, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sl40() const { - assert_choice_type("sl40", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl40, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sl80() const { - assert_choice_type("sl80", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl80, type_, "periodicityAndOffset"); return c.get(); } const uint8_t& sl160() const { - assert_choice_type("sl160", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl160, type_, "periodicityAndOffset"); return c.get(); } const uint16_t& sl320() const { - assert_choice_type("sl320", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl320, type_, "periodicityAndOffset"); return c.get(); } const uint16_t& sl640() const { - assert_choice_type("sl640", type_.to_string(), "periodicityAndOffset"); + assert_choice_type(types::sl640, type_, "periodicityAndOffset"); return c.get(); } void set_sym2(); @@ -13678,22 +13678,22 @@ struct uci_on_pusch_s { // getters dynamic_l_& dynamic_type() { - assert_choice_type("dynamic", type_.to_string(), "betaOffsets"); + assert_choice_type(types::dynamic_type, type_, "betaOffsets"); return c.get(); } beta_offsets_s& semi_static() { - assert_choice_type("semiStatic", type_.to_string(), "betaOffsets"); + assert_choice_type(types::semi_static, type_, "betaOffsets"); return c.get(); } const dynamic_l_& dynamic_type() const { - assert_choice_type("dynamic", type_.to_string(), "betaOffsets"); + assert_choice_type(types::dynamic_type, type_, "betaOffsets"); return c.get(); } const beta_offsets_s& semi_static() const { - assert_choice_type("semiStatic", type_.to_string(), "betaOffsets"); + assert_choice_type(types::semi_static, type_, "betaOffsets"); return c.get(); } dynamic_l_& set_dynamic_type(); @@ -14213,22 +14213,22 @@ struct band_params_c { // getters eutra_s_& eutra() { - assert_choice_type("eutra", type_.to_string(), "BandParameters"); + assert_choice_type(types::eutra, type_, "BandParameters"); return c.get(); } nr_s_& nr() { - assert_choice_type("nr", type_.to_string(), "BandParameters"); + assert_choice_type(types::nr, type_, "BandParameters"); return c.get(); } const eutra_s_& eutra() const { - assert_choice_type("eutra", type_.to_string(), "BandParameters"); + assert_choice_type(types::eutra, type_, "BandParameters"); return c.get(); } const nr_s_& nr() const { - assert_choice_type("nr", type_.to_string(), "BandParameters"); + assert_choice_type(types::nr, type_, "BandParameters"); return c.get(); } eutra_s_& set_eutra(); @@ -14493,22 +14493,22 @@ struct band_params_v1540_s { // getters nr_s_& nr() { - assert_choice_type("nr", type_.to_string(), "srs-CarrierSwitch"); + assert_choice_type(types::nr, type_, "srs-CarrierSwitch"); return c.get(); } eutra_s_& eutra() { - assert_choice_type("eutra", type_.to_string(), "srs-CarrierSwitch"); + assert_choice_type(types::eutra, type_, "srs-CarrierSwitch"); return c.get(); } const nr_s_& nr() const { - assert_choice_type("nr", type_.to_string(), "srs-CarrierSwitch"); + assert_choice_type(types::nr, type_, "srs-CarrierSwitch"); return c.get(); } const eutra_s_& eutra() const { - assert_choice_type("eutra", type_.to_string(), "srs-CarrierSwitch"); + assert_choice_type(types::eutra, type_, "srs-CarrierSwitch"); return c.get(); } nr_s_& set_nr(); @@ -15429,22 +15429,22 @@ struct band_nr_s { // getters fr1_s_& fr1() { - assert_choice_type("fr1", type_.to_string(), "channelBWs-DL"); + assert_choice_type(types::fr1, type_, "channelBWs-DL"); return c.get(); } fr2_s_& fr2() { - assert_choice_type("fr2", type_.to_string(), "channelBWs-DL"); + assert_choice_type(types::fr2, type_, "channelBWs-DL"); return c.get(); } const fr1_s_& fr1() const { - assert_choice_type("fr1", type_.to_string(), "channelBWs-DL"); + assert_choice_type(types::fr1, type_, "channelBWs-DL"); return c.get(); } const fr2_s_& fr2() const { - assert_choice_type("fr2", type_.to_string(), "channelBWs-DL"); + assert_choice_type(types::fr2, type_, "channelBWs-DL"); return c.get(); } fr1_s_& set_fr1(); @@ -15493,22 +15493,22 @@ struct band_nr_s { // getters fr1_s_& fr1() { - assert_choice_type("fr1", type_.to_string(), "channelBWs-UL"); + assert_choice_type(types::fr1, type_, "channelBWs-UL"); return c.get(); } fr2_s_& fr2() { - assert_choice_type("fr2", type_.to_string(), "channelBWs-UL"); + assert_choice_type(types::fr2, type_, "channelBWs-UL"); return c.get(); } const fr1_s_& fr1() const { - assert_choice_type("fr1", type_.to_string(), "channelBWs-UL"); + assert_choice_type(types::fr1, type_, "channelBWs-UL"); return c.get(); } const fr2_s_& fr2() const { - assert_choice_type("fr2", type_.to_string(), "channelBWs-UL"); + assert_choice_type(types::fr2, type_, "channelBWs-UL"); return c.get(); } fr1_s_& set_fr1(); @@ -15573,22 +15573,22 @@ struct band_nr_s { // getters fr1_s_& fr1() { - assert_choice_type("fr1", type_.to_string(), "channelBWs-DL-v1590"); + assert_choice_type(types::fr1, type_, "channelBWs-DL-v1590"); return c.get(); } fr2_s_& fr2() { - assert_choice_type("fr2", type_.to_string(), "channelBWs-DL-v1590"); + assert_choice_type(types::fr2, type_, "channelBWs-DL-v1590"); return c.get(); } const fr1_s_& fr1() const { - assert_choice_type("fr1", type_.to_string(), "channelBWs-DL-v1590"); + assert_choice_type(types::fr1, type_, "channelBWs-DL-v1590"); return c.get(); } const fr2_s_& fr2() const { - assert_choice_type("fr2", type_.to_string(), "channelBWs-DL-v1590"); + assert_choice_type(types::fr2, type_, "channelBWs-DL-v1590"); return c.get(); } fr1_s_& set_fr1(); @@ -15637,22 +15637,22 @@ struct band_nr_s { // getters fr1_s_& fr1() { - assert_choice_type("fr1", type_.to_string(), "channelBWs-UL-v1590"); + assert_choice_type(types::fr1, type_, "channelBWs-UL-v1590"); return c.get(); } fr2_s_& fr2() { - assert_choice_type("fr2", type_.to_string(), "channelBWs-UL-v1590"); + assert_choice_type(types::fr2, type_, "channelBWs-UL-v1590"); return c.get(); } const fr1_s_& fr1() const { - assert_choice_type("fr1", type_.to_string(), "channelBWs-UL-v1590"); + assert_choice_type(types::fr1, type_, "channelBWs-UL-v1590"); return c.get(); } const fr2_s_& fr2() const { - assert_choice_type("fr2", type_.to_string(), "channelBWs-UL-v1590"); + assert_choice_type(types::fr2, type_, "channelBWs-UL-v1590"); return c.get(); } fr1_s_& set_fr1(); @@ -15794,22 +15794,22 @@ struct cfra_s { // getters ssb_s_& ssb() { - assert_choice_type("ssb", type_.to_string(), "resources"); + assert_choice_type(types::ssb, type_, "resources"); return c.get(); } csirs_s_& csirs() { - assert_choice_type("csirs", type_.to_string(), "resources"); + assert_choice_type(types::csirs, type_, "resources"); return c.get(); } const ssb_s_& ssb() const { - assert_choice_type("ssb", type_.to_string(), "resources"); + assert_choice_type(types::ssb, type_, "resources"); return c.get(); } const csirs_s_& csirs() const { - assert_choice_type("csirs", type_.to_string(), "resources"); + assert_choice_type(types::csirs, type_, "resources"); return c.get(); } ssb_s_& set_ssb(); @@ -15869,22 +15869,22 @@ struct csi_associated_report_cfg_info_s { // getters nzp_csi_rs_s_& nzp_csi_rs() { - assert_choice_type("nzp-CSI-RS", type_.to_string(), "resourcesForChannel"); + assert_choice_type(types::nzp_csi_rs, type_, "resourcesForChannel"); return c.get(); } uint8_t& csi_ssb_res_set() { - assert_choice_type("csi-SSB-ResourceSet", type_.to_string(), "resourcesForChannel"); + assert_choice_type(types::csi_ssb_res_set, type_, "resourcesForChannel"); return c.get(); } const nzp_csi_rs_s_& nzp_csi_rs() const { - assert_choice_type("nzp-CSI-RS", type_.to_string(), "resourcesForChannel"); + assert_choice_type(types::nzp_csi_rs, type_, "resourcesForChannel"); return c.get(); } const uint8_t& csi_ssb_res_set() const { - assert_choice_type("csi-SSB-ResourceSet", type_.to_string(), "resourcesForChannel"); + assert_choice_type(types::csi_ssb_res_set, type_, "resourcesForChannel"); return c.get(); } nzp_csi_rs_s_& set_nzp_csi_rs(); @@ -15984,22 +15984,22 @@ struct csi_im_res_s { // getters pattern0_s_& pattern0() { - assert_choice_type("pattern0", type_.to_string(), "csi-IM-ResourceElementPattern"); + assert_choice_type(types::pattern0, type_, "csi-IM-ResourceElementPattern"); return c.get(); } pattern1_s_& pattern1() { - assert_choice_type("pattern1", type_.to_string(), "csi-IM-ResourceElementPattern"); + assert_choice_type(types::pattern1, type_, "csi-IM-ResourceElementPattern"); return c.get(); } const pattern0_s_& pattern0() const { - assert_choice_type("pattern0", type_.to_string(), "csi-IM-ResourceElementPattern"); + assert_choice_type(types::pattern0, type_, "csi-IM-ResourceElementPattern"); return c.get(); } const pattern1_s_& pattern1() const { - assert_choice_type("pattern1", type_.to_string(), "csi-IM-ResourceElementPattern"); + assert_choice_type(types::pattern1, type_, "csi-IM-ResourceElementPattern"); return c.get(); } pattern0_s_& set_pattern0(); @@ -16081,102 +16081,102 @@ struct csi_report_periodicity_and_offset_c { // getters uint8_t& slots4() { - assert_choice_type("slots4", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots4, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } uint8_t& slots5() { - assert_choice_type("slots5", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots5, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } uint8_t& slots8() { - assert_choice_type("slots8", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots8, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } uint8_t& slots10() { - assert_choice_type("slots10", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots10, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } uint8_t& slots16() { - assert_choice_type("slots16", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots16, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } uint8_t& slots20() { - assert_choice_type("slots20", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots20, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } uint8_t& slots40() { - assert_choice_type("slots40", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots40, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } uint8_t& slots80() { - assert_choice_type("slots80", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots80, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } uint8_t& slots160() { - assert_choice_type("slots160", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots160, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } uint16_t& slots320() { - assert_choice_type("slots320", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots320, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } const uint8_t& slots4() const { - assert_choice_type("slots4", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots4, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } const uint8_t& slots5() const { - assert_choice_type("slots5", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots5, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } const uint8_t& slots8() const { - assert_choice_type("slots8", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots8, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } const uint8_t& slots10() const { - assert_choice_type("slots10", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots10, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } const uint8_t& slots16() const { - assert_choice_type("slots16", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots16, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } const uint8_t& slots20() const { - assert_choice_type("slots20", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots20, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } const uint8_t& slots40() const { - assert_choice_type("slots40", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots40, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } const uint8_t& slots80() const { - assert_choice_type("slots80", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots80, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } const uint8_t& slots160() const { - assert_choice_type("slots160", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots160, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } const uint16_t& slots320() const { - assert_choice_type("slots320", type_.to_string(), "CSI-ReportPeriodicityAndOffset"); + assert_choice_type(types::slots320, type_, "CSI-ReportPeriodicityAndOffset"); return c.get(); } uint8_t& set_slots4(); @@ -16256,132 +16256,132 @@ struct codebook_cfg_s { // getters fixed_bitstring<8>& two_one_type_i_single_panel_restrict() { - assert_choice_type("two-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::two_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<64>& two_two_type_i_single_panel_restrict() { - assert_choice_type("two-two-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::two_two_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<16>& four_one_type_i_single_panel_restrict() { - assert_choice_type("four-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::four_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<96>& three_two_type_i_single_panel_restrict() { - assert_choice_type("three-two-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::three_two_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<24>& six_one_type_i_single_panel_restrict() { - assert_choice_type("six-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::six_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<128>& four_two_type_i_single_panel_restrict() { - assert_choice_type("four-two-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::four_two_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<32>& eight_one_type_i_single_panel_restrict() { - assert_choice_type("eight-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::eight_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<192>& four_three_type_i_single_panel_restrict() { - assert_choice_type("four-three-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::four_three_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<192>& six_two_type_i_single_panel_restrict() { - assert_choice_type("six-two-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::six_two_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<48>& twelve_one_type_i_single_panel_restrict() { - assert_choice_type("twelve-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::twelve_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<256>& four_four_type_i_single_panel_restrict() { - assert_choice_type("four-four-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::four_four_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<256>& eight_two_type_i_single_panel_restrict() { - assert_choice_type("eight-two-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::eight_two_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<64>& sixteen_one_type_i_single_panel_restrict() { - assert_choice_type("sixteen-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::sixteen_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<8>& two_one_type_i_single_panel_restrict() const { - assert_choice_type("two-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::two_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<64>& two_two_type_i_single_panel_restrict() const { - assert_choice_type("two-two-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::two_two_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<16>& four_one_type_i_single_panel_restrict() const { - assert_choice_type("four-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::four_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<96>& three_two_type_i_single_panel_restrict() const { - assert_choice_type("three-two-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::three_two_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<24>& six_one_type_i_single_panel_restrict() const { - assert_choice_type("six-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::six_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<128>& four_two_type_i_single_panel_restrict() const { - assert_choice_type("four-two-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::four_two_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<32>& eight_one_type_i_single_panel_restrict() const { - assert_choice_type("eight-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::eight_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<192>& four_three_type_i_single_panel_restrict() const { - assert_choice_type("four-three-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::four_three_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<192>& six_two_type_i_single_panel_restrict() const { - assert_choice_type("six-two-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::six_two_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<48>& twelve_one_type_i_single_panel_restrict() const { - assert_choice_type("twelve-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::twelve_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<256>& four_four_type_i_single_panel_restrict() const { - assert_choice_type("four-four-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::four_four_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<256>& eight_two_type_i_single_panel_restrict() const { - assert_choice_type("eight-two-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::eight_two_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } const fixed_bitstring<64>& sixteen_one_type_i_single_panel_restrict() const { - assert_choice_type("sixteen-one-TypeI-SinglePanel-Restriction", type_.to_string(), "n1-n2"); + assert_choice_type(types::sixteen_one_type_i_single_panel_restrict, type_, "n1-n2"); return c.get >(); } fixed_bitstring<8>& set_two_one_type_i_single_panel_restrict(); @@ -16432,22 +16432,22 @@ struct codebook_cfg_s { // getters two_s_& two() { - assert_choice_type("two", type_.to_string(), "nrOfAntennaPorts"); + assert_choice_type(types::two, type_, "nrOfAntennaPorts"); return c.get(); } more_than_two_s_& more_than_two() { - assert_choice_type("moreThanTwo", type_.to_string(), "nrOfAntennaPorts"); + assert_choice_type(types::more_than_two, type_, "nrOfAntennaPorts"); return c.get(); } const two_s_& two() const { - assert_choice_type("two", type_.to_string(), "nrOfAntennaPorts"); + assert_choice_type(types::two, type_, "nrOfAntennaPorts"); return c.get(); } const more_than_two_s_& more_than_two() const { - assert_choice_type("moreThanTwo", type_.to_string(), "nrOfAntennaPorts"); + assert_choice_type(types::more_than_two, type_, "nrOfAntennaPorts"); return c.get(); } two_s_& set_two(); @@ -16496,82 +16496,82 @@ struct codebook_cfg_s { // getters fixed_bitstring<8>& two_two_one_type_i_multi_panel_restrict() { - assert_choice_type("two-two-one-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::two_two_one_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } fixed_bitstring<16>& two_four_one_type_i_multi_panel_restrict() { - assert_choice_type("two-four-one-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::two_four_one_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } fixed_bitstring<8>& four_two_one_type_i_multi_panel_restrict() { - assert_choice_type("four-two-one-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::four_two_one_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } fixed_bitstring<64>& two_two_two_type_i_multi_panel_restrict() { - assert_choice_type("two-two-two-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::two_two_two_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } fixed_bitstring<32>& two_eight_one_type_i_multi_panel_restrict() { - assert_choice_type("two-eight-one-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::two_eight_one_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } fixed_bitstring<16>& four_four_one_type_i_multi_panel_restrict() { - assert_choice_type("four-four-one-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::four_four_one_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } fixed_bitstring<128>& two_four_two_type_i_multi_panel_restrict() { - assert_choice_type("two-four-two-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::two_four_two_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } fixed_bitstring<64>& four_two_two_type_i_multi_panel_restrict() { - assert_choice_type("four-two-two-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::four_two_two_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } const fixed_bitstring<8>& two_two_one_type_i_multi_panel_restrict() const { - assert_choice_type("two-two-one-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::two_two_one_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } const fixed_bitstring<16>& two_four_one_type_i_multi_panel_restrict() const { - assert_choice_type("two-four-one-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::two_four_one_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } const fixed_bitstring<8>& four_two_one_type_i_multi_panel_restrict() const { - assert_choice_type("four-two-one-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::four_two_one_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } const fixed_bitstring<64>& two_two_two_type_i_multi_panel_restrict() const { - assert_choice_type("two-two-two-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::two_two_two_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } const fixed_bitstring<32>& two_eight_one_type_i_multi_panel_restrict() const { - assert_choice_type("two-eight-one-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::two_eight_one_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } const fixed_bitstring<16>& four_four_one_type_i_multi_panel_restrict() const { - assert_choice_type("four-four-one-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::four_four_one_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } const fixed_bitstring<128>& two_four_two_type_i_multi_panel_restrict() const { - assert_choice_type("two-four-two-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::two_four_two_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } const fixed_bitstring<64>& four_two_two_type_i_multi_panel_restrict() const { - assert_choice_type("four-two-two-TypeI-MultiPanel-Restriction", type_.to_string(), "ng-n1-n2"); + assert_choice_type(types::four_two_two_type_i_multi_panel_restrict, type_, "ng-n1-n2"); return c.get >(); } fixed_bitstring<8>& set_two_two_one_type_i_multi_panel_restrict(); @@ -16614,22 +16614,22 @@ struct codebook_cfg_s { // getters type_i_single_panel_s_& type_i_single_panel() { - assert_choice_type("typeI-SinglePanel", type_.to_string(), "subType"); + assert_choice_type(types::type_i_single_panel, type_, "subType"); return c.get(); } type_i_multi_panel_s_& type_i_multi_panel() { - assert_choice_type("typeI-MultiPanel", type_.to_string(), "subType"); + assert_choice_type(types::type_i_multi_panel, type_, "subType"); return c.get(); } const type_i_single_panel_s_& type_i_single_panel() const { - assert_choice_type("typeI-SinglePanel", type_.to_string(), "subType"); + assert_choice_type(types::type_i_single_panel, type_, "subType"); return c.get(); } const type_i_multi_panel_s_& type_i_multi_panel() const { - assert_choice_type("typeI-MultiPanel", type_.to_string(), "subType"); + assert_choice_type(types::type_i_multi_panel, type_, "subType"); return c.get(); } type_i_single_panel_s_& set_type_i_single_panel(); @@ -16685,132 +16685,132 @@ struct codebook_cfg_s { // getters fixed_bitstring<16>& two_one() { - assert_choice_type("two-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::two_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<43>& two_two() { - assert_choice_type("two-two", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::two_two, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<32>& four_one() { - assert_choice_type("four-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::four_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<59>& three_two() { - assert_choice_type("three-two", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::three_two, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<48>& six_one() { - assert_choice_type("six-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::six_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<75>& four_two() { - assert_choice_type("four-two", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::four_two, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<64>& eight_one() { - assert_choice_type("eight-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::eight_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<107>& four_three() { - assert_choice_type("four-three", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::four_three, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<107>& six_two() { - assert_choice_type("six-two", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::six_two, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<96>& twelve_one() { - assert_choice_type("twelve-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::twelve_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<139>& four_four() { - assert_choice_type("four-four", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::four_four, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<139>& eight_two() { - assert_choice_type("eight-two", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::eight_two, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<128>& sixteen_one() { - assert_choice_type("sixteen-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::sixteen_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<16>& two_one() const { - assert_choice_type("two-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::two_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<43>& two_two() const { - assert_choice_type("two-two", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::two_two, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<32>& four_one() const { - assert_choice_type("four-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::four_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<59>& three_two() const { - assert_choice_type("three-two", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::three_two, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<48>& six_one() const { - assert_choice_type("six-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::six_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<75>& four_two() const { - assert_choice_type("four-two", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::four_two, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<64>& eight_one() const { - assert_choice_type("eight-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::eight_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<107>& four_three() const { - assert_choice_type("four-three", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::four_three, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<107>& six_two() const { - assert_choice_type("six-two", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::six_two, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<96>& twelve_one() const { - assert_choice_type("twelve-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::twelve_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<139>& four_four() const { - assert_choice_type("four-four", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::four_four, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<139>& eight_two() const { - assert_choice_type("eight-two", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::eight_two, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } const fixed_bitstring<128>& sixteen_one() const { - assert_choice_type("sixteen-one", type_.to_string(), "n1-n2-codebookSubsetRestriction"); + assert_choice_type(types::sixteen_one, type_, "n1-n2-codebookSubsetRestriction"); return c.get >(); } fixed_bitstring<16>& set_two_one(); @@ -16873,22 +16873,22 @@ struct codebook_cfg_s { // getters type_ii_s_& type_ii() { - assert_choice_type("typeII", type_.to_string(), "subType"); + assert_choice_type(types::type_ii, type_, "subType"); return c.get(); } type_ii_port_sel_s_& type_ii_port_sel() { - assert_choice_type("typeII-PortSelection", type_.to_string(), "subType"); + assert_choice_type(types::type_ii_port_sel, type_, "subType"); return c.get(); } const type_ii_s_& type_ii() const { - assert_choice_type("typeII", type_.to_string(), "subType"); + assert_choice_type(types::type_ii, type_, "subType"); return c.get(); } const type_ii_port_sel_s_& type_ii_port_sel() const { - assert_choice_type("typeII-PortSelection", type_.to_string(), "subType"); + assert_choice_type(types::type_ii_port_sel, type_, "subType"); return c.get(); } type_ii_s_& set_type_ii(); @@ -16945,22 +16945,22 @@ struct codebook_cfg_s { // getters type1_s_& type1() { - assert_choice_type("type1", type_.to_string(), "codebookType"); + assert_choice_type(types::type1, type_, "codebookType"); return c.get(); } type2_s_& type2() { - assert_choice_type("type2", type_.to_string(), "codebookType"); + assert_choice_type(types::type2, type_, "codebookType"); return c.get(); } const type1_s_& type1() const { - assert_choice_type("type1", type_.to_string(), "codebookType"); + assert_choice_type(types::type1, type_, "codebookType"); return c.get(); } const type2_s_& type2() const { - assert_choice_type("type2", type_.to_string(), "codebookType"); + assert_choice_type(types::type2, type_, "codebookType"); return c.get(); } type1_s_& set_type1(); @@ -17068,32 +17068,32 @@ struct port_idx_for8_ranks_c { // getters port_idx8_s_& port_idx8() { - assert_choice_type("portIndex8", type_.to_string(), "PortIndexFor8Ranks"); + assert_choice_type(types::port_idx8, type_, "PortIndexFor8Ranks"); return c.get(); } port_idx4_s_& port_idx4() { - assert_choice_type("portIndex4", type_.to_string(), "PortIndexFor8Ranks"); + assert_choice_type(types::port_idx4, type_, "PortIndexFor8Ranks"); return c.get(); } port_idx2_s_& port_idx2() { - assert_choice_type("portIndex2", type_.to_string(), "PortIndexFor8Ranks"); + assert_choice_type(types::port_idx2, type_, "PortIndexFor8Ranks"); return c.get(); } const port_idx8_s_& port_idx8() const { - assert_choice_type("portIndex8", type_.to_string(), "PortIndexFor8Ranks"); + assert_choice_type(types::port_idx8, type_, "PortIndexFor8Ranks"); return c.get(); } const port_idx4_s_& port_idx4() const { - assert_choice_type("portIndex4", type_.to_string(), "PortIndexFor8Ranks"); + assert_choice_type(types::port_idx4, type_, "PortIndexFor8Ranks"); return c.get(); } const port_idx2_s_& port_idx2() const { - assert_choice_type("portIndex2", type_.to_string(), "PortIndexFor8Ranks"); + assert_choice_type(types::port_idx2, type_, "PortIndexFor8Ranks"); return c.get(); } port_idx8_s_& set_port_idx8(); @@ -17167,42 +17167,42 @@ struct csi_report_cfg_s { // getters periodic_s_& periodic() { - assert_choice_type("periodic", type_.to_string(), "reportConfigType"); + assert_choice_type(types::periodic, type_, "reportConfigType"); return c.get(); } semi_persistent_on_pucch_s_& semi_persistent_on_pucch() { - assert_choice_type("semiPersistentOnPUCCH", type_.to_string(), "reportConfigType"); + assert_choice_type(types::semi_persistent_on_pucch, type_, "reportConfigType"); return c.get(); } semi_persistent_on_pusch_s_& semi_persistent_on_pusch() { - assert_choice_type("semiPersistentOnPUSCH", type_.to_string(), "reportConfigType"); + assert_choice_type(types::semi_persistent_on_pusch, type_, "reportConfigType"); return c.get(); } aperiodic_s_& aperiodic() { - assert_choice_type("aperiodic", type_.to_string(), "reportConfigType"); + assert_choice_type(types::aperiodic, type_, "reportConfigType"); return c.get(); } const periodic_s_& periodic() const { - assert_choice_type("periodic", type_.to_string(), "reportConfigType"); + assert_choice_type(types::periodic, type_, "reportConfigType"); return c.get(); } const semi_persistent_on_pucch_s_& semi_persistent_on_pucch() const { - assert_choice_type("semiPersistentOnPUCCH", type_.to_string(), "reportConfigType"); + assert_choice_type(types::semi_persistent_on_pucch, type_, "reportConfigType"); return c.get(); } const semi_persistent_on_pusch_s_& semi_persistent_on_pusch() const { - assert_choice_type("semiPersistentOnPUSCH", type_.to_string(), "reportConfigType"); + assert_choice_type(types::semi_persistent_on_pusch, type_, "reportConfigType"); return c.get(); } const aperiodic_s_& aperiodic() const { - assert_choice_type("aperiodic", type_.to_string(), "reportConfigType"); + assert_choice_type(types::aperiodic, type_, "reportConfigType"); return c.get(); } periodic_s_& set_periodic(); @@ -17258,12 +17258,12 @@ struct csi_report_cfg_s { // getters cri_ri_i1_cqi_s_& cri_ri_i1_cqi() { - assert_choice_type("cri-RI-i1-CQI", type_.to_string(), "reportQuantity"); + assert_choice_type(types::cri_ri_i1_cqi, type_, "reportQuantity"); return c; } const cri_ri_i1_cqi_s_& cri_ri_i1_cqi() const { - assert_choice_type("cri-RI-i1-CQI", type_.to_string(), "reportQuantity"); + assert_choice_type(types::cri_ri_i1_cqi, type_, "reportQuantity"); return c; } void set_none(); @@ -17335,172 +17335,172 @@ struct csi_report_cfg_s { // getters fixed_bitstring<3>& subbands3() { - assert_choice_type("subbands3", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands3, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<4>& subbands4() { - assert_choice_type("subbands4", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands4, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<5>& subbands5() { - assert_choice_type("subbands5", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands5, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<6>& subbands6() { - assert_choice_type("subbands6", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands6, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<7>& subbands7() { - assert_choice_type("subbands7", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands7, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<8>& subbands8() { - assert_choice_type("subbands8", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands8, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<9>& subbands9() { - assert_choice_type("subbands9", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands9, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<10>& subbands10() { - assert_choice_type("subbands10", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands10, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<11>& subbands11() { - assert_choice_type("subbands11", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands11, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<12>& subbands12() { - assert_choice_type("subbands12", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands12, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<13>& subbands13() { - assert_choice_type("subbands13", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands13, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<14>& subbands14() { - assert_choice_type("subbands14", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands14, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<15>& subbands15() { - assert_choice_type("subbands15", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands15, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<16>& subbands16() { - assert_choice_type("subbands16", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands16, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<17>& subbands17() { - assert_choice_type("subbands17", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands17, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<18>& subbands18() { - assert_choice_type("subbands18", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands18, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<19>& subbands19_v1530() { - assert_choice_type("subbands19-v1530", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands19_v1530, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<3>& subbands3() const { - assert_choice_type("subbands3", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands3, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<4>& subbands4() const { - assert_choice_type("subbands4", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands4, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<5>& subbands5() const { - assert_choice_type("subbands5", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands5, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<6>& subbands6() const { - assert_choice_type("subbands6", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands6, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<7>& subbands7() const { - assert_choice_type("subbands7", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands7, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<8>& subbands8() const { - assert_choice_type("subbands8", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands8, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<9>& subbands9() const { - assert_choice_type("subbands9", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands9, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<10>& subbands10() const { - assert_choice_type("subbands10", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands10, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<11>& subbands11() const { - assert_choice_type("subbands11", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands11, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<12>& subbands12() const { - assert_choice_type("subbands12", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands12, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<13>& subbands13() const { - assert_choice_type("subbands13", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands13, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<14>& subbands14() const { - assert_choice_type("subbands14", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands14, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<15>& subbands15() const { - assert_choice_type("subbands15", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands15, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<16>& subbands16() const { - assert_choice_type("subbands16", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands16, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<17>& subbands17() const { - assert_choice_type("subbands17", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands17, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<18>& subbands18() const { - assert_choice_type("subbands18", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands18, type_, "csi-ReportingBand"); return c.get >(); } const fixed_bitstring<19>& subbands19_v1530() const { - assert_choice_type("subbands19-v1530", type_.to_string(), "csi-ReportingBand"); + assert_choice_type(types::subbands19_v1530, type_, "csi-ReportingBand"); return c.get >(); } fixed_bitstring<3>& set_subbands3(); @@ -17588,12 +17588,12 @@ struct csi_report_cfg_s { // getters disabled_s_& disabled() { - assert_choice_type("disabled", type_.to_string(), "groupBasedBeamReporting"); + assert_choice_type(types::disabled, type_, "groupBasedBeamReporting"); return c; } const disabled_s_& disabled() const { - assert_choice_type("disabled", type_.to_string(), "groupBasedBeamReporting"); + assert_choice_type(types::disabled, type_, "groupBasedBeamReporting"); return c; } void set_enabled(); @@ -17704,22 +17704,22 @@ struct csi_res_cfg_s { // getters nzp_csi_rs_ssb_s_& nzp_csi_rs_ssb() { - assert_choice_type("nzp-CSI-RS-SSB", type_.to_string(), "csi-RS-ResourceSetList"); + assert_choice_type(types::nzp_csi_rs_ssb, type_, "csi-RS-ResourceSetList"); return c.get(); } csi_im_res_set_list_l_& csi_im_res_set_list() { - assert_choice_type("csi-IM-ResourceSetList", type_.to_string(), "csi-RS-ResourceSetList"); + assert_choice_type(types::csi_im_res_set_list, type_, "csi-RS-ResourceSetList"); return c.get(); } const nzp_csi_rs_ssb_s_& nzp_csi_rs_ssb() const { - assert_choice_type("nzp-CSI-RS-SSB", type_.to_string(), "csi-RS-ResourceSetList"); + assert_choice_type(types::nzp_csi_rs_ssb, type_, "csi-RS-ResourceSetList"); return c.get(); } const csi_im_res_set_list_l_& csi_im_res_set_list() const { - assert_choice_type("csi-IM-ResourceSetList", type_.to_string(), "csi-RS-ResourceSetList"); + assert_choice_type(types::csi_im_res_set_list, type_, "csi-RS-ResourceSetList"); return c.get(); } nzp_csi_rs_ssb_s_& set_nzp_csi_rs_ssb(); @@ -17924,22 +17924,22 @@ struct eutra_mbsfn_sf_cfg_s { // getters fixed_bitstring<6>& one_frame() { - assert_choice_type("oneFrame", type_.to_string(), "subframeAllocation1"); + assert_choice_type(types::one_frame, type_, "subframeAllocation1"); return c.get >(); } fixed_bitstring<24>& four_frames() { - assert_choice_type("fourFrames", type_.to_string(), "subframeAllocation1"); + assert_choice_type(types::four_frames, type_, "subframeAllocation1"); return c.get >(); } const fixed_bitstring<6>& one_frame() const { - assert_choice_type("oneFrame", type_.to_string(), "subframeAllocation1"); + assert_choice_type(types::one_frame, type_, "subframeAllocation1"); return c.get >(); } const fixed_bitstring<24>& four_frames() const { - assert_choice_type("fourFrames", type_.to_string(), "subframeAllocation1"); + assert_choice_type(types::four_frames, type_, "subframeAllocation1"); return c.get >(); } fixed_bitstring<6>& set_one_frame(); @@ -17974,22 +17974,22 @@ struct eutra_mbsfn_sf_cfg_s { // getters fixed_bitstring<2>& one_frame() { - assert_choice_type("oneFrame", type_.to_string(), "subframeAllocation2"); + assert_choice_type(types::one_frame, type_, "subframeAllocation2"); return c.get >(); } fixed_bitstring<8>& four_frames() { - assert_choice_type("fourFrames", type_.to_string(), "subframeAllocation2"); + assert_choice_type(types::four_frames, type_, "subframeAllocation2"); return c.get >(); } const fixed_bitstring<2>& one_frame() const { - assert_choice_type("oneFrame", type_.to_string(), "subframeAllocation2"); + assert_choice_type(types::one_frame, type_, "subframeAllocation2"); return c.get >(); } const fixed_bitstring<8>& four_frames() const { - assert_choice_type("fourFrames", type_.to_string(), "subframeAllocation2"); + assert_choice_type(types::four_frames, type_, "subframeAllocation2"); return c.get >(); } fixed_bitstring<2>& set_one_frame(); @@ -18428,22 +18428,22 @@ struct srs_carrier_switching_s { // getters type_a_l_& type_a() { - assert_choice_type("typeA", type_.to_string(), "srs-TPC-PDCCH-Group"); + assert_choice_type(types::type_a, type_, "srs-TPC-PDCCH-Group"); return c.get(); } srs_tpc_pdcch_cfg_s& type_b() { - assert_choice_type("typeB", type_.to_string(), "srs-TPC-PDCCH-Group"); + assert_choice_type(types::type_b, type_, "srs-TPC-PDCCH-Group"); return c.get(); } const type_a_l_& type_a() const { - assert_choice_type("typeA", type_.to_string(), "srs-TPC-PDCCH-Group"); + assert_choice_type(types::type_a, type_, "srs-TPC-PDCCH-Group"); return c.get(); } const srs_tpc_pdcch_cfg_s& type_b() const { - assert_choice_type("typeB", type_.to_string(), "srs-TPC-PDCCH-Group"); + assert_choice_type(types::type_b, type_, "srs-TPC-PDCCH-Group"); return c.get(); } type_a_l_& set_type_a(); @@ -18717,12 +18717,12 @@ struct tdd_ul_dl_slot_cfg_s { // getters explicit_s_& explicit_type() { - assert_choice_type("explicit", type_.to_string(), "symbols"); + assert_choice_type(types::explicit_type, type_, "symbols"); return c; } const explicit_s_& explicit_type() const { - assert_choice_type("explicit", type_.to_string(), "symbols"); + assert_choice_type(types::explicit_type, type_, "symbols"); return c; } void set_all_dl(); @@ -18788,22 +18788,22 @@ struct cross_carrier_sched_cfg_s { // getters own_s_& own() { - assert_choice_type("own", type_.to_string(), "schedulingCellInfo"); + assert_choice_type(types::own, type_, "schedulingCellInfo"); return c.get(); } other_s_& other() { - assert_choice_type("other", type_.to_string(), "schedulingCellInfo"); + assert_choice_type(types::other, type_, "schedulingCellInfo"); return c.get(); } const own_s_& own() const { - assert_choice_type("own", type_.to_string(), "schedulingCellInfo"); + assert_choice_type(types::own, type_, "schedulingCellInfo"); return c.get(); } const other_s_& other() const { - assert_choice_type("other", type_.to_string(), "schedulingCellInfo"); + assert_choice_type(types::other, type_, "schedulingCellInfo"); return c.get(); } own_s_& set_own(); @@ -18984,32 +18984,32 @@ struct serving_cell_cfg_common_s { // getters fixed_bitstring<4>& short_bitmap() { - assert_choice_type("shortBitmap", type_.to_string(), "ssb-PositionsInBurst"); + assert_choice_type(types::short_bitmap, type_, "ssb-PositionsInBurst"); return c.get >(); } fixed_bitstring<8>& medium_bitmap() { - assert_choice_type("mediumBitmap", type_.to_string(), "ssb-PositionsInBurst"); + assert_choice_type(types::medium_bitmap, type_, "ssb-PositionsInBurst"); return c.get >(); } fixed_bitstring<64>& long_bitmap() { - assert_choice_type("longBitmap", type_.to_string(), "ssb-PositionsInBurst"); + assert_choice_type(types::long_bitmap, type_, "ssb-PositionsInBurst"); return c.get >(); } const fixed_bitstring<4>& short_bitmap() const { - assert_choice_type("shortBitmap", type_.to_string(), "ssb-PositionsInBurst"); + assert_choice_type(types::short_bitmap, type_, "ssb-PositionsInBurst"); return c.get >(); } const fixed_bitstring<8>& medium_bitmap() const { - assert_choice_type("mediumBitmap", type_.to_string(), "ssb-PositionsInBurst"); + assert_choice_type(types::medium_bitmap, type_, "ssb-PositionsInBurst"); return c.get >(); } const fixed_bitstring<64>& long_bitmap() const { - assert_choice_type("longBitmap", type_.to_string(), "ssb-PositionsInBurst"); + assert_choice_type(types::long_bitmap, type_, "ssb-PositionsInBurst"); return c.get >(); } fixed_bitstring<4>& set_short_bitmap(); @@ -19319,22 +19319,22 @@ struct drx_cfg_s { // getters uint8_t& sub_milli_seconds() { - assert_choice_type("subMilliSeconds", type_.to_string(), "drx-onDurationTimer"); + assert_choice_type(types::sub_milli_seconds, type_, "drx-onDurationTimer"); return c.get(); } milli_seconds_e_& milli_seconds() { - assert_choice_type("milliSeconds", type_.to_string(), "drx-onDurationTimer"); + assert_choice_type(types::milli_seconds, type_, "drx-onDurationTimer"); return c.get(); } const uint8_t& sub_milli_seconds() const { - assert_choice_type("subMilliSeconds", type_.to_string(), "drx-onDurationTimer"); + assert_choice_type(types::sub_milli_seconds, type_, "drx-onDurationTimer"); return c.get(); } const milli_seconds_e_& milli_seconds() const { - assert_choice_type("milliSeconds", type_.to_string(), "drx-onDurationTimer"); + assert_choice_type(types::milli_seconds, type_, "drx-onDurationTimer"); return c.get(); } uint8_t& set_sub_milli_seconds(); @@ -19517,202 +19517,202 @@ struct drx_cfg_s { // getters uint8_t& ms10() { - assert_choice_type("ms10", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms10, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms20() { - assert_choice_type("ms20", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms20, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms32() { - assert_choice_type("ms32", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms32, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms40() { - assert_choice_type("ms40", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms40, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms60() { - assert_choice_type("ms60", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms60, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms64() { - assert_choice_type("ms64", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms64, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms70() { - assert_choice_type("ms70", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms70, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms80() { - assert_choice_type("ms80", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms80, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms128() { - assert_choice_type("ms128", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms128, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms160() { - assert_choice_type("ms160", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms160, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms256() { - assert_choice_type("ms256", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms256, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms320() { - assert_choice_type("ms320", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms320, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms512() { - assert_choice_type("ms512", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms512, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms640() { - assert_choice_type("ms640", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms640, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms1024() { - assert_choice_type("ms1024", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms1024, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms1280() { - assert_choice_type("ms1280", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms1280, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms2048() { - assert_choice_type("ms2048", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms2048, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms2560() { - assert_choice_type("ms2560", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms2560, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms5120() { - assert_choice_type("ms5120", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms5120, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms10240() { - assert_choice_type("ms10240", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms10240, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms10() const { - assert_choice_type("ms10", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms10, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms20() const { - assert_choice_type("ms20", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms20, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms32() const { - assert_choice_type("ms32", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms32, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms40() const { - assert_choice_type("ms40", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms40, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms60() const { - assert_choice_type("ms60", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms60, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms64() const { - assert_choice_type("ms64", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms64, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms70() const { - assert_choice_type("ms70", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms70, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms80() const { - assert_choice_type("ms80", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms80, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms128() const { - assert_choice_type("ms128", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms128, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms160() const { - assert_choice_type("ms160", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms160, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms256() const { - assert_choice_type("ms256", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms256, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms320() const { - assert_choice_type("ms320", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms320, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms512() const { - assert_choice_type("ms512", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms512, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms640() const { - assert_choice_type("ms640", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms640, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms1024() const { - assert_choice_type("ms1024", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms1024, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms1280() const { - assert_choice_type("ms1280", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms1280, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms2048() const { - assert_choice_type("ms2048", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms2048, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms2560() const { - assert_choice_type("ms2560", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms2560, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms5120() const { - assert_choice_type("ms5120", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms5120, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms10240() const { - assert_choice_type("ms10240", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms10240, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& set_ms10(); @@ -20018,42 +20018,42 @@ struct rlc_cfg_c { // getters am_s_& am() { - assert_choice_type("am", type_.to_string(), "RLC-Config"); + assert_choice_type(types::am, type_, "RLC-Config"); return c.get(); } um_bi_dir_s_& um_bi_dir() { - assert_choice_type("um-Bi-Directional", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_bi_dir, type_, "RLC-Config"); return c.get(); } um_uni_dir_ul_s_& um_uni_dir_ul() { - assert_choice_type("um-Uni-Directional-UL", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_uni_dir_ul, type_, "RLC-Config"); return c.get(); } um_uni_dir_dl_s_& um_uni_dir_dl() { - assert_choice_type("um-Uni-Directional-DL", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_uni_dir_dl, type_, "RLC-Config"); return c.get(); } const am_s_& am() const { - assert_choice_type("am", type_.to_string(), "RLC-Config"); + assert_choice_type(types::am, type_, "RLC-Config"); return c.get(); } const um_bi_dir_s_& um_bi_dir() const { - assert_choice_type("um-Bi-Directional", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_bi_dir, type_, "RLC-Config"); return c.get(); } const um_uni_dir_ul_s_& um_uni_dir_ul() const { - assert_choice_type("um-Uni-Directional-UL", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_uni_dir_ul, type_, "RLC-Config"); return c.get(); } const um_uni_dir_dl_s_& um_uni_dir_dl() const { - assert_choice_type("um-Uni-Directional-DL", type_.to_string(), "RLC-Config"); + assert_choice_type(types::um_uni_dir_dl, type_, "RLC-Config"); return c.get(); } am_s_& set_am(); @@ -20149,22 +20149,22 @@ struct recfg_with_sync_s { // getters rach_cfg_ded_s& ul() { - assert_choice_type("uplink", type_.to_string(), "rach-ConfigDedicated"); + assert_choice_type(types::ul, type_, "rach-ConfigDedicated"); return c.get(); } rach_cfg_ded_s& supplementary_ul() { - assert_choice_type("supplementaryUplink", type_.to_string(), "rach-ConfigDedicated"); + assert_choice_type(types::supplementary_ul, type_, "rach-ConfigDedicated"); return c.get(); } const rach_cfg_ded_s& ul() const { - assert_choice_type("uplink", type_.to_string(), "rach-ConfigDedicated"); + assert_choice_type(types::ul, type_, "rach-ConfigDedicated"); return c.get(); } const rach_cfg_ded_s& supplementary_ul() const { - assert_choice_type("supplementaryUplink", type_.to_string(), "rach-ConfigDedicated"); + assert_choice_type(types::supplementary_ul, type_, "rach-ConfigDedicated"); return c.get(); } rach_cfg_ded_s& set_ul(); @@ -20460,22 +20460,22 @@ struct rlc_bearer_cfg_s { // getters uint8_t& srb_id() { - assert_choice_type("srb-Identity", type_.to_string(), "servedRadioBearer"); + assert_choice_type(types::srb_id, type_, "servedRadioBearer"); return c.get(); } uint8_t& drb_id() { - assert_choice_type("drb-Identity", type_.to_string(), "servedRadioBearer"); + assert_choice_type(types::drb_id, type_, "servedRadioBearer"); return c.get(); } const uint8_t& srb_id() const { - assert_choice_type("srb-Identity", type_.to_string(), "servedRadioBearer"); + assert_choice_type(types::srb_id, type_, "servedRadioBearer"); return c.get(); } const uint8_t& drb_id() const { - assert_choice_type("drb-Identity", type_.to_string(), "servedRadioBearer"); + assert_choice_type(types::drb_id, type_, "servedRadioBearer"); return c.get(); } uint8_t& set_srb_id(); @@ -20657,22 +20657,22 @@ struct feature_set_c { // getters eutra_s_& eutra() { - assert_choice_type("eutra", type_.to_string(), "FeatureSet"); + assert_choice_type(types::eutra, type_, "FeatureSet"); return c.get(); } nr_s_& nr() { - assert_choice_type("nr", type_.to_string(), "FeatureSet"); + assert_choice_type(types::nr, type_, "FeatureSet"); return c.get(); } const eutra_s_& eutra() const { - assert_choice_type("eutra", type_.to_string(), "FeatureSet"); + assert_choice_type(types::eutra, type_, "FeatureSet"); return c.get(); } const nr_s_& nr() const { - assert_choice_type("nr", type_.to_string(), "FeatureSet"); + assert_choice_type(types::nr, type_, "FeatureSet"); return c.get(); } eutra_s_& set_eutra(); @@ -21297,22 +21297,22 @@ struct supported_bw_c { // getters fr1_e_& fr1() { - assert_choice_type("fr1", type_.to_string(), "SupportedBandwidth"); + assert_choice_type(types::fr1, type_, "SupportedBandwidth"); return c.get(); } fr2_e_& fr2() { - assert_choice_type("fr2", type_.to_string(), "SupportedBandwidth"); + assert_choice_type(types::fr2, type_, "SupportedBandwidth"); return c.get(); } const fr1_e_& fr1() const { - assert_choice_type("fr1", type_.to_string(), "SupportedBandwidth"); + assert_choice_type(types::fr1, type_, "SupportedBandwidth"); return c.get(); } const fr2_e_& fr2() const { - assert_choice_type("fr2", type_.to_string(), "SupportedBandwidth"); + assert_choice_type(types::fr2, type_, "SupportedBandwidth"); return c.get(); } fr1_e_& set_fr1(); @@ -21637,22 +21637,22 @@ struct freq_band_info_c { // getters freq_band_info_eutra_s& band_info_eutra() { - assert_choice_type("bandInformationEUTRA", type_.to_string(), "FreqBandInformation"); + assert_choice_type(types::band_info_eutra, type_, "FreqBandInformation"); return c.get(); } freq_band_info_nr_s& band_info_nr() { - assert_choice_type("bandInformationNR", type_.to_string(), "FreqBandInformation"); + assert_choice_type(types::band_info_nr, type_, "FreqBandInformation"); return c.get(); } const freq_band_info_eutra_s& band_info_eutra() const { - assert_choice_type("bandInformationEUTRA", type_.to_string(), "FreqBandInformation"); + assert_choice_type(types::band_info_eutra, type_, "FreqBandInformation"); return c.get(); } const freq_band_info_nr_s& band_info_nr() const { - assert_choice_type("bandInformationNR", type_.to_string(), "FreqBandInformation"); + assert_choice_type(types::band_info_nr, type_, "FreqBandInformation"); return c.get(); } freq_band_info_eutra_s& set_band_info_eutra(); @@ -23315,202 +23315,202 @@ struct drx_info_s { // getters uint8_t& ms10() { - assert_choice_type("ms10", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms10, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms20() { - assert_choice_type("ms20", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms20, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms32() { - assert_choice_type("ms32", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms32, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms40() { - assert_choice_type("ms40", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms40, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms60() { - assert_choice_type("ms60", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms60, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms64() { - assert_choice_type("ms64", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms64, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms70() { - assert_choice_type("ms70", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms70, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms80() { - assert_choice_type("ms80", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms80, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms128() { - assert_choice_type("ms128", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms128, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& ms160() { - assert_choice_type("ms160", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms160, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms256() { - assert_choice_type("ms256", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms256, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms320() { - assert_choice_type("ms320", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms320, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms512() { - assert_choice_type("ms512", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms512, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms640() { - assert_choice_type("ms640", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms640, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms1024() { - assert_choice_type("ms1024", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms1024, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms1280() { - assert_choice_type("ms1280", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms1280, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms2048() { - assert_choice_type("ms2048", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms2048, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms2560() { - assert_choice_type("ms2560", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms2560, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms5120() { - assert_choice_type("ms5120", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms5120, type_, "drx-LongCycleStartOffset"); return c.get(); } uint16_t& ms10240() { - assert_choice_type("ms10240", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms10240, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms10() const { - assert_choice_type("ms10", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms10, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms20() const { - assert_choice_type("ms20", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms20, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms32() const { - assert_choice_type("ms32", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms32, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms40() const { - assert_choice_type("ms40", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms40, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms60() const { - assert_choice_type("ms60", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms60, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms64() const { - assert_choice_type("ms64", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms64, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms70() const { - assert_choice_type("ms70", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms70, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms80() const { - assert_choice_type("ms80", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms80, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms128() const { - assert_choice_type("ms128", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms128, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint8_t& ms160() const { - assert_choice_type("ms160", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms160, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms256() const { - assert_choice_type("ms256", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms256, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms320() const { - assert_choice_type("ms320", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms320, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms512() const { - assert_choice_type("ms512", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms512, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms640() const { - assert_choice_type("ms640", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms640, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms1024() const { - assert_choice_type("ms1024", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms1024, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms1280() const { - assert_choice_type("ms1280", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms1280, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms2048() const { - assert_choice_type("ms2048", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms2048, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms2560() const { - assert_choice_type("ms2560", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms2560, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms5120() const { - assert_choice_type("ms5120", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms5120, type_, "drx-LongCycleStartOffset"); return c.get(); } const uint16_t& ms10240() const { - assert_choice_type("ms10240", type_.to_string(), "drx-LongCycleStartOffset"); + assert_choice_type(types::ms10240, type_, "drx-LongCycleStartOffset"); return c.get(); } uint8_t& set_ms10(); @@ -23669,12 +23669,12 @@ struct cg_cfg_s { // getters cg_cfg_ies_s& cg_cfg() { - assert_choice_type("cg-Config", type_.to_string(), "c1"); + assert_choice_type(types::cg_cfg, type_, "c1"); return c; } const cg_cfg_ies_s& cg_cfg() const { - assert_choice_type("cg-Config", type_.to_string(), "c1"); + assert_choice_type(types::cg_cfg, type_, "c1"); return c; } cg_cfg_ies_s& set_cg_cfg(); @@ -23705,12 +23705,12 @@ struct cg_cfg_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -24001,12 +24001,12 @@ struct cg_cfg_info_s { // getters cg_cfg_info_ies_s& cg_cfg_info() { - assert_choice_type("cg-ConfigInfo", type_.to_string(), "c1"); + assert_choice_type(types::cg_cfg_info, type_, "c1"); return c; } const cg_cfg_info_ies_s& cg_cfg_info() const { - assert_choice_type("cg-ConfigInfo", type_.to_string(), "c1"); + assert_choice_type(types::cg_cfg_info, type_, "c1"); return c; } cg_cfg_info_ies_s& set_cg_cfg_info(); @@ -24037,12 +24037,12 @@ struct cg_cfg_info_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -24083,22 +24083,22 @@ struct cells_triggered_list_item_c_ { // getters uint16_t& pci() { - assert_choice_type("physCellId", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci, type_, "CellsTriggeredList-item"); return c.get(); } uint16_t& pci_eutra() { - assert_choice_type("physCellIdEUTRA", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_eutra, type_, "CellsTriggeredList-item"); return c.get(); } const uint16_t& pci() const { - assert_choice_type("physCellId", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci, type_, "CellsTriggeredList-item"); return c.get(); } const uint16_t& pci_eutra() const { - assert_choice_type("physCellIdEUTRA", type_.to_string(), "CellsTriggeredList-item"); + assert_choice_type(types::pci_eutra, type_, "CellsTriggeredList-item"); return c.get(); } uint16_t& set_pci(); @@ -24146,12 +24146,12 @@ struct ho_cmd_s { // getters ho_cmd_ies_s& ho_cmd() { - assert_choice_type("handoverCommand", type_.to_string(), "c1"); + assert_choice_type(types::ho_cmd, type_, "c1"); return c; } const ho_cmd_ies_s& ho_cmd() const { - assert_choice_type("handoverCommand", type_.to_string(), "c1"); + assert_choice_type(types::ho_cmd, type_, "c1"); return c; } ho_cmd_ies_s& set_ho_cmd(); @@ -24182,12 +24182,12 @@ struct ho_cmd_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -24336,12 +24336,12 @@ struct ho_prep_info_s { // getters ho_prep_info_ies_s& ho_prep_info() { - assert_choice_type("handoverPreparationInformation", type_.to_string(), "c1"); + assert_choice_type(types::ho_prep_info, type_, "c1"); return c; } const ho_prep_info_ies_s& ho_prep_info() const { - assert_choice_type("handoverPreparationInformation", type_.to_string(), "c1"); + assert_choice_type(types::ho_prep_info, type_, "c1"); return c; } ho_prep_info_ies_s& set_ho_prep_info(); @@ -24372,12 +24372,12 @@ struct ho_prep_info_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -24472,12 +24472,12 @@ struct meas_timing_cfg_s { // getters meas_timing_cfg_ies_s& meas_timing_conf() { - assert_choice_type("measTimingConf", type_.to_string(), "c1"); + assert_choice_type(types::meas_timing_conf, type_, "c1"); return c; } const meas_timing_cfg_ies_s& meas_timing_conf() const { - assert_choice_type("measTimingConf", type_.to_string(), "c1"); + assert_choice_type(types::meas_timing_conf, type_, "c1"); return c; } meas_timing_cfg_ies_s& set_meas_timing_conf(); @@ -24508,12 +24508,12 @@ struct meas_timing_cfg_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -24575,12 +24575,12 @@ struct ue_radio_access_cap_info_s { // getters ue_radio_access_cap_info_ies_s& ue_radio_access_cap_info() { - assert_choice_type("ueRadioAccessCapabilityInformation", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_access_cap_info, type_, "c1"); return c; } const ue_radio_access_cap_info_ies_s& ue_radio_access_cap_info() const { - assert_choice_type("ueRadioAccessCapabilityInformation", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_access_cap_info, type_, "c1"); return c; } ue_radio_access_cap_info_ies_s& set_ue_radio_access_cap_info(); @@ -24615,12 +24615,12 @@ struct ue_radio_access_cap_info_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -24676,12 +24676,12 @@ struct ue_radio_paging_info_s { // getters ue_radio_paging_info_ies_s& ue_radio_paging_info() { - assert_choice_type("ueRadioPagingInformation", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_paging_info, type_, "c1"); return c; } const ue_radio_paging_info_ies_s& ue_radio_paging_info() const { - assert_choice_type("ueRadioPagingInformation", type_.to_string(), "c1"); + assert_choice_type(types::ue_radio_paging_info, type_, "c1"); return c; } ue_radio_paging_info_ies_s& set_ue_radio_paging_info(); @@ -24716,12 +24716,12 @@ struct ue_radio_paging_info_s { // getters c1_c_& c1() { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } const c1_c_& c1() const { - assert_choice_type("c1", type_.to_string(), "criticalExtensions"); + assert_choice_type(types::c1, type_, "criticalExtensions"); return c; } c1_c_& set_c1(); @@ -24764,22 +24764,22 @@ struct var_meas_cfg_s { // getters uint8_t& ssb_rsrp() { - assert_choice_type("ssb-RSRP", type_.to_string(), "s-MeasureConfig"); + assert_choice_type(types::ssb_rsrp, type_, "s-MeasureConfig"); return c.get(); } uint8_t& csi_rsrp() { - assert_choice_type("csi-RSRP", type_.to_string(), "s-MeasureConfig"); + assert_choice_type(types::csi_rsrp, type_, "s-MeasureConfig"); return c.get(); } const uint8_t& ssb_rsrp() const { - assert_choice_type("ssb-RSRP", type_.to_string(), "s-MeasureConfig"); + assert_choice_type(types::ssb_rsrp, type_, "s-MeasureConfig"); return c.get(); } const uint8_t& csi_rsrp() const { - assert_choice_type("csi-RSRP", type_.to_string(), "s-MeasureConfig"); + assert_choice_type(types::csi_rsrp, type_, "s-MeasureConfig"); return c.get(); } uint8_t& set_ssb_rsrp(); diff --git a/lib/include/srsran/asn1/s1ap.h b/lib/include/srsran/asn1/s1ap.h index c2065de97..5c74f297c 100644 --- a/lib/include/srsran/asn1/s1ap.h +++ b/lib/include/srsran/asn1/s1ap.h @@ -463,12 +463,12 @@ struct private_ie_id_c { // getters uint32_t& local() { - assert_choice_type("local", type_.to_string(), "PrivateIE-ID"); + assert_choice_type(types::local, type_, "PrivateIE-ID"); return c; } const uint32_t& local() const { - assert_choice_type("local", type_.to_string(), "PrivateIE-ID"); + assert_choice_type(types::local, type_, "PrivateIE-ID"); return c; } uint32_t& set_local(); @@ -832,32 +832,32 @@ struct area_scope_of_mdt_c { // getters cell_based_mdt_s& cell_based() { - assert_choice_type("cellBased", type_.to_string(), "AreaScopeOfMDT"); + assert_choice_type(types::cell_based, type_, "AreaScopeOfMDT"); return c.get(); } ta_based_mdt_s& tabased() { - assert_choice_type("tABased", type_.to_string(), "AreaScopeOfMDT"); + assert_choice_type(types::tabased, type_, "AreaScopeOfMDT"); return c.get(); } tai_based_mdt_s& tai_based() { - assert_choice_type("tAIBased", type_.to_string(), "AreaScopeOfMDT"); + assert_choice_type(types::tai_based, type_, "AreaScopeOfMDT"); return c.get(); } const cell_based_mdt_s& cell_based() const { - assert_choice_type("cellBased", type_.to_string(), "AreaScopeOfMDT"); + assert_choice_type(types::cell_based, type_, "AreaScopeOfMDT"); return c.get(); } const ta_based_mdt_s& tabased() const { - assert_choice_type("tABased", type_.to_string(), "AreaScopeOfMDT"); + assert_choice_type(types::tabased, type_, "AreaScopeOfMDT"); return c.get(); } const tai_based_mdt_s& tai_based() const { - assert_choice_type("tAIBased", type_.to_string(), "AreaScopeOfMDT"); + assert_choice_type(types::tai_based, type_, "AreaScopeOfMDT"); return c.get(); } cell_based_mdt_s& set_cell_based(); @@ -982,42 +982,42 @@ struct area_scope_of_qmc_c { // getters cell_based_qmc_s& cell_based() { - assert_choice_type("cellBased", type_.to_string(), "AreaScopeOfQMC"); + assert_choice_type(types::cell_based, type_, "AreaScopeOfQMC"); return c.get(); } ta_based_qmc_s& tabased() { - assert_choice_type("tABased", type_.to_string(), "AreaScopeOfQMC"); + assert_choice_type(types::tabased, type_, "AreaScopeOfQMC"); return c.get(); } tai_based_qmc_s& tai_based() { - assert_choice_type("tAIBased", type_.to_string(), "AreaScopeOfQMC"); + assert_choice_type(types::tai_based, type_, "AreaScopeOfQMC"); return c.get(); } plmn_area_based_qmc_s& plmn_area_based() { - assert_choice_type("pLMNAreaBased", type_.to_string(), "AreaScopeOfQMC"); + assert_choice_type(types::plmn_area_based, type_, "AreaScopeOfQMC"); return c.get(); } const cell_based_qmc_s& cell_based() const { - assert_choice_type("cellBased", type_.to_string(), "AreaScopeOfQMC"); + assert_choice_type(types::cell_based, type_, "AreaScopeOfQMC"); return c.get(); } const ta_based_qmc_s& tabased() const { - assert_choice_type("tABased", type_.to_string(), "AreaScopeOfQMC"); + assert_choice_type(types::tabased, type_, "AreaScopeOfQMC"); return c.get(); } const tai_based_qmc_s& tai_based() const { - assert_choice_type("tAIBased", type_.to_string(), "AreaScopeOfQMC"); + assert_choice_type(types::tai_based, type_, "AreaScopeOfQMC"); return c.get(); } const plmn_area_based_qmc_s& plmn_area_based() const { - assert_choice_type("pLMNAreaBased", type_.to_string(), "AreaScopeOfQMC"); + assert_choice_type(types::plmn_area_based, type_, "AreaScopeOfQMC"); return c.get(); } cell_based_qmc_s& set_cell_based(); @@ -1603,32 +1603,32 @@ struct broadcast_cancelled_area_list_c { // getters cell_id_cancelled_l& cell_id_cancelled() { - assert_choice_type("cellID-Cancelled", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::cell_id_cancelled, type_, "BroadcastCancelledAreaList"); return c.get(); } tai_cancelled_l& tai_cancelled() { - assert_choice_type("tAI-Cancelled", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::tai_cancelled, type_, "BroadcastCancelledAreaList"); return c.get(); } emergency_area_id_cancelled_l& emergency_area_id_cancelled() { - assert_choice_type("emergencyAreaID-Cancelled", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::emergency_area_id_cancelled, type_, "BroadcastCancelledAreaList"); return c.get(); } const cell_id_cancelled_l& cell_id_cancelled() const { - assert_choice_type("cellID-Cancelled", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::cell_id_cancelled, type_, "BroadcastCancelledAreaList"); return c.get(); } const tai_cancelled_l& tai_cancelled() const { - assert_choice_type("tAI-Cancelled", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::tai_cancelled, type_, "BroadcastCancelledAreaList"); return c.get(); } const emergency_area_id_cancelled_l& emergency_area_id_cancelled() const { - assert_choice_type("emergencyAreaID-Cancelled", type_.to_string(), "BroadcastCancelledAreaList"); + assert_choice_type(types::emergency_area_id_cancelled, type_, "BroadcastCancelledAreaList"); return c.get(); } cell_id_cancelled_l& set_cell_id_cancelled(); @@ -1776,32 +1776,32 @@ struct broadcast_completed_area_list_c { // getters cell_id_broadcast_l& cell_id_broadcast() { - assert_choice_type("cellID-Broadcast", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::cell_id_broadcast, type_, "BroadcastCompletedAreaList"); return c.get(); } tai_broadcast_l& tai_broadcast() { - assert_choice_type("tAI-Broadcast", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::tai_broadcast, type_, "BroadcastCompletedAreaList"); return c.get(); } emergency_area_id_broadcast_l& emergency_area_id_broadcast() { - assert_choice_type("emergencyAreaID-Broadcast", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::emergency_area_id_broadcast, type_, "BroadcastCompletedAreaList"); return c.get(); } const cell_id_broadcast_l& cell_id_broadcast() const { - assert_choice_type("cellID-Broadcast", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::cell_id_broadcast, type_, "BroadcastCompletedAreaList"); return c.get(); } const tai_broadcast_l& tai_broadcast() const { - assert_choice_type("tAI-Broadcast", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::tai_broadcast, type_, "BroadcastCompletedAreaList"); return c.get(); } const emergency_area_id_broadcast_l& emergency_area_id_broadcast() const { - assert_choice_type("emergencyAreaID-Broadcast", type_.to_string(), "BroadcastCompletedAreaList"); + assert_choice_type(types::emergency_area_id_broadcast, type_, "BroadcastCompletedAreaList"); return c.get(); } cell_id_broadcast_l& set_cell_id_broadcast(); @@ -1955,42 +1955,42 @@ struct irat_cell_id_c { // getters unbounded_octstring& eutran() { - assert_choice_type("eUTRAN", type_.to_string(), "IRAT-Cell-ID"); + assert_choice_type(types::eutran, type_, "IRAT-Cell-ID"); return c.get >(); } unbounded_octstring& utran() { - assert_choice_type("uTRAN", type_.to_string(), "IRAT-Cell-ID"); + assert_choice_type(types::utran, type_, "IRAT-Cell-ID"); return c.get >(); } unbounded_octstring& geran() { - assert_choice_type("gERAN", type_.to_string(), "IRAT-Cell-ID"); + assert_choice_type(types::geran, type_, "IRAT-Cell-ID"); return c.get >(); } fixed_octstring<16, true>& ehrpd() { - assert_choice_type("eHRPD", type_.to_string(), "IRAT-Cell-ID"); + assert_choice_type(types::ehrpd, type_, "IRAT-Cell-ID"); return c.get >(); } const unbounded_octstring& eutran() const { - assert_choice_type("eUTRAN", type_.to_string(), "IRAT-Cell-ID"); + assert_choice_type(types::eutran, type_, "IRAT-Cell-ID"); return c.get >(); } const unbounded_octstring& utran() const { - assert_choice_type("uTRAN", type_.to_string(), "IRAT-Cell-ID"); + assert_choice_type(types::utran, type_, "IRAT-Cell-ID"); return c.get >(); } const unbounded_octstring& geran() const { - assert_choice_type("gERAN", type_.to_string(), "IRAT-Cell-ID"); + assert_choice_type(types::geran, type_, "IRAT-Cell-ID"); return c.get >(); } const fixed_octstring<16, true>& ehrpd() const { - assert_choice_type("eHRPD", type_.to_string(), "IRAT-Cell-ID"); + assert_choice_type(types::ehrpd, type_, "IRAT-Cell-ID"); return c.get >(); } unbounded_octstring& set_eutran(); @@ -2157,52 +2157,52 @@ struct cause_c { // getters cause_radio_network_e& radio_network() { - assert_choice_type("radioNetwork", type_.to_string(), "Cause"); + assert_choice_type(types::radio_network, type_, "Cause"); return c.get(); } cause_transport_e& transport() { - assert_choice_type("transport", type_.to_string(), "Cause"); + assert_choice_type(types::transport, type_, "Cause"); return c.get(); } cause_nas_e& nas() { - assert_choice_type("nas", type_.to_string(), "Cause"); + assert_choice_type(types::nas, type_, "Cause"); return c.get(); } cause_protocol_e& protocol() { - assert_choice_type("protocol", type_.to_string(), "Cause"); + assert_choice_type(types::protocol, type_, "Cause"); return c.get(); } cause_misc_e& misc() { - assert_choice_type("misc", type_.to_string(), "Cause"); + assert_choice_type(types::misc, type_, "Cause"); return c.get(); } const cause_radio_network_e& radio_network() const { - assert_choice_type("radioNetwork", type_.to_string(), "Cause"); + assert_choice_type(types::radio_network, type_, "Cause"); return c.get(); } const cause_transport_e& transport() const { - assert_choice_type("transport", type_.to_string(), "Cause"); + assert_choice_type(types::transport, type_, "Cause"); return c.get(); } const cause_nas_e& nas() const { - assert_choice_type("nas", type_.to_string(), "Cause"); + assert_choice_type(types::nas, type_, "Cause"); return c.get(); } const cause_protocol_e& protocol() const { - assert_choice_type("protocol", type_.to_string(), "Cause"); + assert_choice_type(types::protocol, type_, "Cause"); return c.get(); } const cause_misc_e& misc() const { - assert_choice_type("misc", type_.to_string(), "Cause"); + assert_choice_type(types::misc, type_, "Cause"); return c.get(); } cause_radio_network_e& set_radio_network(); @@ -2340,42 +2340,42 @@ struct cell_load_report_resp_c { // getters eutra_ncell_load_report_resp_s& eutran() { - assert_choice_type("eUTRAN", type_.to_string(), "CellLoadReportingResponse"); + assert_choice_type(types::eutran, type_, "CellLoadReportingResponse"); return c.get(); } unbounded_octstring& utran() { - assert_choice_type("uTRAN", type_.to_string(), "CellLoadReportingResponse"); + assert_choice_type(types::utran, type_, "CellLoadReportingResponse"); return c.get >(); } unbounded_octstring& geran() { - assert_choice_type("gERAN", type_.to_string(), "CellLoadReportingResponse"); + assert_choice_type(types::geran, type_, "CellLoadReportingResponse"); return c.get >(); } ehrpd_sector_load_report_resp_s& ehrpd() { - assert_choice_type("eHRPD", type_.to_string(), "CellLoadReportingResponse"); + assert_choice_type(types::ehrpd, type_, "CellLoadReportingResponse"); return c.get(); } const eutra_ncell_load_report_resp_s& eutran() const { - assert_choice_type("eUTRAN", type_.to_string(), "CellLoadReportingResponse"); + assert_choice_type(types::eutran, type_, "CellLoadReportingResponse"); return c.get(); } const unbounded_octstring& utran() const { - assert_choice_type("uTRAN", type_.to_string(), "CellLoadReportingResponse"); + assert_choice_type(types::utran, type_, "CellLoadReportingResponse"); return c.get >(); } const unbounded_octstring& geran() const { - assert_choice_type("gERAN", type_.to_string(), "CellLoadReportingResponse"); + assert_choice_type(types::geran, type_, "CellLoadReportingResponse"); return c.get >(); } const ehrpd_sector_load_report_resp_s& ehrpd() const { - assert_choice_type("eHRPD", type_.to_string(), "CellLoadReportingResponse"); + assert_choice_type(types::ehrpd, type_, "CellLoadReportingResponse"); return c.get(); } eutra_ncell_load_report_resp_s& set_eutran(); @@ -3073,42 +3073,42 @@ struct enb_id_c { // getters fixed_bitstring<20, false, true>& macro_enb_id() { - assert_choice_type("macroENB-ID", type_.to_string(), "ENB-ID"); + assert_choice_type(types::macro_enb_id, type_, "ENB-ID"); return c.get >(); } fixed_bitstring<28, false, true>& home_enb_id() { - assert_choice_type("homeENB-ID", type_.to_string(), "ENB-ID"); + assert_choice_type(types::home_enb_id, type_, "ENB-ID"); return c.get >(); } fixed_bitstring<18, false, true>& short_macro_enb_id() { - assert_choice_type("short-macroENB-ID", type_.to_string(), "ENB-ID"); + assert_choice_type(types::short_macro_enb_id, type_, "ENB-ID"); return c.get >(); } fixed_bitstring<21, false, true>& long_macro_enb_id() { - assert_choice_type("long-macroENB-ID", type_.to_string(), "ENB-ID"); + assert_choice_type(types::long_macro_enb_id, type_, "ENB-ID"); return c.get >(); } const fixed_bitstring<20, false, true>& macro_enb_id() const { - assert_choice_type("macroENB-ID", type_.to_string(), "ENB-ID"); + assert_choice_type(types::macro_enb_id, type_, "ENB-ID"); return c.get >(); } const fixed_bitstring<28, false, true>& home_enb_id() const { - assert_choice_type("homeENB-ID", type_.to_string(), "ENB-ID"); + assert_choice_type(types::home_enb_id, type_, "ENB-ID"); return c.get >(); } const fixed_bitstring<18, false, true>& short_macro_enb_id() const { - assert_choice_type("short-macroENB-ID", type_.to_string(), "ENB-ID"); + assert_choice_type(types::short_macro_enb_id, type_, "ENB-ID"); return c.get >(); } const fixed_bitstring<21, false, true>& long_macro_enb_id() const { - assert_choice_type("long-macroENB-ID", type_.to_string(), "ENB-ID"); + assert_choice_type(types::long_macro_enb_id, type_, "ENB-ID"); return c.get >(); } fixed_bitstring<20, false, true>& set_macro_enb_id(); @@ -3248,22 +3248,22 @@ struct global_ran_node_id_c { // getters gnb_s& gnb() { - assert_choice_type("gNB", type_.to_string(), "Global-RAN-NODE-ID"); + assert_choice_type(types::gnb, type_, "Global-RAN-NODE-ID"); return c.get(); } ng_enb_s& ng_enb() { - assert_choice_type("ng-eNB", type_.to_string(), "Global-RAN-NODE-ID"); + assert_choice_type(types::ng_enb, type_, "Global-RAN-NODE-ID"); return c.get(); } const gnb_s& gnb() const { - assert_choice_type("gNB", type_.to_string(), "Global-RAN-NODE-ID"); + assert_choice_type(types::gnb, type_, "Global-RAN-NODE-ID"); return c.get(); } const ng_enb_s& ng_enb() const { - assert_choice_type("ng-eNB", type_.to_string(), "Global-RAN-NODE-ID"); + assert_choice_type(types::ng_enb, type_, "Global-RAN-NODE-ID"); return c.get(); } gnb_s& set_gnb(); @@ -7122,22 +7122,22 @@ struct en_dcson_transfer_type_c { // getters en_dc_transfer_type_request_s& request() { - assert_choice_type("request", type_.to_string(), "EN-DCSONTransferType"); + assert_choice_type(types::request, type_, "EN-DCSONTransferType"); return c.get(); } en_dc_transfer_type_reply_s& reply() { - assert_choice_type("reply", type_.to_string(), "EN-DCSONTransferType"); + assert_choice_type(types::reply, type_, "EN-DCSONTransferType"); return c.get(); } const en_dc_transfer_type_request_s& request() const { - assert_choice_type("request", type_.to_string(), "EN-DCSONTransferType"); + assert_choice_type(types::request, type_, "EN-DCSONTransferType"); return c.get(); } const en_dc_transfer_type_reply_s& reply() const { - assert_choice_type("reply", type_.to_string(), "EN-DCSONTransferType"); + assert_choice_type(types::reply, type_, "EN-DCSONTransferType"); return c.get(); } en_dc_transfer_type_request_s& set_request(); @@ -7172,32 +7172,32 @@ struct son_info_c { // getters son_info_request_e& son_info_request() { - assert_choice_type("sONInformationRequest", type_.to_string(), "SONInformation"); + assert_choice_type(types::son_info_request, type_, "SONInformation"); return c.get(); } son_info_reply_s& son_info_reply() { - assert_choice_type("sONInformationReply", type_.to_string(), "SONInformation"); + assert_choice_type(types::son_info_reply, type_, "SONInformation"); return c.get(); } protocol_ie_single_container_s& son_info_ext() { - assert_choice_type("sONInformation-Extension", type_.to_string(), "SONInformation"); + assert_choice_type(types::son_info_ext, type_, "SONInformation"); return c.get >(); } const son_info_request_e& son_info_request() const { - assert_choice_type("sONInformationRequest", type_.to_string(), "SONInformation"); + assert_choice_type(types::son_info_request, type_, "SONInformation"); return c.get(); } const son_info_reply_s& son_info_reply() const { - assert_choice_type("sONInformationReply", type_.to_string(), "SONInformation"); + assert_choice_type(types::son_info_reply, type_, "SONInformation"); return c.get(); } const protocol_ie_single_container_s& son_info_ext() const { - assert_choice_type("sONInformation-Extension", type_.to_string(), "SONInformation"); + assert_choice_type(types::son_info_ext, type_, "SONInformation"); return c.get >(); } son_info_request_e& set_son_info_request(); @@ -7944,32 +7944,32 @@ struct rim_routing_address_c { // getters geran_cell_id_s& geran_cell_id() { - assert_choice_type("gERAN-Cell-ID", type_.to_string(), "RIMRoutingAddress"); + assert_choice_type(types::geran_cell_id, type_, "RIMRoutingAddress"); return c.get(); } target_rnc_id_s& target_rnc_id() { - assert_choice_type("targetRNC-ID", type_.to_string(), "RIMRoutingAddress"); + assert_choice_type(types::target_rnc_id, type_, "RIMRoutingAddress"); return c.get(); } fixed_octstring<16, true>& ehrpd_sector_id() { - assert_choice_type("eHRPD-Sector-ID", type_.to_string(), "RIMRoutingAddress"); + assert_choice_type(types::ehrpd_sector_id, type_, "RIMRoutingAddress"); return c.get >(); } const geran_cell_id_s& geran_cell_id() const { - assert_choice_type("gERAN-Cell-ID", type_.to_string(), "RIMRoutingAddress"); + assert_choice_type(types::geran_cell_id, type_, "RIMRoutingAddress"); return c.get(); } const target_rnc_id_s& target_rnc_id() const { - assert_choice_type("targetRNC-ID", type_.to_string(), "RIMRoutingAddress"); + assert_choice_type(types::target_rnc_id, type_, "RIMRoutingAddress"); return c.get(); } const fixed_octstring<16, true>& ehrpd_sector_id() const { - assert_choice_type("eHRPD-Sector-ID", type_.to_string(), "RIMRoutingAddress"); + assert_choice_type(types::ehrpd_sector_id, type_, "RIMRoutingAddress"); return c.get >(); } geran_cell_id_s& set_geran_cell_id(); @@ -9227,22 +9227,22 @@ struct meas_thres_a2_c { // getters uint8_t& thres_rsrp() { - assert_choice_type("threshold-RSRP", type_.to_string(), "MeasurementThresholdA2"); + assert_choice_type(types::thres_rsrp, type_, "MeasurementThresholdA2"); return c.get(); } uint8_t& thres_rsrq() { - assert_choice_type("threshold-RSRQ", type_.to_string(), "MeasurementThresholdA2"); + assert_choice_type(types::thres_rsrq, type_, "MeasurementThresholdA2"); return c.get(); } const uint8_t& thres_rsrp() const { - assert_choice_type("threshold-RSRP", type_.to_string(), "MeasurementThresholdA2"); + assert_choice_type(types::thres_rsrp, type_, "MeasurementThresholdA2"); return c.get(); } const uint8_t& thres_rsrq() const { - assert_choice_type("threshold-RSRQ", type_.to_string(), "MeasurementThresholdA2"); + assert_choice_type(types::thres_rsrq, type_, "MeasurementThresholdA2"); return c.get(); } uint8_t& set_thres_rsrp(); @@ -9674,32 +9674,32 @@ struct mdt_mode_c { // getters immediate_mdt_s& immediate_mdt() { - assert_choice_type("immediateMDT", type_.to_string(), "MDTMode"); + assert_choice_type(types::immediate_mdt, type_, "MDTMode"); return c.get(); } logged_mdt_s& logged_mdt() { - assert_choice_type("loggedMDT", type_.to_string(), "MDTMode"); + assert_choice_type(types::logged_mdt, type_, "MDTMode"); return c.get(); } protocol_ie_single_container_s& mdt_mode_ext() { - assert_choice_type("mDTMode-Extension", type_.to_string(), "MDTMode"); + assert_choice_type(types::mdt_mode_ext, type_, "MDTMode"); return c.get >(); } const immediate_mdt_s& immediate_mdt() const { - assert_choice_type("immediateMDT", type_.to_string(), "MDTMode"); + assert_choice_type(types::immediate_mdt, type_, "MDTMode"); return c.get(); } const logged_mdt_s& logged_mdt() const { - assert_choice_type("loggedMDT", type_.to_string(), "MDTMode"); + assert_choice_type(types::logged_mdt, type_, "MDTMode"); return c.get(); } const protocol_ie_single_container_s& mdt_mode_ext() const { - assert_choice_type("mDTMode-Extension", type_.to_string(), "MDTMode"); + assert_choice_type(types::mdt_mode_ext, type_, "MDTMode"); return c.get >(); } immediate_mdt_s& set_immediate_mdt(); @@ -10557,42 +10557,42 @@ struct target_id_c { // getters targetenb_id_s& targetenb_id() { - assert_choice_type("targeteNB-ID", type_.to_string(), "TargetID"); + assert_choice_type(types::targetenb_id, type_, "TargetID"); return c.get(); } target_rnc_id_s& target_rnc_id() { - assert_choice_type("targetRNC-ID", type_.to_string(), "TargetID"); + assert_choice_type(types::target_rnc_id, type_, "TargetID"); return c.get(); } cgi_s& cgi() { - assert_choice_type("cGI", type_.to_string(), "TargetID"); + assert_choice_type(types::cgi, type_, "TargetID"); return c.get(); } target_ng_ran_node_id_s& targetg_ng_ran_node_id() { - assert_choice_type("targetgNgRanNode-ID", type_.to_string(), "TargetID"); + assert_choice_type(types::targetg_ng_ran_node_id, type_, "TargetID"); return c.get(); } const targetenb_id_s& targetenb_id() const { - assert_choice_type("targeteNB-ID", type_.to_string(), "TargetID"); + assert_choice_type(types::targetenb_id, type_, "TargetID"); return c.get(); } const target_rnc_id_s& target_rnc_id() const { - assert_choice_type("targetRNC-ID", type_.to_string(), "TargetID"); + assert_choice_type(types::target_rnc_id, type_, "TargetID"); return c.get(); } const cgi_s& cgi() const { - assert_choice_type("cGI", type_.to_string(), "TargetID"); + assert_choice_type(types::cgi, type_, "TargetID"); return c.get(); } const target_ng_ran_node_id_s& targetg_ng_ran_node_id() const { - assert_choice_type("targetgNgRanNode-ID", type_.to_string(), "TargetID"); + assert_choice_type(types::targetg_ng_ran_node_id, type_, "TargetID"); return c.get(); } targetenb_id_s& set_targetenb_id(); @@ -10758,22 +10758,22 @@ struct mme_paging_target_c { // getters global_enb_id_s& global_enb_id() { - assert_choice_type("global-ENB-ID", type_.to_string(), "MMEPagingTarget"); + assert_choice_type(types::global_enb_id, type_, "MMEPagingTarget"); return c.get(); } tai_s& tai() { - assert_choice_type("tAI", type_.to_string(), "MMEPagingTarget"); + assert_choice_type(types::tai, type_, "MMEPagingTarget"); return c.get(); } const global_enb_id_s& global_enb_id() const { - assert_choice_type("global-ENB-ID", type_.to_string(), "MMEPagingTarget"); + assert_choice_type(types::global_enb_id, type_, "MMEPagingTarget"); return c.get(); } const tai_s& tai() const { - assert_choice_type("tAI", type_.to_string(), "MMEPagingTarget"); + assert_choice_type(types::tai, type_, "MMEPagingTarget"); return c.get(); } global_enb_id_s& set_global_enb_id(); @@ -12048,22 +12048,22 @@ struct reset_type_c { // getters reset_all_e& s1_interface() { - assert_choice_type("s1-Interface", type_.to_string(), "ResetType"); + assert_choice_type(types::s1_interface, type_, "ResetType"); return c.get(); } ue_associated_lc_s1_conn_list_res_l& part_of_s1_interface() { - assert_choice_type("partOfS1-Interface", type_.to_string(), "ResetType"); + assert_choice_type(types::part_of_s1_interface, type_, "ResetType"); return c.get(); } const reset_all_e& s1_interface() const { - assert_choice_type("s1-Interface", type_.to_string(), "ResetType"); + assert_choice_type(types::s1_interface, type_, "ResetType"); return c.get(); } const ue_associated_lc_s1_conn_list_res_l& part_of_s1_interface() const { - assert_choice_type("partOfS1-Interface", type_.to_string(), "ResetType"); + assert_choice_type(types::part_of_s1_interface, type_, "ResetType"); return c.get(); } reset_all_e& set_s1_interface(); @@ -12126,22 +12126,22 @@ struct ue_s1ap_ids_c { // getters ue_s1ap_id_pair_s& ue_s1ap_id_pair() { - assert_choice_type("uE-S1AP-ID-pair", type_.to_string(), "UE-S1AP-IDs"); + assert_choice_type(types::ue_s1ap_id_pair, type_, "UE-S1AP-IDs"); return c.get(); } uint64_t& mme_ue_s1ap_id() { - assert_choice_type("mME-UE-S1AP-ID", type_.to_string(), "UE-S1AP-IDs"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "UE-S1AP-IDs"); return c.get(); } const ue_s1ap_id_pair_s& ue_s1ap_id_pair() const { - assert_choice_type("uE-S1AP-ID-pair", type_.to_string(), "UE-S1AP-IDs"); + assert_choice_type(types::ue_s1ap_id_pair, type_, "UE-S1AP-IDs"); return c.get(); } const uint64_t& mme_ue_s1ap_id() const { - assert_choice_type("mME-UE-S1AP-ID", type_.to_string(), "UE-S1AP-IDs"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "UE-S1AP-IDs"); return c.get(); } ue_s1ap_id_pair_s& set_ue_s1ap_id_pair(); @@ -12181,22 +12181,22 @@ struct ue_paging_id_c { // getters s_tmsi_s& s_tmsi() { - assert_choice_type("s-TMSI", type_.to_string(), "UEPagingID"); + assert_choice_type(types::s_tmsi, type_, "UEPagingID"); return c.get(); } bounded_octstring<3, 8, true>& imsi() { - assert_choice_type("iMSI", type_.to_string(), "UEPagingID"); + assert_choice_type(types::imsi, type_, "UEPagingID"); return c.get >(); } const s_tmsi_s& s_tmsi() const { - assert_choice_type("s-TMSI", type_.to_string(), "UEPagingID"); + assert_choice_type(types::s_tmsi, type_, "UEPagingID"); return c.get(); } const bounded_octstring<3, 8, true>& imsi() const { - assert_choice_type("iMSI", type_.to_string(), "UEPagingID"); + assert_choice_type(types::imsi, type_, "UEPagingID"); return c.get >(); } s_tmsi_s& set_s_tmsi(); @@ -12239,32 +12239,32 @@ struct warning_area_list_c { // getters ecgi_list_l& cell_id_list() { - assert_choice_type("cellIDList", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::cell_id_list, type_, "WarningAreaList"); return c.get(); } tai_listfor_warning_l& tracking_area_listfor_warning() { - assert_choice_type("trackingAreaListforWarning", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::tracking_area_listfor_warning, type_, "WarningAreaList"); return c.get(); } emergency_area_id_list_l& emergency_area_id_list() { - assert_choice_type("emergencyAreaIDList", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::emergency_area_id_list, type_, "WarningAreaList"); return c.get(); } const ecgi_list_l& cell_id_list() const { - assert_choice_type("cellIDList", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::cell_id_list, type_, "WarningAreaList"); return c.get(); } const tai_listfor_warning_l& tracking_area_listfor_warning() const { - assert_choice_type("trackingAreaListforWarning", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::tracking_area_listfor_warning, type_, "WarningAreaList"); return c.get(); } const emergency_area_id_list_l& emergency_area_id_list() const { - assert_choice_type("emergencyAreaIDList", type_.to_string(), "WarningAreaList"); + assert_choice_type(types::emergency_area_id_list, type_, "WarningAreaList"); return c.get(); } ecgi_list_l& set_cell_id_list(); @@ -17494,42 +17494,42 @@ struct last_visited_cell_item_c { // getters last_visited_eutran_cell_info_s& e_utran_cell() { - assert_choice_type("e-UTRAN-Cell", type_.to_string(), "LastVisitedCell-Item"); + assert_choice_type(types::e_utran_cell, type_, "LastVisitedCell-Item"); return c.get(); } unbounded_octstring& utran_cell() { - assert_choice_type("uTRAN-Cell", type_.to_string(), "LastVisitedCell-Item"); + assert_choice_type(types::utran_cell, type_, "LastVisitedCell-Item"); return c.get >(); } last_visited_geran_cell_info_c& geran_cell() { - assert_choice_type("gERAN-Cell", type_.to_string(), "LastVisitedCell-Item"); + assert_choice_type(types::geran_cell, type_, "LastVisitedCell-Item"); return c.get(); } unbounded_octstring& ng_ran_cell() { - assert_choice_type("nG-RAN-Cell", type_.to_string(), "LastVisitedCell-Item"); + assert_choice_type(types::ng_ran_cell, type_, "LastVisitedCell-Item"); return c.get >(); } const last_visited_eutran_cell_info_s& e_utran_cell() const { - assert_choice_type("e-UTRAN-Cell", type_.to_string(), "LastVisitedCell-Item"); + assert_choice_type(types::e_utran_cell, type_, "LastVisitedCell-Item"); return c.get(); } const unbounded_octstring& utran_cell() const { - assert_choice_type("uTRAN-Cell", type_.to_string(), "LastVisitedCell-Item"); + assert_choice_type(types::utran_cell, type_, "LastVisitedCell-Item"); return c.get >(); } const last_visited_geran_cell_info_c& geran_cell() const { - assert_choice_type("gERAN-Cell", type_.to_string(), "LastVisitedCell-Item"); + assert_choice_type(types::geran_cell, type_, "LastVisitedCell-Item"); return c.get(); } const unbounded_octstring& ng_ran_cell() const { - assert_choice_type("nG-RAN-Cell", type_.to_string(), "LastVisitedCell-Item"); + assert_choice_type(types::ng_ran_cell, type_, "LastVisitedCell-Item"); return c.get >(); } last_visited_eutran_cell_info_s& set_e_utran_cell(); @@ -17581,42 +17581,42 @@ struct multi_cell_load_report_resp_item_c { // getters eutran_resp_s& eutran_resp() { - assert_choice_type("eUTRANResponse", type_.to_string(), "MultiCellLoadReportingResponse-Item"); + assert_choice_type(types::eutran_resp, type_, "MultiCellLoadReportingResponse-Item"); return c.get(); } unbounded_octstring& utran_resp() { - assert_choice_type("uTRANResponse", type_.to_string(), "MultiCellLoadReportingResponse-Item"); + assert_choice_type(types::utran_resp, type_, "MultiCellLoadReportingResponse-Item"); return c.get >(); } unbounded_octstring& geran_resp() { - assert_choice_type("gERANResponse", type_.to_string(), "MultiCellLoadReportingResponse-Item"); + assert_choice_type(types::geran_resp, type_, "MultiCellLoadReportingResponse-Item"); return c.get >(); } ehrpd_multi_sector_load_report_resp_item_s& ehrpd() { - assert_choice_type("eHRPD", type_.to_string(), "MultiCellLoadReportingResponse-Item"); + assert_choice_type(types::ehrpd, type_, "MultiCellLoadReportingResponse-Item"); return c.get(); } const eutran_resp_s& eutran_resp() const { - assert_choice_type("eUTRANResponse", type_.to_string(), "MultiCellLoadReportingResponse-Item"); + assert_choice_type(types::eutran_resp, type_, "MultiCellLoadReportingResponse-Item"); return c.get(); } const unbounded_octstring& utran_resp() const { - assert_choice_type("uTRANResponse", type_.to_string(), "MultiCellLoadReportingResponse-Item"); + assert_choice_type(types::utran_resp, type_, "MultiCellLoadReportingResponse-Item"); return c.get >(); } const unbounded_octstring& geran_resp() const { - assert_choice_type("gERANResponse", type_.to_string(), "MultiCellLoadReportingResponse-Item"); + assert_choice_type(types::geran_resp, type_, "MultiCellLoadReportingResponse-Item"); return c.get >(); } const ehrpd_multi_sector_load_report_resp_item_s& ehrpd() const { - assert_choice_type("eHRPD", type_.to_string(), "MultiCellLoadReportingResponse-Item"); + assert_choice_type(types::ehrpd, type_, "MultiCellLoadReportingResponse-Item"); return c.get(); } eutran_resp_s& set_eutran_resp(); @@ -17701,32 +17701,32 @@ struct s1ap_pdu_c { // getters init_msg_s& init_msg() { - assert_choice_type("initiatingMessage", type_.to_string(), "S1AP-PDU"); + assert_choice_type(types::init_msg, type_, "S1AP-PDU"); return c.get(); } successful_outcome_s& successful_outcome() { - assert_choice_type("successfulOutcome", type_.to_string(), "S1AP-PDU"); + assert_choice_type(types::successful_outcome, type_, "S1AP-PDU"); return c.get(); } unsuccessful_outcome_s& unsuccessful_outcome() { - assert_choice_type("unsuccessfulOutcome", type_.to_string(), "S1AP-PDU"); + assert_choice_type(types::unsuccessful_outcome, type_, "S1AP-PDU"); return c.get(); } const init_msg_s& init_msg() const { - assert_choice_type("initiatingMessage", type_.to_string(), "S1AP-PDU"); + assert_choice_type(types::init_msg, type_, "S1AP-PDU"); return c.get(); } const successful_outcome_s& successful_outcome() const { - assert_choice_type("successfulOutcome", type_.to_string(), "S1AP-PDU"); + assert_choice_type(types::successful_outcome, type_, "S1AP-PDU"); return c.get(); } const unsuccessful_outcome_s& unsuccessful_outcome() const { - assert_choice_type("unsuccessfulOutcome", type_.to_string(), "S1AP-PDU"); + assert_choice_type(types::unsuccessful_outcome, type_, "S1AP-PDU"); return c.get(); } init_msg_s& set_init_msg(); @@ -17812,72 +17812,72 @@ struct so_ntransfer_cause_c { // getters cell_load_report_cause_e& cell_load_report() { - assert_choice_type("cellLoadReporting", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::cell_load_report, type_, "SONtransferCause"); return c.get(); } cell_load_report_cause_e& multi_cell_load_report() { - assert_choice_type("multiCellLoadReporting", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::multi_cell_load_report, type_, "SONtransferCause"); return c.get(); } cell_load_report_cause_e& event_triggered_cell_load_report() { - assert_choice_type("eventTriggeredCellLoadReporting", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::event_triggered_cell_load_report, type_, "SONtransferCause"); return c.get(); } ho_report_cause_e& horeport() { - assert_choice_type("hOReporting", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::horeport, type_, "SONtransferCause"); return c.get(); } cell_activation_cause_e& eutran_cell_activation() { - assert_choice_type("eutranCellActivation", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::eutran_cell_activation, type_, "SONtransferCause"); return c.get(); } cell_state_ind_cause_e& energy_savings_ind() { - assert_choice_type("energySavingsIndication", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::energy_savings_ind, type_, "SONtransferCause"); return c.get(); } fail_event_report_cause_e& fail_event_report() { - assert_choice_type("failureEventReporting", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::fail_event_report, type_, "SONtransferCause"); return c.get(); } const cell_load_report_cause_e& cell_load_report() const { - assert_choice_type("cellLoadReporting", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::cell_load_report, type_, "SONtransferCause"); return c.get(); } const cell_load_report_cause_e& multi_cell_load_report() const { - assert_choice_type("multiCellLoadReporting", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::multi_cell_load_report, type_, "SONtransferCause"); return c.get(); } const cell_load_report_cause_e& event_triggered_cell_load_report() const { - assert_choice_type("eventTriggeredCellLoadReporting", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::event_triggered_cell_load_report, type_, "SONtransferCause"); return c.get(); } const ho_report_cause_e& horeport() const { - assert_choice_type("hOReporting", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::horeport, type_, "SONtransferCause"); return c.get(); } const cell_activation_cause_e& eutran_cell_activation() const { - assert_choice_type("eutranCellActivation", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::eutran_cell_activation, type_, "SONtransferCause"); return c.get(); } const cell_state_ind_cause_e& energy_savings_ind() const { - assert_choice_type("energySavingsIndication", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::energy_savings_ind, type_, "SONtransferCause"); return c.get(); } const fail_event_report_cause_e& fail_event_report() const { - assert_choice_type("failureEventReporting", type_.to_string(), "SONtransferCause"); + assert_choice_type(types::fail_event_report, type_, "SONtransferCause"); return c.get(); } cell_load_report_cause_e& set_cell_load_report(); @@ -17927,62 +17927,62 @@ struct so_ntransfer_request_container_c { // getters multi_cell_load_report_request_s& multi_cell_load_report() { - assert_choice_type("multiCellLoadReporting", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::multi_cell_load_report, type_, "SONtransferRequestContainer"); return c.get(); } event_triggered_cell_load_report_request_s& event_triggered_cell_load_report() { - assert_choice_type("eventTriggeredCellLoadReporting", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::event_triggered_cell_load_report, type_, "SONtransferRequestContainer"); return c.get(); } ho_report_s& horeport() { - assert_choice_type("hOReporting", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::horeport, type_, "SONtransferRequestContainer"); return c.get(); } cell_activation_request_s& eutran_cell_activation() { - assert_choice_type("eutranCellActivation", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::eutran_cell_activation, type_, "SONtransferRequestContainer"); return c.get(); } cell_state_ind_s& energy_savings_ind() { - assert_choice_type("energySavingsIndication", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::energy_savings_ind, type_, "SONtransferRequestContainer"); return c.get(); } fail_event_report_c& fail_event_report() { - assert_choice_type("failureEventReporting", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::fail_event_report, type_, "SONtransferRequestContainer"); return c.get(); } const multi_cell_load_report_request_s& multi_cell_load_report() const { - assert_choice_type("multiCellLoadReporting", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::multi_cell_load_report, type_, "SONtransferRequestContainer"); return c.get(); } const event_triggered_cell_load_report_request_s& event_triggered_cell_load_report() const { - assert_choice_type("eventTriggeredCellLoadReporting", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::event_triggered_cell_load_report, type_, "SONtransferRequestContainer"); return c.get(); } const ho_report_s& horeport() const { - assert_choice_type("hOReporting", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::horeport, type_, "SONtransferRequestContainer"); return c.get(); } const cell_activation_request_s& eutran_cell_activation() const { - assert_choice_type("eutranCellActivation", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::eutran_cell_activation, type_, "SONtransferRequestContainer"); return c.get(); } const cell_state_ind_s& energy_savings_ind() const { - assert_choice_type("energySavingsIndication", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::energy_savings_ind, type_, "SONtransferRequestContainer"); return c.get(); } const fail_event_report_c& fail_event_report() const { - assert_choice_type("failureEventReporting", type_.to_string(), "SONtransferRequestContainer"); + assert_choice_type(types::fail_event_report, type_, "SONtransferRequestContainer"); return c.get(); } void set_cell_load_report(); @@ -18038,42 +18038,42 @@ struct so_ntransfer_resp_container_c { // getters cell_load_report_resp_c& cell_load_report() { - assert_choice_type("cellLoadReporting", type_.to_string(), "SONtransferResponseContainer"); + assert_choice_type(types::cell_load_report, type_, "SONtransferResponseContainer"); return c.get(); } multi_cell_load_report_resp_l& multi_cell_load_report() { - assert_choice_type("multiCellLoadReporting", type_.to_string(), "SONtransferResponseContainer"); + assert_choice_type(types::multi_cell_load_report, type_, "SONtransferResponseContainer"); return c.get(); } event_triggered_cell_load_report_resp_s& event_triggered_cell_load_report() { - assert_choice_type("eventTriggeredCellLoadReporting", type_.to_string(), "SONtransferResponseContainer"); + assert_choice_type(types::event_triggered_cell_load_report, type_, "SONtransferResponseContainer"); return c.get(); } cell_activation_resp_s& eutran_cell_activation() { - assert_choice_type("eutranCellActivation", type_.to_string(), "SONtransferResponseContainer"); + assert_choice_type(types::eutran_cell_activation, type_, "SONtransferResponseContainer"); return c.get(); } const cell_load_report_resp_c& cell_load_report() const { - assert_choice_type("cellLoadReporting", type_.to_string(), "SONtransferResponseContainer"); + assert_choice_type(types::cell_load_report, type_, "SONtransferResponseContainer"); return c.get(); } const multi_cell_load_report_resp_l& multi_cell_load_report() const { - assert_choice_type("multiCellLoadReporting", type_.to_string(), "SONtransferResponseContainer"); + assert_choice_type(types::multi_cell_load_report, type_, "SONtransferResponseContainer"); return c.get(); } const event_triggered_cell_load_report_resp_s& event_triggered_cell_load_report() const { - assert_choice_type("eventTriggeredCellLoadReporting", type_.to_string(), "SONtransferResponseContainer"); + assert_choice_type(types::event_triggered_cell_load_report, type_, "SONtransferResponseContainer"); return c.get(); } const cell_activation_resp_s& eutran_cell_activation() const { - assert_choice_type("eutranCellActivation", type_.to_string(), "SONtransferResponseContainer"); + assert_choice_type(types::eutran_cell_activation, type_, "SONtransferResponseContainer"); return c.get(); } cell_load_report_resp_c& set_cell_load_report(); diff --git a/lib/src/asn1/asn1_utils.cc b/lib/src/asn1/asn1_utils.cc index 21cb4b569..2e4b81259 100644 --- a/lib/src/asn1/asn1_utils.cc +++ b/lib/src/asn1/asn1_utils.cc @@ -32,18 +32,11 @@ void invalid_enum_number(int value, const char* name) void assert_choice_type(uint32_t val, uint32_t choice_id) { - if (val != choice_id) { + if (srsran_unlikely(val != choice_id)) { log_invalid_access_choice_id(val, choice_id); } } -void assert_choice_type(const char* access_type, const char* current_type, const char* choice_type) -{ - if (access_type != current_type) { - log_error("Invalid field access for choice type \"%s\" (\"%s\"!=\"%s\")", choice_type, access_type, current_type); - } -} - /************************ error handling ************************/ diff --git a/lib/src/asn1/ngap.cc b/lib/src/asn1/ngap.cc index 7b9fa57ca..f975d4f4e 100644 --- a/lib/src/asn1/ngap.cc +++ b/lib/src/asn1/ngap.cc @@ -1069,72 +1069,72 @@ amf_cfg_upd_ies_o::value_c& amf_cfg_upd_ies_o::value_c::operator=(const amf_cfg_ } printable_string<1, 150, true, true>& amf_cfg_upd_ies_o::value_c::amf_name() { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::amf_name, type_, "Value"); return c.get >(); } served_guami_list_l& amf_cfg_upd_ies_o::value_c::served_guami_list() { - assert_choice_type("ServedGUAMIList", type_.to_string(), "Value"); + assert_choice_type(types::served_guami_list, type_, "Value"); return c.get(); } uint16_t& amf_cfg_upd_ies_o::value_c::relative_amf_capacity() { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::relative_amf_capacity, type_, "Value"); return c.get(); } plmn_support_list_l& amf_cfg_upd_ies_o::value_c::plmn_support_list() { - assert_choice_type("PLMNSupportList", type_.to_string(), "Value"); + assert_choice_type(types::plmn_support_list, type_, "Value"); return c.get(); } amf_tnlassoc_to_add_list_l& amf_cfg_upd_ies_o::value_c::amf_tnlassoc_to_add_list() { - assert_choice_type("AMF-TNLAssociationToAddList", type_.to_string(), "Value"); + assert_choice_type(types::amf_tnlassoc_to_add_list, type_, "Value"); return c.get(); } amf_tnlassoc_to_rem_list_l& amf_cfg_upd_ies_o::value_c::amf_tnlassoc_to_rem_list() { - assert_choice_type("AMF-TNLAssociationToRemoveList", type_.to_string(), "Value"); + assert_choice_type(types::amf_tnlassoc_to_rem_list, type_, "Value"); return c.get(); } amf_tnlassoc_to_upd_list_l& amf_cfg_upd_ies_o::value_c::amf_tnlassoc_to_upd_list() { - assert_choice_type("AMF-TNLAssociationToUpdateList", type_.to_string(), "Value"); + assert_choice_type(types::amf_tnlassoc_to_upd_list, type_, "Value"); return c.get(); } const printable_string<1, 150, true, true>& amf_cfg_upd_ies_o::value_c::amf_name() const { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::amf_name, type_, "Value"); return c.get >(); } const served_guami_list_l& amf_cfg_upd_ies_o::value_c::served_guami_list() const { - assert_choice_type("ServedGUAMIList", type_.to_string(), "Value"); + assert_choice_type(types::served_guami_list, type_, "Value"); return c.get(); } const uint16_t& amf_cfg_upd_ies_o::value_c::relative_amf_capacity() const { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::relative_amf_capacity, type_, "Value"); return c.get(); } const plmn_support_list_l& amf_cfg_upd_ies_o::value_c::plmn_support_list() const { - assert_choice_type("PLMNSupportList", type_.to_string(), "Value"); + assert_choice_type(types::plmn_support_list, type_, "Value"); return c.get(); } const amf_tnlassoc_to_add_list_l& amf_cfg_upd_ies_o::value_c::amf_tnlassoc_to_add_list() const { - assert_choice_type("AMF-TNLAssociationToAddList", type_.to_string(), "Value"); + assert_choice_type(types::amf_tnlassoc_to_add_list, type_, "Value"); return c.get(); } const amf_tnlassoc_to_rem_list_l& amf_cfg_upd_ies_o::value_c::amf_tnlassoc_to_rem_list() const { - assert_choice_type("AMF-TNLAssociationToRemoveList", type_.to_string(), "Value"); + assert_choice_type(types::amf_tnlassoc_to_rem_list, type_, "Value"); return c.get(); } const amf_tnlassoc_to_upd_list_l& amf_cfg_upd_ies_o::value_c::amf_tnlassoc_to_upd_list() const { - assert_choice_type("AMF-TNLAssociationToUpdateList", type_.to_string(), "Value"); + assert_choice_type(types::amf_tnlassoc_to_upd_list, type_, "Value"); return c.get(); } void amf_cfg_upd_ies_o::value_c::to_json(json_writer& j) const @@ -2107,32 +2107,32 @@ amf_cfg_upd_ack_ies_o::value_c& amf_cfg_upd_ack_ies_o::value_c::operator=(const } amf_tnlassoc_setup_list_l& amf_cfg_upd_ack_ies_o::value_c::amf_tnlassoc_setup_list() { - assert_choice_type("AMF-TNLAssociationSetupList", type_.to_string(), "Value"); + assert_choice_type(types::amf_tnlassoc_setup_list, type_, "Value"); return c.get(); } tnlassoc_list_l& amf_cfg_upd_ack_ies_o::value_c::amf_tnlassoc_failed_to_setup_list() { - assert_choice_type("TNLAssociationList", type_.to_string(), "Value"); + assert_choice_type(types::amf_tnlassoc_failed_to_setup_list, type_, "Value"); return c.get(); } crit_diagnostics_s& amf_cfg_upd_ack_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const amf_tnlassoc_setup_list_l& amf_cfg_upd_ack_ies_o::value_c::amf_tnlassoc_setup_list() const { - assert_choice_type("AMF-TNLAssociationSetupList", type_.to_string(), "Value"); + assert_choice_type(types::amf_tnlassoc_setup_list, type_, "Value"); return c.get(); } const tnlassoc_list_l& amf_cfg_upd_ack_ies_o::value_c::amf_tnlassoc_failed_to_setup_list() const { - assert_choice_type("TNLAssociationList", type_.to_string(), "Value"); + assert_choice_type(types::amf_tnlassoc_failed_to_setup_list, type_, "Value"); return c.get(); } const crit_diagnostics_s& amf_cfg_upd_ack_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void amf_cfg_upd_ack_ies_o::value_c::to_json(json_writer& j) const @@ -2464,32 +2464,32 @@ amf_cfg_upd_fail_ies_o::value_c::operator=(const amf_cfg_upd_fail_ies_o::value_c } cause_c& amf_cfg_upd_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } time_to_wait_e& amf_cfg_upd_fail_ies_o::value_c::time_to_wait() { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } crit_diagnostics_s& amf_cfg_upd_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const cause_c& amf_cfg_upd_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const time_to_wait_e& amf_cfg_upd_fail_ies_o::value_c::time_to_wait() const { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } const crit_diagnostics_s& amf_cfg_upd_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void amf_cfg_upd_fail_ies_o::value_c::to_json(json_writer& j) const @@ -6804,53 +6804,53 @@ cell_traffic_trace_ies_o::value_c::operator=(const cell_traffic_trace_ies_o::val } uint64_t& cell_traffic_trace_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& cell_traffic_trace_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } fixed_octstring<8, true>& cell_traffic_trace_ies_o::value_c::ngran_trace_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ngran_trace_id, type_, "Value"); return c.get >(); } ngran_cgi_c& cell_traffic_trace_ies_o::value_c::ngran_cgi() { - assert_choice_type("NGRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::ngran_cgi, type_, "Value"); return c.get(); } bounded_bitstring<1, 160, true, true>& cell_traffic_trace_ies_o::value_c::trace_collection_entity_ip_address() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::trace_collection_entity_ip_address, type_, "Value"); return c.get >(); } const uint64_t& cell_traffic_trace_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& cell_traffic_trace_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const fixed_octstring<8, true>& cell_traffic_trace_ies_o::value_c::ngran_trace_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ngran_trace_id, type_, "Value"); return c.get >(); } const ngran_cgi_c& cell_traffic_trace_ies_o::value_c::ngran_cgi() const { - assert_choice_type("NGRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::ngran_cgi, type_, "Value"); return c.get(); } const bounded_bitstring<1, 160, true, true>& cell_traffic_trace_ies_o::value_c::trace_collection_entity_ip_address() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::trace_collection_entity_ip_address, type_, "Value"); return c.get >(); } void cell_traffic_trace_ies_o::value_c::to_json(json_writer& j) const @@ -8382,32 +8382,32 @@ deactiv_trace_ies_o::value_c& deactiv_trace_ies_o::value_c::operator=(const deac } uint64_t& deactiv_trace_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& deactiv_trace_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } fixed_octstring<8, true>& deactiv_trace_ies_o::value_c::ngran_trace_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ngran_trace_id, type_, "Value"); return c.get >(); } const uint64_t& deactiv_trace_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& deactiv_trace_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const fixed_octstring<8, true>& deactiv_trace_ies_o::value_c::ngran_trace_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ngran_trace_id, type_, "Value"); return c.get >(); } void deactiv_trace_ies_o::value_c::to_json(json_writer& j) const @@ -9154,92 +9154,92 @@ dl_nas_transport_ies_o::value_c::operator=(const dl_nas_transport_ies_o::value_c } uint64_t& dl_nas_transport_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& dl_nas_transport_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } printable_string<1, 150, true, true>& dl_nas_transport_ies_o::value_c::old_amf() { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::old_amf, type_, "Value"); return c.get >(); } uint16_t& dl_nas_transport_ies_o::value_c::ran_paging_prio() { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::ran_paging_prio, type_, "Value"); return c.get(); } unbounded_octstring& dl_nas_transport_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } mob_restrict_list_s& dl_nas_transport_ies_o::value_c::mob_restrict_list() { - assert_choice_type("MobilityRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::mob_restrict_list, type_, "Value"); return c.get(); } uint16_t& dl_nas_transport_ies_o::value_c::idx_to_rfsp() { - assert_choice_type("INTEGER (1..256,...)", type_.to_string(), "Value"); + assert_choice_type(types::idx_to_rfsp, type_, "Value"); return c.get(); } ue_aggregate_maximum_bit_rate_s& dl_nas_transport_ies_o::value_c::ue_aggregate_maximum_bit_rate() { - assert_choice_type("UEAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::ue_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } allowed_nssai_l& dl_nas_transport_ies_o::value_c::allowed_nssai() { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } const uint64_t& dl_nas_transport_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& dl_nas_transport_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const printable_string<1, 150, true, true>& dl_nas_transport_ies_o::value_c::old_amf() const { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::old_amf, type_, "Value"); return c.get >(); } const uint16_t& dl_nas_transport_ies_o::value_c::ran_paging_prio() const { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::ran_paging_prio, type_, "Value"); return c.get(); } const unbounded_octstring& dl_nas_transport_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const mob_restrict_list_s& dl_nas_transport_ies_o::value_c::mob_restrict_list() const { - assert_choice_type("MobilityRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::mob_restrict_list, type_, "Value"); return c.get(); } const uint16_t& dl_nas_transport_ies_o::value_c::idx_to_rfsp() const { - assert_choice_type("INTEGER (1..256,...)", type_.to_string(), "Value"); + assert_choice_type(types::idx_to_rfsp, type_, "Value"); return c.get(); } const ue_aggregate_maximum_bit_rate_s& dl_nas_transport_ies_o::value_c::ue_aggregate_maximum_bit_rate() const { - assert_choice_type("UEAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::ue_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } const allowed_nssai_l& dl_nas_transport_ies_o::value_c::allowed_nssai() const { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } void dl_nas_transport_ies_o::value_c::to_json(json_writer& j) const @@ -9686,22 +9686,22 @@ dl_non_ueassociated_nrp_pa_transport_ies_o::value_c& dl_non_ueassociated_nrp_pa_ } unbounded_octstring& dl_non_ueassociated_nrp_pa_transport_ies_o::value_c::routing_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get >(); } unbounded_octstring& dl_non_ueassociated_nrp_pa_transport_ies_o::value_c::nrp_pa_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nrp_pa_pdu, type_, "Value"); return c.get >(); } const unbounded_octstring& dl_non_ueassociated_nrp_pa_transport_ies_o::value_c::routing_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get >(); } const unbounded_octstring& dl_non_ueassociated_nrp_pa_transport_ies_o::value_c::nrp_pa_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nrp_pa_pdu, type_, "Value"); return c.get >(); } void dl_non_ueassociated_nrp_pa_transport_ies_o::value_c::to_json(json_writer& j) const @@ -10431,22 +10431,22 @@ dl_ran_cfg_transfer_ies_o::value_c::operator=(const dl_ran_cfg_transfer_ies_o::v } son_cfg_transfer_s& dl_ran_cfg_transfer_ies_o::value_c::son_cfg_transfer_dl() { - assert_choice_type("SONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::son_cfg_transfer_dl, type_, "Value"); return c.get(); } unbounded_octstring& dl_ran_cfg_transfer_ies_o::value_c::endc_son_cfg_transfer_dl() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::endc_son_cfg_transfer_dl, type_, "Value"); return c.get >(); } const son_cfg_transfer_s& dl_ran_cfg_transfer_ies_o::value_c::son_cfg_transfer_dl() const { - assert_choice_type("SONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::son_cfg_transfer_dl, type_, "Value"); return c.get(); } const unbounded_octstring& dl_ran_cfg_transfer_ies_o::value_c::endc_son_cfg_transfer_dl() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::endc_son_cfg_transfer_dl, type_, "Value"); return c.get >(); } void dl_ran_cfg_transfer_ies_o::value_c::to_json(json_writer& j) const @@ -10769,34 +10769,34 @@ dl_ran_status_transfer_ies_o::value_c::operator=(const dl_ran_status_transfer_ie } uint64_t& dl_ran_status_transfer_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& dl_ran_status_transfer_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } ran_status_transfer_transparent_container_s& dl_ran_status_transfer_ies_o::value_c::ran_status_transfer_transparent_container() { - assert_choice_type("RANStatusTransfer-TransparentContainer", type_.to_string(), "Value"); + assert_choice_type(types::ran_status_transfer_transparent_container, type_, "Value"); return c.get(); } const uint64_t& dl_ran_status_transfer_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& dl_ran_status_transfer_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const ran_status_transfer_transparent_container_s& dl_ran_status_transfer_ies_o::value_c::ran_status_transfer_transparent_container() const { - assert_choice_type("RANStatusTransfer-TransparentContainer", type_.to_string(), "Value"); + assert_choice_type(types::ran_status_transfer_transparent_container, type_, "Value"); return c.get(); } void dl_ran_status_transfer_ies_o::value_c::to_json(json_writer& j) const @@ -11115,42 +11115,42 @@ dl_ueassociated_nrp_pa_transport_ies_o::value_c::operator=(const dl_ueassociated } uint64_t& dl_ueassociated_nrp_pa_transport_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& dl_ueassociated_nrp_pa_transport_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } unbounded_octstring& dl_ueassociated_nrp_pa_transport_ies_o::value_c::routing_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get >(); } unbounded_octstring& dl_ueassociated_nrp_pa_transport_ies_o::value_c::nrp_pa_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nrp_pa_pdu, type_, "Value"); return c.get >(); } const uint64_t& dl_ueassociated_nrp_pa_transport_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& dl_ueassociated_nrp_pa_transport_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const unbounded_octstring& dl_ueassociated_nrp_pa_transport_ies_o::value_c::routing_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get >(); } const unbounded_octstring& dl_ueassociated_nrp_pa_transport_ies_o::value_c::nrp_pa_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nrp_pa_pdu, type_, "Value"); return c.get >(); } void dl_ueassociated_nrp_pa_transport_ies_o::value_c::to_json(json_writer& j) const @@ -11778,42 +11778,42 @@ error_ind_ies_o::value_c& error_ind_ies_o::value_c::operator=(const error_ind_ie } uint64_t& error_ind_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& error_ind_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } cause_c& error_ind_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& error_ind_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& error_ind_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& error_ind_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const cause_c& error_ind_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& error_ind_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void error_ind_ies_o::value_c::to_json(json_writer& j) const @@ -12273,32 +12273,32 @@ ho_cancel_ies_o::value_c& ho_cancel_ies_o::value_c::operator=(const ho_cancel_ie } uint64_t& ho_cancel_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ho_cancel_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } cause_c& ho_cancel_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const uint64_t& ho_cancel_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ho_cancel_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const cause_c& ho_cancel_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } void ho_cancel_ies_o::value_c::to_json(json_writer& j) const @@ -12594,32 +12594,32 @@ ho_cancel_ack_ies_o::value_c& ho_cancel_ack_ies_o::value_c::operator=(const ho_c } uint64_t& ho_cancel_ack_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ho_cancel_ack_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } crit_diagnostics_s& ho_cancel_ack_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ho_cancel_ack_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ho_cancel_ack_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const crit_diagnostics_s& ho_cancel_ack_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ho_cancel_ack_ies_o::value_c::to_json(json_writer& j) const @@ -13096,82 +13096,82 @@ ho_cmd_ies_o::value_c& ho_cmd_ies_o::value_c::operator=(const ho_cmd_ies_o::valu } uint64_t& ho_cmd_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ho_cmd_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } handov_type_e& ho_cmd_ies_o::value_c::handov_type() { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } unbounded_octstring& ho_cmd_ies_o::value_c::nas_security_params_from_ngran() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_security_params_from_ngran, type_, "Value"); return c.get >(); } pdu_session_res_ho_list_l& ho_cmd_ies_o::value_c::pdu_session_res_ho_list() { - assert_choice_type("PDUSessionResourceHandoverList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_ho_list, type_, "Value"); return c.get(); } pdu_session_res_to_release_list_ho_cmd_l& ho_cmd_ies_o::value_c::pdu_session_res_to_release_list_ho_cmd() { - assert_choice_type("PDUSessionResourceToReleaseListHOCmd", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_to_release_list_ho_cmd, type_, "Value"); return c.get(); } unbounded_octstring& ho_cmd_ies_o::value_c::target_to_source_transparent_container() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::target_to_source_transparent_container, type_, "Value"); return c.get >(); } crit_diagnostics_s& ho_cmd_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ho_cmd_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ho_cmd_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const handov_type_e& ho_cmd_ies_o::value_c::handov_type() const { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } const unbounded_octstring& ho_cmd_ies_o::value_c::nas_security_params_from_ngran() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_security_params_from_ngran, type_, "Value"); return c.get >(); } const pdu_session_res_ho_list_l& ho_cmd_ies_o::value_c::pdu_session_res_ho_list() const { - assert_choice_type("PDUSessionResourceHandoverList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_ho_list, type_, "Value"); return c.get(); } const pdu_session_res_to_release_list_ho_cmd_l& ho_cmd_ies_o::value_c::pdu_session_res_to_release_list_ho_cmd() const { - assert_choice_type("PDUSessionResourceToReleaseListHOCmd", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_to_release_list_ho_cmd, type_, "Value"); return c.get(); } const unbounded_octstring& ho_cmd_ies_o::value_c::target_to_source_transparent_container() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::target_to_source_transparent_container, type_, "Value"); return c.get >(); } const crit_diagnostics_s& ho_cmd_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ho_cmd_ies_o::value_c::to_json(json_writer& j) const @@ -13854,32 +13854,32 @@ ho_fail_ies_o::value_c& ho_fail_ies_o::value_c::operator=(const ho_fail_ies_o::v } uint64_t& ho_fail_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } cause_c& ho_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& ho_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ho_fail_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const cause_c& ho_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& ho_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ho_fail_ies_o::value_c::to_json(json_writer& j) const @@ -14528,32 +14528,32 @@ ho_notify_ies_o::value_c& ho_notify_ies_o::value_c::operator=(const ho_notify_ie } uint64_t& ho_notify_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ho_notify_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } user_location_info_c& ho_notify_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const uint64_t& ho_notify_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ho_notify_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const user_location_info_c& ho_notify_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } void ho_notify_ies_o::value_c::to_json(json_writer& j) const @@ -14868,42 +14868,42 @@ ho_prep_fail_ies_o::value_c& ho_prep_fail_ies_o::value_c::operator=(const ho_pre } uint64_t& ho_prep_fail_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ho_prep_fail_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } cause_c& ho_prep_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& ho_prep_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ho_prep_fail_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ho_prep_fail_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const cause_c& ho_prep_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& ho_prep_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ho_prep_fail_ies_o::value_c::to_json(json_writer& j) const @@ -15846,193 +15846,193 @@ ho_request_ies_o::value_c& ho_request_ies_o::value_c::operator=(const ho_request } uint64_t& ho_request_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } handov_type_e& ho_request_ies_o::value_c::handov_type() { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } cause_c& ho_request_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } ue_aggregate_maximum_bit_rate_s& ho_request_ies_o::value_c::ue_aggregate_maximum_bit_rate() { - assert_choice_type("UEAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::ue_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } core_network_assist_info_s& ho_request_ies_o::value_c::core_network_assist_info() { - assert_choice_type("CoreNetworkAssistanceInformation", type_.to_string(), "Value"); + assert_choice_type(types::core_network_assist_info, type_, "Value"); return c.get(); } ue_security_cap_s& ho_request_ies_o::value_c::ue_security_cap() { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } security_context_s& ho_request_ies_o::value_c::security_context() { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } new_security_context_ind_e& ho_request_ies_o::value_c::new_security_context_ind() { - assert_choice_type("NewSecurityContextInd", type_.to_string(), "Value"); + assert_choice_type(types::new_security_context_ind, type_, "Value"); return c.get(); } unbounded_octstring& ho_request_ies_o::value_c::nasc() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nasc, type_, "Value"); return c.get >(); } pdu_session_res_setup_list_ho_req_l& ho_request_ies_o::value_c::pdu_session_res_setup_list_ho_req() { - assert_choice_type("PDUSessionResourceSetupListHOReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_setup_list_ho_req, type_, "Value"); return c.get(); } allowed_nssai_l& ho_request_ies_o::value_c::allowed_nssai() { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } trace_activation_s& ho_request_ies_o::value_c::trace_activation() { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } fixed_bitstring<64, false, true>& ho_request_ies_o::value_c::masked_imeisv() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::masked_imeisv, type_, "Value"); return c.get >(); } unbounded_octstring& ho_request_ies_o::value_c::source_to_target_transparent_container() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::source_to_target_transparent_container, type_, "Value"); return c.get >(); } mob_restrict_list_s& ho_request_ies_o::value_c::mob_restrict_list() { - assert_choice_type("MobilityRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::mob_restrict_list, type_, "Value"); return c.get(); } location_report_request_type_s& ho_request_ies_o::value_c::location_report_request_type() { - assert_choice_type("LocationReportingRequestType", type_.to_string(), "Value"); + assert_choice_type(types::location_report_request_type, type_, "Value"); return c.get(); } rrc_inactive_transition_report_request_e& ho_request_ies_o::value_c::rrc_inactive_transition_report_request() { - assert_choice_type("RRCInactiveTransitionReportRequest", type_.to_string(), "Value"); + assert_choice_type(types::rrc_inactive_transition_report_request, type_, "Value"); return c.get(); } guami_s& ho_request_ies_o::value_c::guami() { - assert_choice_type("GUAMI", type_.to_string(), "Value"); + assert_choice_type(types::guami, type_, "Value"); return c.get(); } redirection_voice_fallback_e& ho_request_ies_o::value_c::redirection_voice_fallback() { - assert_choice_type("RedirectionVoiceFallback", type_.to_string(), "Value"); + assert_choice_type(types::redirection_voice_fallback, type_, "Value"); return c.get(); } const uint64_t& ho_request_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const handov_type_e& ho_request_ies_o::value_c::handov_type() const { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } const cause_c& ho_request_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const ue_aggregate_maximum_bit_rate_s& ho_request_ies_o::value_c::ue_aggregate_maximum_bit_rate() const { - assert_choice_type("UEAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::ue_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } const core_network_assist_info_s& ho_request_ies_o::value_c::core_network_assist_info() const { - assert_choice_type("CoreNetworkAssistanceInformation", type_.to_string(), "Value"); + assert_choice_type(types::core_network_assist_info, type_, "Value"); return c.get(); } const ue_security_cap_s& ho_request_ies_o::value_c::ue_security_cap() const { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } const security_context_s& ho_request_ies_o::value_c::security_context() const { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } const new_security_context_ind_e& ho_request_ies_o::value_c::new_security_context_ind() const { - assert_choice_type("NewSecurityContextInd", type_.to_string(), "Value"); + assert_choice_type(types::new_security_context_ind, type_, "Value"); return c.get(); } const unbounded_octstring& ho_request_ies_o::value_c::nasc() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nasc, type_, "Value"); return c.get >(); } const pdu_session_res_setup_list_ho_req_l& ho_request_ies_o::value_c::pdu_session_res_setup_list_ho_req() const { - assert_choice_type("PDUSessionResourceSetupListHOReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_setup_list_ho_req, type_, "Value"); return c.get(); } const allowed_nssai_l& ho_request_ies_o::value_c::allowed_nssai() const { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } const trace_activation_s& ho_request_ies_o::value_c::trace_activation() const { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } const fixed_bitstring<64, false, true>& ho_request_ies_o::value_c::masked_imeisv() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::masked_imeisv, type_, "Value"); return c.get >(); } const unbounded_octstring& ho_request_ies_o::value_c::source_to_target_transparent_container() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::source_to_target_transparent_container, type_, "Value"); return c.get >(); } const mob_restrict_list_s& ho_request_ies_o::value_c::mob_restrict_list() const { - assert_choice_type("MobilityRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::mob_restrict_list, type_, "Value"); return c.get(); } const location_report_request_type_s& ho_request_ies_o::value_c::location_report_request_type() const { - assert_choice_type("LocationReportingRequestType", type_.to_string(), "Value"); + assert_choice_type(types::location_report_request_type, type_, "Value"); return c.get(); } const rrc_inactive_transition_report_request_e& ho_request_ies_o::value_c::rrc_inactive_transition_report_request() const { - assert_choice_type("RRCInactiveTransitionReportRequest", type_.to_string(), "Value"); + assert_choice_type(types::rrc_inactive_transition_report_request, type_, "Value"); return c.get(); } const guami_s& ho_request_ies_o::value_c::guami() const { - assert_choice_type("GUAMI", type_.to_string(), "Value"); + assert_choice_type(types::guami, type_, "Value"); return c.get(); } const redirection_voice_fallback_e& ho_request_ies_o::value_c::redirection_voice_fallback() const { - assert_choice_type("RedirectionVoiceFallback", type_.to_string(), "Value"); + assert_choice_type(types::redirection_voice_fallback, type_, "Value"); return c.get(); } void ho_request_ies_o::value_c::to_json(json_writer& j) const @@ -16860,64 +16860,64 @@ ho_request_ack_ies_o::value_c& ho_request_ack_ies_o::value_c::operator=(const ho } uint64_t& ho_request_ack_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ho_request_ack_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_admitted_list_l& ho_request_ack_ies_o::value_c::pdu_session_res_admitted_list() { - assert_choice_type("PDUSessionResourceAdmittedList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_admitted_list, type_, "Value"); return c.get(); } pdu_session_res_failed_to_setup_list_ho_ack_l& ho_request_ack_ies_o::value_c::pdu_session_res_failed_to_setup_list_ho_ack() { - assert_choice_type("PDUSessionResourceFailedToSetupListHOAck", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_setup_list_ho_ack, type_, "Value"); return c.get(); } unbounded_octstring& ho_request_ack_ies_o::value_c::target_to_source_transparent_container() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::target_to_source_transparent_container, type_, "Value"); return c.get >(); } crit_diagnostics_s& ho_request_ack_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ho_request_ack_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ho_request_ack_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_admitted_list_l& ho_request_ack_ies_o::value_c::pdu_session_res_admitted_list() const { - assert_choice_type("PDUSessionResourceAdmittedList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_admitted_list, type_, "Value"); return c.get(); } const pdu_session_res_failed_to_setup_list_ho_ack_l& ho_request_ack_ies_o::value_c::pdu_session_res_failed_to_setup_list_ho_ack() const { - assert_choice_type("PDUSessionResourceFailedToSetupListHOAck", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_setup_list_ho_ack, type_, "Value"); return c.get(); } const unbounded_octstring& ho_request_ack_ies_o::value_c::target_to_source_transparent_container() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::target_to_source_transparent_container, type_, "Value"); return c.get >(); } const crit_diagnostics_s& ho_request_ack_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ho_request_ack_ies_o::value_c::to_json(json_writer& j) const @@ -17887,82 +17887,82 @@ ho_required_ies_o::value_c& ho_required_ies_o::value_c::operator=(const ho_requi } uint64_t& ho_required_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ho_required_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } handov_type_e& ho_required_ies_o::value_c::handov_type() { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } cause_c& ho_required_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } target_id_c& ho_required_ies_o::value_c::target_id() { - assert_choice_type("TargetID", type_.to_string(), "Value"); + assert_choice_type(types::target_id, type_, "Value"); return c.get(); } direct_forwarding_path_availability_e& ho_required_ies_o::value_c::direct_forwarding_path_availability() { - assert_choice_type("DirectForwardingPathAvailability", type_.to_string(), "Value"); + assert_choice_type(types::direct_forwarding_path_availability, type_, "Value"); return c.get(); } pdu_session_res_list_ho_rqd_l& ho_required_ies_o::value_c::pdu_session_res_list_ho_rqd() { - assert_choice_type("PDUSessionResourceListHORqd", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_list_ho_rqd, type_, "Value"); return c.get(); } unbounded_octstring& ho_required_ies_o::value_c::source_to_target_transparent_container() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::source_to_target_transparent_container, type_, "Value"); return c.get >(); } const uint64_t& ho_required_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ho_required_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const handov_type_e& ho_required_ies_o::value_c::handov_type() const { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } const cause_c& ho_required_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const target_id_c& ho_required_ies_o::value_c::target_id() const { - assert_choice_type("TargetID", type_.to_string(), "Value"); + assert_choice_type(types::target_id, type_, "Value"); return c.get(); } const direct_forwarding_path_availability_e& ho_required_ies_o::value_c::direct_forwarding_path_availability() const { - assert_choice_type("DirectForwardingPathAvailability", type_.to_string(), "Value"); + assert_choice_type(types::direct_forwarding_path_availability, type_, "Value"); return c.get(); } const pdu_session_res_list_ho_rqd_l& ho_required_ies_o::value_c::pdu_session_res_list_ho_rqd() const { - assert_choice_type("PDUSessionResourceListHORqd", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_list_ho_rqd, type_, "Value"); return c.get(); } const unbounded_octstring& ho_required_ies_o::value_c::source_to_target_transparent_container() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::source_to_target_transparent_container, type_, "Value"); return c.get >(); } void ho_required_ies_o::value_c::to_json(json_writer& j) const @@ -18661,54 +18661,54 @@ init_context_setup_fail_ies_o::value_c::operator=(const init_context_setup_fail_ } uint64_t& init_context_setup_fail_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& init_context_setup_fail_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_failed_to_setup_list_cxt_fail_l& init_context_setup_fail_ies_o::value_c::pdu_session_res_failed_to_setup_list_cxt_fail() { - assert_choice_type("PDUSessionResourceFailedToSetupListCxtFail", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_setup_list_cxt_fail, type_, "Value"); return c.get(); } cause_c& init_context_setup_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& init_context_setup_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& init_context_setup_fail_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& init_context_setup_fail_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_failed_to_setup_list_cxt_fail_l& init_context_setup_fail_ies_o::value_c::pdu_session_res_failed_to_setup_list_cxt_fail() const { - assert_choice_type("PDUSessionResourceFailedToSetupListCxtFail", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_setup_list_cxt_fail, type_, "Value"); return c.get(); } const cause_c& init_context_setup_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& init_context_setup_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void init_context_setup_fail_ies_o::value_c::to_json(json_writer& j) const @@ -19486,205 +19486,205 @@ init_context_setup_request_ies_o::value_c::operator=(const init_context_setup_re } uint64_t& init_context_setup_request_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& init_context_setup_request_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } printable_string<1, 150, true, true>& init_context_setup_request_ies_o::value_c::old_amf() { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::old_amf, type_, "Value"); return c.get >(); } ue_aggregate_maximum_bit_rate_s& init_context_setup_request_ies_o::value_c::ue_aggregate_maximum_bit_rate() { - assert_choice_type("UEAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::ue_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } core_network_assist_info_s& init_context_setup_request_ies_o::value_c::core_network_assist_info() { - assert_choice_type("CoreNetworkAssistanceInformation", type_.to_string(), "Value"); + assert_choice_type(types::core_network_assist_info, type_, "Value"); return c.get(); } guami_s& init_context_setup_request_ies_o::value_c::guami() { - assert_choice_type("GUAMI", type_.to_string(), "Value"); + assert_choice_type(types::guami, type_, "Value"); return c.get(); } pdu_session_res_setup_list_cxt_req_l& init_context_setup_request_ies_o::value_c::pdu_session_res_setup_list_cxt_req() { - assert_choice_type("PDUSessionResourceSetupListCxtReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_setup_list_cxt_req, type_, "Value"); return c.get(); } allowed_nssai_l& init_context_setup_request_ies_o::value_c::allowed_nssai() { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } ue_security_cap_s& init_context_setup_request_ies_o::value_c::ue_security_cap() { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } fixed_bitstring<256, false, true>& init_context_setup_request_ies_o::value_c::security_key() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::security_key, type_, "Value"); return c.get >(); } trace_activation_s& init_context_setup_request_ies_o::value_c::trace_activation() { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } mob_restrict_list_s& init_context_setup_request_ies_o::value_c::mob_restrict_list() { - assert_choice_type("MobilityRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::mob_restrict_list, type_, "Value"); return c.get(); } unbounded_octstring& init_context_setup_request_ies_o::value_c::ue_radio_cap() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } uint16_t& init_context_setup_request_ies_o::value_c::idx_to_rfsp() { - assert_choice_type("INTEGER (1..256,...)", type_.to_string(), "Value"); + assert_choice_type(types::idx_to_rfsp, type_, "Value"); return c.get(); } fixed_bitstring<64, false, true>& init_context_setup_request_ies_o::value_c::masked_imeisv() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::masked_imeisv, type_, "Value"); return c.get >(); } unbounded_octstring& init_context_setup_request_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } emergency_fallback_ind_s& init_context_setup_request_ies_o::value_c::emergency_fallback_ind() { - assert_choice_type("EmergencyFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::emergency_fallback_ind, type_, "Value"); return c.get(); } rrc_inactive_transition_report_request_e& init_context_setup_request_ies_o::value_c::rrc_inactive_transition_report_request() { - assert_choice_type("RRCInactiveTransitionReportRequest", type_.to_string(), "Value"); + assert_choice_type(types::rrc_inactive_transition_report_request, type_, "Value"); return c.get(); } ue_radio_cap_for_paging_s& init_context_setup_request_ies_o::value_c::ue_radio_cap_for_paging() { - assert_choice_type("UERadioCapabilityForPaging", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap_for_paging, type_, "Value"); return c.get(); } redirection_voice_fallback_e& init_context_setup_request_ies_o::value_c::redirection_voice_fallback() { - assert_choice_type("RedirectionVoiceFallback", type_.to_string(), "Value"); + assert_choice_type(types::redirection_voice_fallback, type_, "Value"); return c.get(); } const uint64_t& init_context_setup_request_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& init_context_setup_request_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const printable_string<1, 150, true, true>& init_context_setup_request_ies_o::value_c::old_amf() const { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::old_amf, type_, "Value"); return c.get >(); } const ue_aggregate_maximum_bit_rate_s& init_context_setup_request_ies_o::value_c::ue_aggregate_maximum_bit_rate() const { - assert_choice_type("UEAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::ue_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } const core_network_assist_info_s& init_context_setup_request_ies_o::value_c::core_network_assist_info() const { - assert_choice_type("CoreNetworkAssistanceInformation", type_.to_string(), "Value"); + assert_choice_type(types::core_network_assist_info, type_, "Value"); return c.get(); } const guami_s& init_context_setup_request_ies_o::value_c::guami() const { - assert_choice_type("GUAMI", type_.to_string(), "Value"); + assert_choice_type(types::guami, type_, "Value"); return c.get(); } const pdu_session_res_setup_list_cxt_req_l& init_context_setup_request_ies_o::value_c::pdu_session_res_setup_list_cxt_req() const { - assert_choice_type("PDUSessionResourceSetupListCxtReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_setup_list_cxt_req, type_, "Value"); return c.get(); } const allowed_nssai_l& init_context_setup_request_ies_o::value_c::allowed_nssai() const { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } const ue_security_cap_s& init_context_setup_request_ies_o::value_c::ue_security_cap() const { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } const fixed_bitstring<256, false, true>& init_context_setup_request_ies_o::value_c::security_key() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::security_key, type_, "Value"); return c.get >(); } const trace_activation_s& init_context_setup_request_ies_o::value_c::trace_activation() const { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } const mob_restrict_list_s& init_context_setup_request_ies_o::value_c::mob_restrict_list() const { - assert_choice_type("MobilityRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::mob_restrict_list, type_, "Value"); return c.get(); } const unbounded_octstring& init_context_setup_request_ies_o::value_c::ue_radio_cap() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } const uint16_t& init_context_setup_request_ies_o::value_c::idx_to_rfsp() const { - assert_choice_type("INTEGER (1..256,...)", type_.to_string(), "Value"); + assert_choice_type(types::idx_to_rfsp, type_, "Value"); return c.get(); } const fixed_bitstring<64, false, true>& init_context_setup_request_ies_o::value_c::masked_imeisv() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::masked_imeisv, type_, "Value"); return c.get >(); } const unbounded_octstring& init_context_setup_request_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const emergency_fallback_ind_s& init_context_setup_request_ies_o::value_c::emergency_fallback_ind() const { - assert_choice_type("EmergencyFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::emergency_fallback_ind, type_, "Value"); return c.get(); } const rrc_inactive_transition_report_request_e& init_context_setup_request_ies_o::value_c::rrc_inactive_transition_report_request() const { - assert_choice_type("RRCInactiveTransitionReportRequest", type_.to_string(), "Value"); + assert_choice_type(types::rrc_inactive_transition_report_request, type_, "Value"); return c.get(); } const ue_radio_cap_for_paging_s& init_context_setup_request_ies_o::value_c::ue_radio_cap_for_paging() const { - assert_choice_type("UERadioCapabilityForPaging", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap_for_paging, type_, "Value"); return c.get(); } const redirection_voice_fallback_e& init_context_setup_request_ies_o::value_c::redirection_voice_fallback() const { - assert_choice_type("RedirectionVoiceFallback", type_.to_string(), "Value"); + assert_choice_type(types::redirection_voice_fallback, type_, "Value"); return c.get(); } void init_context_setup_request_ies_o::value_c::to_json(json_writer& j) const @@ -20526,55 +20526,55 @@ init_context_setup_resp_ies_o::value_c::operator=(const init_context_setup_resp_ } uint64_t& init_context_setup_resp_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& init_context_setup_resp_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_setup_list_cxt_res_l& init_context_setup_resp_ies_o::value_c::pdu_session_res_setup_list_cxt_res() { - assert_choice_type("PDUSessionResourceSetupListCxtRes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_setup_list_cxt_res, type_, "Value"); return c.get(); } pdu_session_res_failed_to_setup_list_cxt_res_l& init_context_setup_resp_ies_o::value_c::pdu_session_res_failed_to_setup_list_cxt_res() { - assert_choice_type("PDUSessionResourceFailedToSetupListCxtRes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_setup_list_cxt_res, type_, "Value"); return c.get(); } crit_diagnostics_s& init_context_setup_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& init_context_setup_resp_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& init_context_setup_resp_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_setup_list_cxt_res_l& init_context_setup_resp_ies_o::value_c::pdu_session_res_setup_list_cxt_res() const { - assert_choice_type("PDUSessionResourceSetupListCxtRes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_setup_list_cxt_res, type_, "Value"); return c.get(); } const pdu_session_res_failed_to_setup_list_cxt_res_l& init_context_setup_resp_ies_o::value_c::pdu_session_res_failed_to_setup_list_cxt_res() const { - assert_choice_type("PDUSessionResourceFailedToSetupListCxtRes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_setup_list_cxt_res, type_, "Value"); return c.get(); } const crit_diagnostics_s& init_context_setup_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void init_context_setup_resp_ies_o::value_c::to_json(json_writer& j) const @@ -21052,82 +21052,82 @@ init_ue_msg_ies_o::value_c& init_ue_msg_ies_o::value_c::operator=(const init_ue_ } uint64_t& init_ue_msg_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } unbounded_octstring& init_ue_msg_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } user_location_info_c& init_ue_msg_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } rrcestablishment_cause_e& init_ue_msg_ies_o::value_c::rrcestablishment_cause() { - assert_choice_type("RRCEstablishmentCause", type_.to_string(), "Value"); + assert_choice_type(types::rrcestablishment_cause, type_, "Value"); return c.get(); } five_g_s_tmsi_s& init_ue_msg_ies_o::value_c::five_g_s_tmsi() { - assert_choice_type("FiveG-S-TMSI", type_.to_string(), "Value"); + assert_choice_type(types::five_g_s_tmsi, type_, "Value"); return c.get(); } fixed_bitstring<10, false, true>& init_ue_msg_ies_o::value_c::amf_set_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::amf_set_id, type_, "Value"); return c.get >(); } ue_context_request_e& init_ue_msg_ies_o::value_c::ue_context_request() { - assert_choice_type("UEContextRequest", type_.to_string(), "Value"); + assert_choice_type(types::ue_context_request, type_, "Value"); return c.get(); } allowed_nssai_l& init_ue_msg_ies_o::value_c::allowed_nssai() { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } const uint64_t& init_ue_msg_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const unbounded_octstring& init_ue_msg_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const user_location_info_c& init_ue_msg_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const rrcestablishment_cause_e& init_ue_msg_ies_o::value_c::rrcestablishment_cause() const { - assert_choice_type("RRCEstablishmentCause", type_.to_string(), "Value"); + assert_choice_type(types::rrcestablishment_cause, type_, "Value"); return c.get(); } const five_g_s_tmsi_s& init_ue_msg_ies_o::value_c::five_g_s_tmsi() const { - assert_choice_type("FiveG-S-TMSI", type_.to_string(), "Value"); + assert_choice_type(types::five_g_s_tmsi, type_, "Value"); return c.get(); } const fixed_bitstring<10, false, true>& init_ue_msg_ies_o::value_c::amf_set_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::amf_set_id, type_, "Value"); return c.get >(); } const ue_context_request_e& init_ue_msg_ies_o::value_c::ue_context_request() const { - assert_choice_type("UEContextRequest", type_.to_string(), "Value"); + assert_choice_type(types::ue_context_request, type_, "Value"); return c.get(); } const allowed_nssai_l& init_ue_msg_ies_o::value_c::allowed_nssai() const { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } void init_ue_msg_ies_o::value_c::to_json(json_writer& j) const @@ -24078,63 +24078,63 @@ location_report_ies_o::value_c& location_report_ies_o::value_c::operator=(const } uint64_t& location_report_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& location_report_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } user_location_info_c& location_report_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } ue_presence_in_area_of_interest_list_l& location_report_ies_o::value_c::ue_presence_in_area_of_interest_list() { - assert_choice_type("UEPresenceInAreaOfInterestList", type_.to_string(), "Value"); + assert_choice_type(types::ue_presence_in_area_of_interest_list, type_, "Value"); return c.get(); } location_report_request_type_s& location_report_ies_o::value_c::location_report_request_type() { - assert_choice_type("LocationReportingRequestType", type_.to_string(), "Value"); + assert_choice_type(types::location_report_request_type, type_, "Value"); return c.get(); } ngran_cgi_c& location_report_ies_o::value_c::ps_cell_info() { - assert_choice_type("NGRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::ps_cell_info, type_, "Value"); return c.get(); } const uint64_t& location_report_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& location_report_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const user_location_info_c& location_report_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const ue_presence_in_area_of_interest_list_l& location_report_ies_o::value_c::ue_presence_in_area_of_interest_list() const { - assert_choice_type("UEPresenceInAreaOfInterestList", type_.to_string(), "Value"); + assert_choice_type(types::ue_presence_in_area_of_interest_list, type_, "Value"); return c.get(); } const location_report_request_type_s& location_report_ies_o::value_c::location_report_request_type() const { - assert_choice_type("LocationReportingRequestType", type_.to_string(), "Value"); + assert_choice_type(types::location_report_request_type, type_, "Value"); return c.get(); } const ngran_cgi_c& location_report_ies_o::value_c::ps_cell_info() const { - assert_choice_type("NGRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::ps_cell_info, type_, "Value"); return c.get(); } void location_report_ies_o::value_c::to_json(json_writer& j) const @@ -24377,32 +24377,32 @@ location_report_ctrl_ies_o::value_c::operator=(const location_report_ctrl_ies_o: } uint64_t& location_report_ctrl_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& location_report_ctrl_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } location_report_request_type_s& location_report_ctrl_ies_o::value_c::location_report_request_type() { - assert_choice_type("LocationReportingRequestType", type_.to_string(), "Value"); + assert_choice_type(types::location_report_request_type, type_, "Value"); return c.get(); } const uint64_t& location_report_ctrl_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& location_report_ctrl_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const location_report_request_type_s& location_report_ctrl_ies_o::value_c::location_report_request_type() const { - assert_choice_type("LocationReportingRequestType", type_.to_string(), "Value"); + assert_choice_type(types::location_report_request_type, type_, "Value"); return c.get(); } void location_report_ctrl_ies_o::value_c::to_json(json_writer& j) const @@ -24608,32 +24608,32 @@ location_report_fail_ind_ies_o::value_c::operator=(const location_report_fail_in } uint64_t& location_report_fail_ind_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& location_report_fail_ind_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } cause_c& location_report_fail_ind_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const uint64_t& location_report_fail_ind_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& location_report_fail_ind_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const cause_c& location_report_fail_ind_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } void location_report_fail_ind_ies_o::value_c::to_json(json_writer& j) const @@ -24857,42 +24857,42 @@ nas_non_delivery_ind_ies_o::value_c::operator=(const nas_non_delivery_ind_ies_o: } uint64_t& nas_non_delivery_ind_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& nas_non_delivery_ind_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } unbounded_octstring& nas_non_delivery_ind_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } cause_c& nas_non_delivery_ind_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const uint64_t& nas_non_delivery_ind_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& nas_non_delivery_ind_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const unbounded_octstring& nas_non_delivery_ind_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const cause_c& nas_non_delivery_ind_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } void nas_non_delivery_ind_ies_o::value_c::to_json(json_writer& j) const @@ -25094,22 +25094,22 @@ ng_reset_ack_ies_o::value_c& ng_reset_ack_ies_o::value_c::operator=(const ng_res } ue_associated_lc_ng_conn_list_l& ng_reset_ack_ies_o::value_c::ue_associated_lc_ng_conn_list() { - assert_choice_type("UE-associatedLogicalNG-connectionList", type_.to_string(), "Value"); + assert_choice_type(types::ue_associated_lc_ng_conn_list, type_, "Value"); return c.get(); } crit_diagnostics_s& ng_reset_ack_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const ue_associated_lc_ng_conn_list_l& ng_reset_ack_ies_o::value_c::ue_associated_lc_ng_conn_list() const { - assert_choice_type("UE-associatedLogicalNG-connectionList", type_.to_string(), "Value"); + assert_choice_type(types::ue_associated_lc_ng_conn_list, type_, "Value"); return c.get(); } const crit_diagnostics_s& ng_reset_ack_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ng_reset_ack_ies_o::value_c::to_json(json_writer& j) const @@ -25297,22 +25297,22 @@ ng_reset_ies_o::value_c& ng_reset_ies_o::value_c::operator=(const ng_reset_ies_o } cause_c& ng_reset_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } reset_type_c& ng_reset_ies_o::value_c::reset_type() { - assert_choice_type("ResetType", type_.to_string(), "Value"); + assert_choice_type(types::reset_type, type_, "Value"); return c.get(); } const cause_c& ng_reset_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const reset_type_c& ng_reset_ies_o::value_c::reset_type() const { - assert_choice_type("ResetType", type_.to_string(), "Value"); + assert_choice_type(types::reset_type, type_, "Value"); return c.get(); } void ng_reset_ies_o::value_c::to_json(json_writer& j) const @@ -25512,32 +25512,32 @@ ng_setup_fail_ies_o::value_c& ng_setup_fail_ies_o::value_c::operator=(const ng_s } cause_c& ng_setup_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } time_to_wait_e& ng_setup_fail_ies_o::value_c::time_to_wait() { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } crit_diagnostics_s& ng_setup_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const cause_c& ng_setup_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const time_to_wait_e& ng_setup_fail_ies_o::value_c::time_to_wait() const { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } const crit_diagnostics_s& ng_setup_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ng_setup_fail_ies_o::value_c::to_json(json_writer& j) const @@ -25781,52 +25781,52 @@ ng_setup_request_ies_o::value_c::operator=(const ng_setup_request_ies_o::value_c } global_ran_node_id_c& ng_setup_request_ies_o::value_c::global_ran_node_id() { - assert_choice_type("GlobalRANNodeID", type_.to_string(), "Value"); + assert_choice_type(types::global_ran_node_id, type_, "Value"); return c.get(); } printable_string<1, 150, true, true>& ng_setup_request_ies_o::value_c::ran_node_name() { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::ran_node_name, type_, "Value"); return c.get >(); } supported_ta_list_l& ng_setup_request_ies_o::value_c::supported_ta_list() { - assert_choice_type("SupportedTAList", type_.to_string(), "Value"); + assert_choice_type(types::supported_ta_list, type_, "Value"); return c.get(); } paging_drx_e& ng_setup_request_ies_o::value_c::default_paging_drx() { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::default_paging_drx, type_, "Value"); return c.get(); } ue_retention_info_e& ng_setup_request_ies_o::value_c::ue_retention_info() { - assert_choice_type("UERetentionInformation", type_.to_string(), "Value"); + assert_choice_type(types::ue_retention_info, type_, "Value"); return c.get(); } const global_ran_node_id_c& ng_setup_request_ies_o::value_c::global_ran_node_id() const { - assert_choice_type("GlobalRANNodeID", type_.to_string(), "Value"); + assert_choice_type(types::global_ran_node_id, type_, "Value"); return c.get(); } const printable_string<1, 150, true, true>& ng_setup_request_ies_o::value_c::ran_node_name() const { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::ran_node_name, type_, "Value"); return c.get >(); } const supported_ta_list_l& ng_setup_request_ies_o::value_c::supported_ta_list() const { - assert_choice_type("SupportedTAList", type_.to_string(), "Value"); + assert_choice_type(types::supported_ta_list, type_, "Value"); return c.get(); } const paging_drx_e& ng_setup_request_ies_o::value_c::default_paging_drx() const { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::default_paging_drx, type_, "Value"); return c.get(); } const ue_retention_info_e& ng_setup_request_ies_o::value_c::ue_retention_info() const { - assert_choice_type("UERetentionInformation", type_.to_string(), "Value"); + assert_choice_type(types::ue_retention_info, type_, "Value"); return c.get(); } void ng_setup_request_ies_o::value_c::to_json(json_writer& j) const @@ -26110,62 +26110,62 @@ ng_setup_resp_ies_o::value_c& ng_setup_resp_ies_o::value_c::operator=(const ng_s } printable_string<1, 150, true, true>& ng_setup_resp_ies_o::value_c::amf_name() { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::amf_name, type_, "Value"); return c.get >(); } served_guami_list_l& ng_setup_resp_ies_o::value_c::served_guami_list() { - assert_choice_type("ServedGUAMIList", type_.to_string(), "Value"); + assert_choice_type(types::served_guami_list, type_, "Value"); return c.get(); } uint16_t& ng_setup_resp_ies_o::value_c::relative_amf_capacity() { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::relative_amf_capacity, type_, "Value"); return c.get(); } plmn_support_list_l& ng_setup_resp_ies_o::value_c::plmn_support_list() { - assert_choice_type("PLMNSupportList", type_.to_string(), "Value"); + assert_choice_type(types::plmn_support_list, type_, "Value"); return c.get(); } crit_diagnostics_s& ng_setup_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } ue_retention_info_e& ng_setup_resp_ies_o::value_c::ue_retention_info() { - assert_choice_type("UERetentionInformation", type_.to_string(), "Value"); + assert_choice_type(types::ue_retention_info, type_, "Value"); return c.get(); } const printable_string<1, 150, true, true>& ng_setup_resp_ies_o::value_c::amf_name() const { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::amf_name, type_, "Value"); return c.get >(); } const served_guami_list_l& ng_setup_resp_ies_o::value_c::served_guami_list() const { - assert_choice_type("ServedGUAMIList", type_.to_string(), "Value"); + assert_choice_type(types::served_guami_list, type_, "Value"); return c.get(); } const uint16_t& ng_setup_resp_ies_o::value_c::relative_amf_capacity() const { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::relative_amf_capacity, type_, "Value"); return c.get(); } const plmn_support_list_l& ng_setup_resp_ies_o::value_c::plmn_support_list() const { - assert_choice_type("PLMNSupportList", type_.to_string(), "Value"); + assert_choice_type(types::plmn_support_list, type_, "Value"); return c.get(); } const crit_diagnostics_s& ng_setup_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const ue_retention_info_e& ng_setup_resp_ies_o::value_c::ue_retention_info() const { - assert_choice_type("UERetentionInformation", type_.to_string(), "Value"); + assert_choice_type(types::ue_retention_info, type_, "Value"); return c.get(); } void ng_setup_resp_ies_o::value_c::to_json(json_writer& j) const @@ -26421,32 +26421,32 @@ overload_start_ies_o::value_c& overload_start_ies_o::value_c::operator=(const ov } overload_resp_c& overload_start_ies_o::value_c::amf_overload_resp() { - assert_choice_type("OverloadResponse", type_.to_string(), "Value"); + assert_choice_type(types::amf_overload_resp, type_, "Value"); return c.get(); } uint8_t& overload_start_ies_o::value_c::amf_traffic_load_reduction_ind() { - assert_choice_type("INTEGER (1..99)", type_.to_string(), "Value"); + assert_choice_type(types::amf_traffic_load_reduction_ind, type_, "Value"); return c.get(); } overload_start_nssai_list_l& overload_start_ies_o::value_c::overload_start_nssai_list() { - assert_choice_type("OverloadStartNSSAIList", type_.to_string(), "Value"); + assert_choice_type(types::overload_start_nssai_list, type_, "Value"); return c.get(); } const overload_resp_c& overload_start_ies_o::value_c::amf_overload_resp() const { - assert_choice_type("OverloadResponse", type_.to_string(), "Value"); + assert_choice_type(types::amf_overload_resp, type_, "Value"); return c.get(); } const uint8_t& overload_start_ies_o::value_c::amf_traffic_load_reduction_ind() const { - assert_choice_type("INTEGER (1..99)", type_.to_string(), "Value"); + assert_choice_type(types::amf_traffic_load_reduction_ind, type_, "Value"); return c.get(); } const overload_start_nssai_list_l& overload_start_ies_o::value_c::overload_start_nssai_list() const { - assert_choice_type("OverloadStartNSSAIList", type_.to_string(), "Value"); + assert_choice_type(types::overload_start_nssai_list, type_, "Value"); return c.get(); } void overload_start_ies_o::value_c::to_json(json_writer& j) const @@ -26701,56 +26701,56 @@ pdu_session_res_modify_confirm_ies_o::value_c::operator=(const pdu_session_res_m } uint64_t& pdu_session_res_modify_confirm_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& pdu_session_res_modify_confirm_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_modify_list_mod_cfm_l& pdu_session_res_modify_confirm_ies_o::value_c::pdu_session_res_modify_list_mod_cfm() { - assert_choice_type("PDUSessionResourceModifyListModCfm", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_modify_list_mod_cfm, type_, "Value"); return c.get(); } pdu_session_res_failed_to_modify_list_mod_cfm_l& pdu_session_res_modify_confirm_ies_o::value_c::pdu_session_res_failed_to_modify_list_mod_cfm() { - assert_choice_type("PDUSessionResourceFailedToModifyListModCfm", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_modify_list_mod_cfm, type_, "Value"); return c.get(); } crit_diagnostics_s& pdu_session_res_modify_confirm_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_modify_confirm_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_modify_confirm_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_modify_list_mod_cfm_l& pdu_session_res_modify_confirm_ies_o::value_c::pdu_session_res_modify_list_mod_cfm() const { - assert_choice_type("PDUSessionResourceModifyListModCfm", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_modify_list_mod_cfm, type_, "Value"); return c.get(); } const pdu_session_res_failed_to_modify_list_mod_cfm_l& pdu_session_res_modify_confirm_ies_o::value_c::pdu_session_res_failed_to_modify_list_mod_cfm() const { - assert_choice_type("PDUSessionResourceFailedToModifyListModCfm", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_modify_list_mod_cfm, type_, "Value"); return c.get(); } const crit_diagnostics_s& pdu_session_res_modify_confirm_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void pdu_session_res_modify_confirm_ies_o::value_c::to_json(json_writer& j) const @@ -26985,33 +26985,33 @@ pdu_session_res_modify_ind_ies_o::value_c::operator=(const pdu_session_res_modif } uint64_t& pdu_session_res_modify_ind_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& pdu_session_res_modify_ind_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_modify_list_mod_ind_l& pdu_session_res_modify_ind_ies_o::value_c::pdu_session_res_modify_list_mod_ind() { - assert_choice_type("PDUSessionResourceModifyListModInd", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_modify_list_mod_ind, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_modify_ind_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_modify_ind_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_modify_list_mod_ind_l& pdu_session_res_modify_ind_ies_o::value_c::pdu_session_res_modify_list_mod_ind() const { - assert_choice_type("PDUSessionResourceModifyListModInd", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_modify_list_mod_ind, type_, "Value"); return c.get(); } void pdu_session_res_modify_ind_ies_o::value_c::to_json(json_writer& j) const @@ -27235,44 +27235,44 @@ pdu_session_res_modify_request_ies_o::value_c::operator=(const pdu_session_res_m } uint64_t& pdu_session_res_modify_request_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& pdu_session_res_modify_request_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } uint16_t& pdu_session_res_modify_request_ies_o::value_c::ran_paging_prio() { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::ran_paging_prio, type_, "Value"); return c.get(); } pdu_session_res_modify_list_mod_req_l& pdu_session_res_modify_request_ies_o::value_c::pdu_session_res_modify_list_mod_req() { - assert_choice_type("PDUSessionResourceModifyListModReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_modify_list_mod_req, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_modify_request_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_modify_request_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const uint16_t& pdu_session_res_modify_request_ies_o::value_c::ran_paging_prio() const { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::ran_paging_prio, type_, "Value"); return c.get(); } const pdu_session_res_modify_list_mod_req_l& pdu_session_res_modify_request_ies_o::value_c::pdu_session_res_modify_list_mod_req() const { - assert_choice_type("PDUSessionResourceModifyListModReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_modify_list_mod_req, type_, "Value"); return c.get(); } void pdu_session_res_modify_request_ies_o::value_c::to_json(json_writer& j) const @@ -27549,65 +27549,65 @@ pdu_session_res_modify_resp_ies_o::value_c::operator=(const pdu_session_res_modi } uint64_t& pdu_session_res_modify_resp_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& pdu_session_res_modify_resp_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_modify_list_mod_res_l& pdu_session_res_modify_resp_ies_o::value_c::pdu_session_res_modify_list_mod_res() { - assert_choice_type("PDUSessionResourceModifyListModRes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_modify_list_mod_res, type_, "Value"); return c.get(); } pdu_session_res_failed_to_modify_list_mod_res_l& pdu_session_res_modify_resp_ies_o::value_c::pdu_session_res_failed_to_modify_list_mod_res() { - assert_choice_type("PDUSessionResourceFailedToModifyListModRes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_modify_list_mod_res, type_, "Value"); return c.get(); } user_location_info_c& pdu_session_res_modify_resp_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } crit_diagnostics_s& pdu_session_res_modify_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_modify_resp_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_modify_resp_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_modify_list_mod_res_l& pdu_session_res_modify_resp_ies_o::value_c::pdu_session_res_modify_list_mod_res() const { - assert_choice_type("PDUSessionResourceModifyListModRes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_modify_list_mod_res, type_, "Value"); return c.get(); } const pdu_session_res_failed_to_modify_list_mod_res_l& pdu_session_res_modify_resp_ies_o::value_c::pdu_session_res_failed_to_modify_list_mod_res() const { - assert_choice_type("PDUSessionResourceFailedToModifyListModRes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_modify_list_mod_res, type_, "Value"); return c.get(); } const user_location_info_c& pdu_session_res_modify_resp_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const crit_diagnostics_s& pdu_session_res_modify_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void pdu_session_res_modify_resp_ies_o::value_c::to_json(json_writer& j) const @@ -27891,53 +27891,53 @@ pdu_session_res_notify_ies_o::value_c::operator=(const pdu_session_res_notify_ie } uint64_t& pdu_session_res_notify_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& pdu_session_res_notify_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_notify_list_l& pdu_session_res_notify_ies_o::value_c::pdu_session_res_notify_list() { - assert_choice_type("PDUSessionResourceNotifyList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_notify_list, type_, "Value"); return c.get(); } pdu_session_res_released_list_not_l& pdu_session_res_notify_ies_o::value_c::pdu_session_res_released_list_not() { - assert_choice_type("PDUSessionResourceReleasedListNot", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_released_list_not, type_, "Value"); return c.get(); } user_location_info_c& pdu_session_res_notify_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_notify_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_notify_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_notify_list_l& pdu_session_res_notify_ies_o::value_c::pdu_session_res_notify_list() const { - assert_choice_type("PDUSessionResourceNotifyList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_notify_list, type_, "Value"); return c.get(); } const pdu_session_res_released_list_not_l& pdu_session_res_notify_ies_o::value_c::pdu_session_res_released_list_not() const { - assert_choice_type("PDUSessionResourceReleasedListNot", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_released_list_not, type_, "Value"); return c.get(); } const user_location_info_c& pdu_session_res_notify_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } void pdu_session_res_notify_ies_o::value_c::to_json(json_writer& j) const @@ -28206,54 +28206,54 @@ pdu_session_res_release_cmd_ies_o::value_c::operator=(const pdu_session_res_rele } uint64_t& pdu_session_res_release_cmd_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& pdu_session_res_release_cmd_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } uint16_t& pdu_session_res_release_cmd_ies_o::value_c::ran_paging_prio() { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::ran_paging_prio, type_, "Value"); return c.get(); } unbounded_octstring& pdu_session_res_release_cmd_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } pdu_session_res_to_release_list_rel_cmd_l& pdu_session_res_release_cmd_ies_o::value_c::pdu_session_res_to_release_list_rel_cmd() { - assert_choice_type("PDUSessionResourceToReleaseListRelCmd", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_to_release_list_rel_cmd, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_release_cmd_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_release_cmd_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const uint16_t& pdu_session_res_release_cmd_ies_o::value_c::ran_paging_prio() const { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::ran_paging_prio, type_, "Value"); return c.get(); } const unbounded_octstring& pdu_session_res_release_cmd_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const pdu_session_res_to_release_list_rel_cmd_l& pdu_session_res_release_cmd_ies_o::value_c::pdu_session_res_to_release_list_rel_cmd() const { - assert_choice_type("PDUSessionResourceToReleaseListRelCmd", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_to_release_list_rel_cmd, type_, "Value"); return c.get(); } void pdu_session_res_release_cmd_ies_o::value_c::to_json(json_writer& j) const @@ -28521,54 +28521,54 @@ pdu_session_res_release_resp_ies_o::value_c::operator=(const pdu_session_res_rel } uint64_t& pdu_session_res_release_resp_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& pdu_session_res_release_resp_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_released_list_rel_res_l& pdu_session_res_release_resp_ies_o::value_c::pdu_session_res_released_list_rel_res() { - assert_choice_type("PDUSessionResourceReleasedListRelRes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_released_list_rel_res, type_, "Value"); return c.get(); } user_location_info_c& pdu_session_res_release_resp_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } crit_diagnostics_s& pdu_session_res_release_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_release_resp_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_release_resp_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_released_list_rel_res_l& pdu_session_res_release_resp_ies_o::value_c::pdu_session_res_released_list_rel_res() const { - assert_choice_type("PDUSessionResourceReleasedListRelRes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_released_list_rel_res, type_, "Value"); return c.get(); } const user_location_info_c& pdu_session_res_release_resp_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const crit_diagnostics_s& pdu_session_res_release_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void pdu_session_res_release_resp_ies_o::value_c::to_json(json_writer& j) const @@ -28853,64 +28853,64 @@ pdu_session_res_setup_request_ies_o::value_c::operator=(const pdu_session_res_se } uint64_t& pdu_session_res_setup_request_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& pdu_session_res_setup_request_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } uint16_t& pdu_session_res_setup_request_ies_o::value_c::ran_paging_prio() { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::ran_paging_prio, type_, "Value"); return c.get(); } unbounded_octstring& pdu_session_res_setup_request_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } pdu_session_res_setup_list_su_req_l& pdu_session_res_setup_request_ies_o::value_c::pdu_session_res_setup_list_su_req() { - assert_choice_type("PDUSessionResourceSetupListSUReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_setup_list_su_req, type_, "Value"); return c.get(); } ue_aggregate_maximum_bit_rate_s& pdu_session_res_setup_request_ies_o::value_c::ue_aggregate_maximum_bit_rate() { - assert_choice_type("UEAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::ue_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_setup_request_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_setup_request_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const uint16_t& pdu_session_res_setup_request_ies_o::value_c::ran_paging_prio() const { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::ran_paging_prio, type_, "Value"); return c.get(); } const unbounded_octstring& pdu_session_res_setup_request_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const pdu_session_res_setup_list_su_req_l& pdu_session_res_setup_request_ies_o::value_c::pdu_session_res_setup_list_su_req() const { - assert_choice_type("PDUSessionResourceSetupListSUReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_setup_list_su_req, type_, "Value"); return c.get(); } const ue_aggregate_maximum_bit_rate_s& pdu_session_res_setup_request_ies_o::value_c::ue_aggregate_maximum_bit_rate() const { - assert_choice_type("UEAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::ue_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } void pdu_session_res_setup_request_ies_o::value_c::to_json(json_writer& j) const @@ -29189,55 +29189,55 @@ pdu_session_res_setup_resp_ies_o::value_c::operator=(const pdu_session_res_setup } uint64_t& pdu_session_res_setup_resp_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& pdu_session_res_setup_resp_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_setup_list_su_res_l& pdu_session_res_setup_resp_ies_o::value_c::pdu_session_res_setup_list_su_res() { - assert_choice_type("PDUSessionResourceSetupListSURes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_setup_list_su_res, type_, "Value"); return c.get(); } pdu_session_res_failed_to_setup_list_su_res_l& pdu_session_res_setup_resp_ies_o::value_c::pdu_session_res_failed_to_setup_list_su_res() { - assert_choice_type("PDUSessionResourceFailedToSetupListSURes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_setup_list_su_res, type_, "Value"); return c.get(); } crit_diagnostics_s& pdu_session_res_setup_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_setup_resp_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& pdu_session_res_setup_resp_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_setup_list_su_res_l& pdu_session_res_setup_resp_ies_o::value_c::pdu_session_res_setup_list_su_res() const { - assert_choice_type("PDUSessionResourceSetupListSURes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_setup_list_su_res, type_, "Value"); return c.get(); } const pdu_session_res_failed_to_setup_list_su_res_l& pdu_session_res_setup_resp_ies_o::value_c::pdu_session_res_failed_to_setup_list_su_res() const { - assert_choice_type("PDUSessionResourceFailedToSetupListSURes", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_setup_list_su_res, type_, "Value"); return c.get(); } const crit_diagnostics_s& pdu_session_res_setup_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void pdu_session_res_setup_resp_ies_o::value_c::to_json(json_writer& j) const @@ -29495,42 +29495,42 @@ pws_cancel_request_ies_o::value_c::operator=(const pws_cancel_request_ies_o::val } fixed_bitstring<16, false, true>& pws_cancel_request_ies_o::value_c::msg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } fixed_bitstring<16, false, true>& pws_cancel_request_ies_o::value_c::serial_num() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } warning_area_list_c& pws_cancel_request_ies_o::value_c::warning_area_list() { - assert_choice_type("WarningAreaList", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_list, type_, "Value"); return c.get(); } cancel_all_warning_msgs_e& pws_cancel_request_ies_o::value_c::cancel_all_warning_msgs() { - assert_choice_type("CancelAllWarningMessages", type_.to_string(), "Value"); + assert_choice_type(types::cancel_all_warning_msgs, type_, "Value"); return c.get(); } const fixed_bitstring<16, false, true>& pws_cancel_request_ies_o::value_c::msg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } const fixed_bitstring<16, false, true>& pws_cancel_request_ies_o::value_c::serial_num() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } const warning_area_list_c& pws_cancel_request_ies_o::value_c::warning_area_list() const { - assert_choice_type("WarningAreaList", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_list, type_, "Value"); return c.get(); } const cancel_all_warning_msgs_e& pws_cancel_request_ies_o::value_c::cancel_all_warning_msgs() const { - assert_choice_type("CancelAllWarningMessages", type_.to_string(), "Value"); + assert_choice_type(types::cancel_all_warning_msgs, type_, "Value"); return c.get(); } void pws_cancel_request_ies_o::value_c::to_json(json_writer& j) const @@ -29770,42 +29770,42 @@ pws_cancel_resp_ies_o::value_c& pws_cancel_resp_ies_o::value_c::operator=(const } fixed_bitstring<16, false, true>& pws_cancel_resp_ies_o::value_c::msg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } fixed_bitstring<16, false, true>& pws_cancel_resp_ies_o::value_c::serial_num() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } broadcast_cancelled_area_list_c& pws_cancel_resp_ies_o::value_c::broadcast_cancelled_area_list() { - assert_choice_type("BroadcastCancelledAreaList", type_.to_string(), "Value"); + assert_choice_type(types::broadcast_cancelled_area_list, type_, "Value"); return c.get(); } crit_diagnostics_s& pws_cancel_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const fixed_bitstring<16, false, true>& pws_cancel_resp_ies_o::value_c::msg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } const fixed_bitstring<16, false, true>& pws_cancel_resp_ies_o::value_c::serial_num() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } const broadcast_cancelled_area_list_c& pws_cancel_resp_ies_o::value_c::broadcast_cancelled_area_list() const { - assert_choice_type("BroadcastCancelledAreaList", type_.to_string(), "Value"); + assert_choice_type(types::broadcast_cancelled_area_list, type_, "Value"); return c.get(); } const crit_diagnostics_s& pws_cancel_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void pws_cancel_resp_ies_o::value_c::to_json(json_writer& j) const @@ -30008,22 +30008,22 @@ pws_fail_ind_ies_o::value_c& pws_fail_ind_ies_o::value_c::operator=(const pws_fa } pws_failed_cell_id_list_c& pws_fail_ind_ies_o::value_c::pws_failed_cell_id_list() { - assert_choice_type("PWSFailedCellIDList", type_.to_string(), "Value"); + assert_choice_type(types::pws_failed_cell_id_list, type_, "Value"); return c.get(); } global_ran_node_id_c& pws_fail_ind_ies_o::value_c::global_ran_node_id() { - assert_choice_type("GlobalRANNodeID", type_.to_string(), "Value"); + assert_choice_type(types::global_ran_node_id, type_, "Value"); return c.get(); } const pws_failed_cell_id_list_c& pws_fail_ind_ies_o::value_c::pws_failed_cell_id_list() const { - assert_choice_type("PWSFailedCellIDList", type_.to_string(), "Value"); + assert_choice_type(types::pws_failed_cell_id_list, type_, "Value"); return c.get(); } const global_ran_node_id_c& pws_fail_ind_ies_o::value_c::global_ran_node_id() const { - assert_choice_type("GlobalRANNodeID", type_.to_string(), "Value"); + assert_choice_type(types::global_ran_node_id, type_, "Value"); return c.get(); } void pws_fail_ind_ies_o::value_c::to_json(json_writer& j) const @@ -30246,42 +30246,42 @@ pws_restart_ind_ies_o::value_c& pws_restart_ind_ies_o::value_c::operator=(const } cell_id_list_for_restart_c& pws_restart_ind_ies_o::value_c::cell_id_list_for_restart() { - assert_choice_type("CellIDListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::cell_id_list_for_restart, type_, "Value"); return c.get(); } global_ran_node_id_c& pws_restart_ind_ies_o::value_c::global_ran_node_id() { - assert_choice_type("GlobalRANNodeID", type_.to_string(), "Value"); + assert_choice_type(types::global_ran_node_id, type_, "Value"); return c.get(); } tai_list_for_restart_l& pws_restart_ind_ies_o::value_c::tai_list_for_restart() { - assert_choice_type("TAIListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::tai_list_for_restart, type_, "Value"); return c.get(); } emergency_area_id_list_for_restart_l& pws_restart_ind_ies_o::value_c::emergency_area_id_list_for_restart() { - assert_choice_type("EmergencyAreaIDListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::emergency_area_id_list_for_restart, type_, "Value"); return c.get(); } const cell_id_list_for_restart_c& pws_restart_ind_ies_o::value_c::cell_id_list_for_restart() const { - assert_choice_type("CellIDListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::cell_id_list_for_restart, type_, "Value"); return c.get(); } const global_ran_node_id_c& pws_restart_ind_ies_o::value_c::global_ran_node_id() const { - assert_choice_type("GlobalRANNodeID", type_.to_string(), "Value"); + assert_choice_type(types::global_ran_node_id, type_, "Value"); return c.get(); } const tai_list_for_restart_l& pws_restart_ind_ies_o::value_c::tai_list_for_restart() const { - assert_choice_type("TAIListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::tai_list_for_restart, type_, "Value"); return c.get(); } const emergency_area_id_list_for_restart_l& pws_restart_ind_ies_o::value_c::emergency_area_id_list_for_restart() const { - assert_choice_type("EmergencyAreaIDListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::emergency_area_id_list_for_restart, type_, "Value"); return c.get(); } void pws_restart_ind_ies_o::value_c::to_json(json_writer& j) const @@ -30576,72 +30576,72 @@ paging_ies_o::value_c& paging_ies_o::value_c::operator=(const paging_ies_o::valu } ue_paging_id_c& paging_ies_o::value_c::ue_paging_id() { - assert_choice_type("UEPagingIdentity", type_.to_string(), "Value"); + assert_choice_type(types::ue_paging_id, type_, "Value"); return c.get(); } paging_drx_e& paging_ies_o::value_c::paging_drx() { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::paging_drx, type_, "Value"); return c.get(); } tai_list_for_paging_l& paging_ies_o::value_c::tai_list_for_paging() { - assert_choice_type("TAIListForPaging", type_.to_string(), "Value"); + assert_choice_type(types::tai_list_for_paging, type_, "Value"); return c.get(); } paging_prio_e& paging_ies_o::value_c::paging_prio() { - assert_choice_type("PagingPriority", type_.to_string(), "Value"); + assert_choice_type(types::paging_prio, type_, "Value"); return c.get(); } ue_radio_cap_for_paging_s& paging_ies_o::value_c::ue_radio_cap_for_paging() { - assert_choice_type("UERadioCapabilityForPaging", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap_for_paging, type_, "Value"); return c.get(); } paging_origin_e& paging_ies_o::value_c::paging_origin() { - assert_choice_type("PagingOrigin", type_.to_string(), "Value"); + assert_choice_type(types::paging_origin, type_, "Value"); return c.get(); } assist_data_for_paging_s& paging_ies_o::value_c::assist_data_for_paging() { - assert_choice_type("AssistanceDataForPaging", type_.to_string(), "Value"); + assert_choice_type(types::assist_data_for_paging, type_, "Value"); return c.get(); } const ue_paging_id_c& paging_ies_o::value_c::ue_paging_id() const { - assert_choice_type("UEPagingIdentity", type_.to_string(), "Value"); + assert_choice_type(types::ue_paging_id, type_, "Value"); return c.get(); } const paging_drx_e& paging_ies_o::value_c::paging_drx() const { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::paging_drx, type_, "Value"); return c.get(); } const tai_list_for_paging_l& paging_ies_o::value_c::tai_list_for_paging() const { - assert_choice_type("TAIListForPaging", type_.to_string(), "Value"); + assert_choice_type(types::tai_list_for_paging, type_, "Value"); return c.get(); } const paging_prio_e& paging_ies_o::value_c::paging_prio() const { - assert_choice_type("PagingPriority", type_.to_string(), "Value"); + assert_choice_type(types::paging_prio, type_, "Value"); return c.get(); } const ue_radio_cap_for_paging_s& paging_ies_o::value_c::ue_radio_cap_for_paging() const { - assert_choice_type("UERadioCapabilityForPaging", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap_for_paging, type_, "Value"); return c.get(); } const paging_origin_e& paging_ies_o::value_c::paging_origin() const { - assert_choice_type("PagingOrigin", type_.to_string(), "Value"); + assert_choice_type(types::paging_origin, type_, "Value"); return c.get(); } const assist_data_for_paging_s& paging_ies_o::value_c::assist_data_for_paging() const { - assert_choice_type("AssistanceDataForPaging", type_.to_string(), "Value"); + assert_choice_type(types::assist_data_for_paging, type_, "Value"); return c.get(); } void paging_ies_o::value_c::to_json(json_writer& j) const @@ -31053,125 +31053,125 @@ path_switch_request_ack_ies_o::value_c::operator=(const path_switch_request_ack_ } uint64_t& path_switch_request_ack_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& path_switch_request_ack_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } ue_security_cap_s& path_switch_request_ack_ies_o::value_c::ue_security_cap() { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } security_context_s& path_switch_request_ack_ies_o::value_c::security_context() { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } new_security_context_ind_e& path_switch_request_ack_ies_o::value_c::new_security_context_ind() { - assert_choice_type("NewSecurityContextInd", type_.to_string(), "Value"); + assert_choice_type(types::new_security_context_ind, type_, "Value"); return c.get(); } pdu_session_res_switched_list_l& path_switch_request_ack_ies_o::value_c::pdu_session_res_switched_list() { - assert_choice_type("PDUSessionResourceSwitchedList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_switched_list, type_, "Value"); return c.get(); } pdu_session_res_released_list_ps_ack_l& path_switch_request_ack_ies_o::value_c::pdu_session_res_released_list_ps_ack() { - assert_choice_type("PDUSessionResourceReleasedListPSAck", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_released_list_ps_ack, type_, "Value"); return c.get(); } allowed_nssai_l& path_switch_request_ack_ies_o::value_c::allowed_nssai() { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } core_network_assist_info_s& path_switch_request_ack_ies_o::value_c::core_network_assist_info() { - assert_choice_type("CoreNetworkAssistanceInformation", type_.to_string(), "Value"); + assert_choice_type(types::core_network_assist_info, type_, "Value"); return c.get(); } rrc_inactive_transition_report_request_e& path_switch_request_ack_ies_o::value_c::rrc_inactive_transition_report_request() { - assert_choice_type("RRCInactiveTransitionReportRequest", type_.to_string(), "Value"); + assert_choice_type(types::rrc_inactive_transition_report_request, type_, "Value"); return c.get(); } crit_diagnostics_s& path_switch_request_ack_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } redirection_voice_fallback_e& path_switch_request_ack_ies_o::value_c::redirection_voice_fallback() { - assert_choice_type("RedirectionVoiceFallback", type_.to_string(), "Value"); + assert_choice_type(types::redirection_voice_fallback, type_, "Value"); return c.get(); } const uint64_t& path_switch_request_ack_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& path_switch_request_ack_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const ue_security_cap_s& path_switch_request_ack_ies_o::value_c::ue_security_cap() const { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } const security_context_s& path_switch_request_ack_ies_o::value_c::security_context() const { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } const new_security_context_ind_e& path_switch_request_ack_ies_o::value_c::new_security_context_ind() const { - assert_choice_type("NewSecurityContextInd", type_.to_string(), "Value"); + assert_choice_type(types::new_security_context_ind, type_, "Value"); return c.get(); } const pdu_session_res_switched_list_l& path_switch_request_ack_ies_o::value_c::pdu_session_res_switched_list() const { - assert_choice_type("PDUSessionResourceSwitchedList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_switched_list, type_, "Value"); return c.get(); } const pdu_session_res_released_list_ps_ack_l& path_switch_request_ack_ies_o::value_c::pdu_session_res_released_list_ps_ack() const { - assert_choice_type("PDUSessionResourceReleasedListPSAck", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_released_list_ps_ack, type_, "Value"); return c.get(); } const allowed_nssai_l& path_switch_request_ack_ies_o::value_c::allowed_nssai() const { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } const core_network_assist_info_s& path_switch_request_ack_ies_o::value_c::core_network_assist_info() const { - assert_choice_type("CoreNetworkAssistanceInformation", type_.to_string(), "Value"); + assert_choice_type(types::core_network_assist_info, type_, "Value"); return c.get(); } const rrc_inactive_transition_report_request_e& path_switch_request_ack_ies_o::value_c::rrc_inactive_transition_report_request() const { - assert_choice_type("RRCInactiveTransitionReportRequest", type_.to_string(), "Value"); + assert_choice_type(types::rrc_inactive_transition_report_request, type_, "Value"); return c.get(); } const crit_diagnostics_s& path_switch_request_ack_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const redirection_voice_fallback_e& path_switch_request_ack_ies_o::value_c::redirection_voice_fallback() const { - assert_choice_type("RedirectionVoiceFallback", type_.to_string(), "Value"); + assert_choice_type(types::redirection_voice_fallback, type_, "Value"); return c.get(); } void path_switch_request_ack_ies_o::value_c::to_json(json_writer& j) const @@ -31502,44 +31502,44 @@ path_switch_request_fail_ies_o::value_c::operator=(const path_switch_request_fai } uint64_t& path_switch_request_fail_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& path_switch_request_fail_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_released_list_ps_fail_l& path_switch_request_fail_ies_o::value_c::pdu_session_res_released_list_ps_fail() { - assert_choice_type("PDUSessionResourceReleasedListPSFail", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_released_list_ps_fail, type_, "Value"); return c.get(); } crit_diagnostics_s& path_switch_request_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& path_switch_request_fail_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& path_switch_request_fail_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_released_list_ps_fail_l& path_switch_request_fail_ies_o::value_c::pdu_session_res_released_list_ps_fail() const { - assert_choice_type("PDUSessionResourceReleasedListPSFail", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_released_list_ps_fail, type_, "Value"); return c.get(); } const crit_diagnostics_s& path_switch_request_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void path_switch_request_fail_ies_o::value_c::to_json(json_writer& j) const @@ -31817,65 +31817,65 @@ path_switch_request_ies_o::value_c::operator=(const path_switch_request_ies_o::v } uint64_t& path_switch_request_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& path_switch_request_ies_o::value_c::source_amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::source_amf_ue_ngap_id, type_, "Value"); return c.get(); } user_location_info_c& path_switch_request_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } ue_security_cap_s& path_switch_request_ies_o::value_c::ue_security_cap() { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } pdu_session_res_to_be_switched_dl_list_l& path_switch_request_ies_o::value_c::pdu_session_res_to_be_switched_dl_list() { - assert_choice_type("PDUSessionResourceToBeSwitchedDLList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_to_be_switched_dl_list, type_, "Value"); return c.get(); } pdu_session_res_failed_to_setup_list_ps_req_l& path_switch_request_ies_o::value_c::pdu_session_res_failed_to_setup_list_ps_req() { - assert_choice_type("PDUSessionResourceFailedToSetupListPSReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_setup_list_ps_req, type_, "Value"); return c.get(); } const uint64_t& path_switch_request_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& path_switch_request_ies_o::value_c::source_amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::source_amf_ue_ngap_id, type_, "Value"); return c.get(); } const user_location_info_c& path_switch_request_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const ue_security_cap_s& path_switch_request_ies_o::value_c::ue_security_cap() const { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } const pdu_session_res_to_be_switched_dl_list_l& path_switch_request_ies_o::value_c::pdu_session_res_to_be_switched_dl_list() const { - assert_choice_type("PDUSessionResourceToBeSwitchedDLList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_to_be_switched_dl_list, type_, "Value"); return c.get(); } const pdu_session_res_failed_to_setup_list_ps_req_l& path_switch_request_ies_o::value_c::pdu_session_res_failed_to_setup_list_ps_req() const { - assert_choice_type("PDUSessionResourceFailedToSetupListPSReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_failed_to_setup_list_ps_req, type_, "Value"); return c.get(); } void path_switch_request_ies_o::value_c::to_json(json_writer& j) const @@ -32210,32 +32210,32 @@ ran_cfg_upd_fail_ies_o::value_c::operator=(const ran_cfg_upd_fail_ies_o::value_c } cause_c& ran_cfg_upd_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } time_to_wait_e& ran_cfg_upd_fail_ies_o::value_c::time_to_wait() { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } crit_diagnostics_s& ran_cfg_upd_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const cause_c& ran_cfg_upd_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const time_to_wait_e& ran_cfg_upd_fail_ies_o::value_c::time_to_wait() const { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } const crit_diagnostics_s& ran_cfg_upd_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ran_cfg_upd_fail_ies_o::value_c::to_json(json_writer& j) const @@ -32463,42 +32463,42 @@ ran_cfg_upd_ies_o::value_c& ran_cfg_upd_ies_o::value_c::operator=(const ran_cfg_ } printable_string<1, 150, true, true>& ran_cfg_upd_ies_o::value_c::ran_node_name() { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::ran_node_name, type_, "Value"); return c.get >(); } supported_ta_list_l& ran_cfg_upd_ies_o::value_c::supported_ta_list() { - assert_choice_type("SupportedTAList", type_.to_string(), "Value"); + assert_choice_type(types::supported_ta_list, type_, "Value"); return c.get(); } paging_drx_e& ran_cfg_upd_ies_o::value_c::default_paging_drx() { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::default_paging_drx, type_, "Value"); return c.get(); } global_ran_node_id_c& ran_cfg_upd_ies_o::value_c::global_ran_node_id() { - assert_choice_type("GlobalRANNodeID", type_.to_string(), "Value"); + assert_choice_type(types::global_ran_node_id, type_, "Value"); return c.get(); } const printable_string<1, 150, true, true>& ran_cfg_upd_ies_o::value_c::ran_node_name() const { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::ran_node_name, type_, "Value"); return c.get >(); } const supported_ta_list_l& ran_cfg_upd_ies_o::value_c::supported_ta_list() const { - assert_choice_type("SupportedTAList", type_.to_string(), "Value"); + assert_choice_type(types::supported_ta_list, type_, "Value"); return c.get(); } const paging_drx_e& ran_cfg_upd_ies_o::value_c::default_paging_drx() const { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::default_paging_drx, type_, "Value"); return c.get(); } const global_ran_node_id_c& ran_cfg_upd_ies_o::value_c::global_ran_node_id() const { - assert_choice_type("GlobalRANNodeID", type_.to_string(), "Value"); + assert_choice_type(types::global_ran_node_id, type_, "Value"); return c.get(); } void ran_cfg_upd_ies_o::value_c::to_json(json_writer& j) const @@ -32731,42 +32731,42 @@ rrc_inactive_transition_report_ies_o::value_c::operator=(const rrc_inactive_tran } uint64_t& rrc_inactive_transition_report_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& rrc_inactive_transition_report_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } rrc_state_e& rrc_inactive_transition_report_ies_o::value_c::rrc_state() { - assert_choice_type("RRCState", type_.to_string(), "Value"); + assert_choice_type(types::rrc_state, type_, "Value"); return c.get(); } user_location_info_c& rrc_inactive_transition_report_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const uint64_t& rrc_inactive_transition_report_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& rrc_inactive_transition_report_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const rrc_state_e& rrc_inactive_transition_report_ies_o::value_c::rrc_state() const { - assert_choice_type("RRCState", type_.to_string(), "Value"); + assert_choice_type(types::rrc_state, type_, "Value"); return c.get(); } const user_location_info_c& rrc_inactive_transition_report_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } void rrc_inactive_transition_report_ies_o::value_c::to_json(json_writer& j) const @@ -33019,52 +33019,52 @@ reroute_nas_request_ies_o::value_c::operator=(const reroute_nas_request_ies_o::v } uint64_t& reroute_nas_request_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& reroute_nas_request_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } unbounded_octstring& reroute_nas_request_ies_o::value_c::ngap_msg() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ngap_msg, type_, "Value"); return c.get >(); } fixed_bitstring<10, false, true>& reroute_nas_request_ies_o::value_c::amf_set_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::amf_set_id, type_, "Value"); return c.get >(); } allowed_nssai_l& reroute_nas_request_ies_o::value_c::allowed_nssai() { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } const uint64_t& reroute_nas_request_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& reroute_nas_request_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const unbounded_octstring& reroute_nas_request_ies_o::value_c::ngap_msg() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ngap_msg, type_, "Value"); return c.get >(); } const fixed_bitstring<10, false, true>& reroute_nas_request_ies_o::value_c::amf_set_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::amf_set_id, type_, "Value"); return c.get >(); } const allowed_nssai_l& reroute_nas_request_ies_o::value_c::allowed_nssai() const { - assert_choice_type("AllowedNSSAI", type_.to_string(), "Value"); + assert_choice_type(types::allowed_nssai, type_, "Value"); return c.get(); } void reroute_nas_request_ies_o::value_c::to_json(json_writer& j) const @@ -33306,44 +33306,44 @@ secondary_rat_data_usage_report_ies_o::value_c::operator=(const secondary_rat_da } uint64_t& secondary_rat_data_usage_report_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& secondary_rat_data_usage_report_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_secondary_ratusage_list_l& secondary_rat_data_usage_report_ies_o::value_c::pdu_session_res_secondary_ratusage_list() { - assert_choice_type("PDUSessionResourceSecondaryRATUsageList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_secondary_ratusage_list, type_, "Value"); return c.get(); } ho_flag_e& secondary_rat_data_usage_report_ies_o::value_c::ho_flag() { - assert_choice_type("HandoverFlag", type_.to_string(), "Value"); + assert_choice_type(types::ho_flag, type_, "Value"); return c.get(); } const uint64_t& secondary_rat_data_usage_report_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& secondary_rat_data_usage_report_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_secondary_ratusage_list_l& secondary_rat_data_usage_report_ies_o::value_c::pdu_session_res_secondary_ratusage_list() const { - assert_choice_type("PDUSessionResourceSecondaryRATUsageList", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_secondary_ratusage_list, type_, "Value"); return c.get(); } const ho_flag_e& secondary_rat_data_usage_report_ies_o::value_c::ho_flag() const { - assert_choice_type("HandoverFlag", type_.to_string(), "Value"); + assert_choice_type(types::ho_flag, type_, "Value"); return c.get(); } void secondary_rat_data_usage_report_ies_o::value_c::to_json(json_writer& j) const @@ -33581,42 +33581,42 @@ trace_fail_ind_ies_o::value_c& trace_fail_ind_ies_o::value_c::operator=(const tr } uint64_t& trace_fail_ind_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& trace_fail_ind_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } fixed_octstring<8, true>& trace_fail_ind_ies_o::value_c::ngran_trace_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ngran_trace_id, type_, "Value"); return c.get >(); } cause_c& trace_fail_ind_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const uint64_t& trace_fail_ind_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& trace_fail_ind_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const fixed_octstring<8, true>& trace_fail_ind_ies_o::value_c::ngran_trace_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ngran_trace_id, type_, "Value"); return c.get >(); } const cause_c& trace_fail_ind_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } void trace_fail_ind_ies_o::value_c::to_json(json_writer& j) const @@ -33829,32 +33829,32 @@ trace_start_ies_o::value_c& trace_start_ies_o::value_c::operator=(const trace_st } uint64_t& trace_start_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& trace_start_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } trace_activation_s& trace_start_ies_o::value_c::trace_activation() { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } const uint64_t& trace_start_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& trace_start_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const trace_activation_s& trace_start_ies_o::value_c::trace_activation() const { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } void trace_start_ies_o::value_c::to_json(json_writer& j) const @@ -34078,42 +34078,42 @@ ue_context_mod_fail_ies_o::value_c::operator=(const ue_context_mod_fail_ies_o::v } uint64_t& ue_context_mod_fail_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ue_context_mod_fail_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } cause_c& ue_context_mod_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& ue_context_mod_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ue_context_mod_fail_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ue_context_mod_fail_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const cause_c& ue_context_mod_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& ue_context_mod_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ue_context_mod_fail_ies_o::value_c::to_json(json_writer& j) const @@ -34465,114 +34465,114 @@ ue_context_mod_request_ies_o::value_c::operator=(const ue_context_mod_request_ie } uint64_t& ue_context_mod_request_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ue_context_mod_request_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } uint16_t& ue_context_mod_request_ies_o::value_c::ran_paging_prio() { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::ran_paging_prio, type_, "Value"); return c.get(); } fixed_bitstring<256, false, true>& ue_context_mod_request_ies_o::value_c::security_key() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::security_key, type_, "Value"); return c.get >(); } uint16_t& ue_context_mod_request_ies_o::value_c::idx_to_rfsp() { - assert_choice_type("INTEGER (1..256,...)", type_.to_string(), "Value"); + assert_choice_type(types::idx_to_rfsp, type_, "Value"); return c.get(); } ue_aggregate_maximum_bit_rate_s& ue_context_mod_request_ies_o::value_c::ue_aggregate_maximum_bit_rate() { - assert_choice_type("UEAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::ue_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } ue_security_cap_s& ue_context_mod_request_ies_o::value_c::ue_security_cap() { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } core_network_assist_info_s& ue_context_mod_request_ies_o::value_c::core_network_assist_info() { - assert_choice_type("CoreNetworkAssistanceInformation", type_.to_string(), "Value"); + assert_choice_type(types::core_network_assist_info, type_, "Value"); return c.get(); } emergency_fallback_ind_s& ue_context_mod_request_ies_o::value_c::emergency_fallback_ind() { - assert_choice_type("EmergencyFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::emergency_fallback_ind, type_, "Value"); return c.get(); } uint64_t& ue_context_mod_request_ies_o::value_c::new_amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::new_amf_ue_ngap_id, type_, "Value"); return c.get(); } rrc_inactive_transition_report_request_e& ue_context_mod_request_ies_o::value_c::rrc_inactive_transition_report_request() { - assert_choice_type("RRCInactiveTransitionReportRequest", type_.to_string(), "Value"); + assert_choice_type(types::rrc_inactive_transition_report_request, type_, "Value"); return c.get(); } const uint64_t& ue_context_mod_request_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ue_context_mod_request_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const uint16_t& ue_context_mod_request_ies_o::value_c::ran_paging_prio() const { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::ran_paging_prio, type_, "Value"); return c.get(); } const fixed_bitstring<256, false, true>& ue_context_mod_request_ies_o::value_c::security_key() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::security_key, type_, "Value"); return c.get >(); } const uint16_t& ue_context_mod_request_ies_o::value_c::idx_to_rfsp() const { - assert_choice_type("INTEGER (1..256,...)", type_.to_string(), "Value"); + assert_choice_type(types::idx_to_rfsp, type_, "Value"); return c.get(); } const ue_aggregate_maximum_bit_rate_s& ue_context_mod_request_ies_o::value_c::ue_aggregate_maximum_bit_rate() const { - assert_choice_type("UEAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::ue_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } const ue_security_cap_s& ue_context_mod_request_ies_o::value_c::ue_security_cap() const { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } const core_network_assist_info_s& ue_context_mod_request_ies_o::value_c::core_network_assist_info() const { - assert_choice_type("CoreNetworkAssistanceInformation", type_.to_string(), "Value"); + assert_choice_type(types::core_network_assist_info, type_, "Value"); return c.get(); } const emergency_fallback_ind_s& ue_context_mod_request_ies_o::value_c::emergency_fallback_ind() const { - assert_choice_type("EmergencyFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::emergency_fallback_ind, type_, "Value"); return c.get(); } const uint64_t& ue_context_mod_request_ies_o::value_c::new_amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::new_amf_ue_ngap_id, type_, "Value"); return c.get(); } const rrc_inactive_transition_report_request_e& ue_context_mod_request_ies_o::value_c::rrc_inactive_transition_report_request() const { - assert_choice_type("RRCInactiveTransitionReportRequest", type_.to_string(), "Value"); + assert_choice_type(types::rrc_inactive_transition_report_request, type_, "Value"); return c.get(); } void ue_context_mod_request_ies_o::value_c::to_json(json_writer& j) const @@ -34896,52 +34896,52 @@ ue_context_mod_resp_ies_o::value_c::operator=(const ue_context_mod_resp_ies_o::v } uint64_t& ue_context_mod_resp_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ue_context_mod_resp_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } rrc_state_e& ue_context_mod_resp_ies_o::value_c::rrc_state() { - assert_choice_type("RRCState", type_.to_string(), "Value"); + assert_choice_type(types::rrc_state, type_, "Value"); return c.get(); } user_location_info_c& ue_context_mod_resp_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } crit_diagnostics_s& ue_context_mod_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ue_context_mod_resp_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ue_context_mod_resp_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const rrc_state_e& ue_context_mod_resp_ies_o::value_c::rrc_state() const { - assert_choice_type("RRCState", type_.to_string(), "Value"); + assert_choice_type(types::rrc_state, type_, "Value"); return c.get(); } const user_location_info_c& ue_context_mod_resp_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const crit_diagnostics_s& ue_context_mod_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ue_context_mod_resp_ies_o::value_c::to_json(json_writer& j) const @@ -35158,22 +35158,22 @@ ue_context_release_cmd_ies_o::value_c::operator=(const ue_context_release_cmd_ie } ue_ngap_ids_c& ue_context_release_cmd_ies_o::value_c::ue_ngap_ids() { - assert_choice_type("UE-NGAP-IDs", type_.to_string(), "Value"); + assert_choice_type(types::ue_ngap_ids, type_, "Value"); return c.get(); } cause_c& ue_context_release_cmd_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const ue_ngap_ids_c& ue_context_release_cmd_ies_o::value_c::ue_ngap_ids() const { - assert_choice_type("UE-NGAP-IDs", type_.to_string(), "Value"); + assert_choice_type(types::ue_ngap_ids, type_, "Value"); return c.get(); } const cause_c& ue_context_release_cmd_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } void ue_context_release_cmd_ies_o::value_c::to_json(json_writer& j) const @@ -35427,65 +35427,65 @@ ue_context_release_complete_ies_o::value_c::operator=(const ue_context_release_c } uint64_t& ue_context_release_complete_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ue_context_release_complete_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } user_location_info_c& ue_context_release_complete_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } info_on_recommended_cells_and_ran_nodes_for_paging_s& ue_context_release_complete_ies_o::value_c::info_on_recommended_cells_and_ran_nodes_for_paging() { - assert_choice_type("InfoOnRecommendedCellsAndRANNodesForPaging", type_.to_string(), "Value"); + assert_choice_type(types::info_on_recommended_cells_and_ran_nodes_for_paging, type_, "Value"); return c.get(); } pdu_session_res_list_cxt_rel_cpl_l& ue_context_release_complete_ies_o::value_c::pdu_session_res_list_cxt_rel_cpl() { - assert_choice_type("PDUSessionResourceListCxtRelCpl", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_list_cxt_rel_cpl, type_, "Value"); return c.get(); } crit_diagnostics_s& ue_context_release_complete_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ue_context_release_complete_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ue_context_release_complete_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const user_location_info_c& ue_context_release_complete_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const info_on_recommended_cells_and_ran_nodes_for_paging_s& ue_context_release_complete_ies_o::value_c::info_on_recommended_cells_and_ran_nodes_for_paging() const { - assert_choice_type("InfoOnRecommendedCellsAndRANNodesForPaging", type_.to_string(), "Value"); + assert_choice_type(types::info_on_recommended_cells_and_ran_nodes_for_paging, type_, "Value"); return c.get(); } const pdu_session_res_list_cxt_rel_cpl_l& ue_context_release_complete_ies_o::value_c::pdu_session_res_list_cxt_rel_cpl() const { - assert_choice_type("PDUSessionResourceListCxtRelCpl", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_list_cxt_rel_cpl, type_, "Value"); return c.get(); } const crit_diagnostics_s& ue_context_release_complete_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ue_context_release_complete_ies_o::value_c::to_json(json_writer& j) const @@ -35747,43 +35747,43 @@ ue_context_release_request_ies_o::value_c::operator=(const ue_context_release_re } uint64_t& ue_context_release_request_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ue_context_release_request_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } pdu_session_res_list_cxt_rel_req_l& ue_context_release_request_ies_o::value_c::pdu_session_res_list_cxt_rel_req() { - assert_choice_type("PDUSessionResourceListCxtRelReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_list_cxt_rel_req, type_, "Value"); return c.get(); } cause_c& ue_context_release_request_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const uint64_t& ue_context_release_request_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ue_context_release_request_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const pdu_session_res_list_cxt_rel_req_l& ue_context_release_request_ies_o::value_c::pdu_session_res_list_cxt_rel_req() const { - assert_choice_type("PDUSessionResourceListCxtRelReq", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_res_list_cxt_rel_req, type_, "Value"); return c.get(); } const cause_c& ue_context_release_request_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } void ue_context_release_request_ies_o::value_c::to_json(json_writer& j) const @@ -36002,32 +36002,32 @@ ue_radio_cap_check_request_ies_o::value_c::operator=(const ue_radio_cap_check_re } uint64_t& ue_radio_cap_check_request_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ue_radio_cap_check_request_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } unbounded_octstring& ue_radio_cap_check_request_ies_o::value_c::ue_radio_cap() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } const uint64_t& ue_radio_cap_check_request_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ue_radio_cap_check_request_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const unbounded_octstring& ue_radio_cap_check_request_ies_o::value_c::ue_radio_cap() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } void ue_radio_cap_check_request_ies_o::value_c::to_json(json_writer& j) const @@ -36246,42 +36246,42 @@ ue_radio_cap_check_resp_ies_o::value_c::operator=(const ue_radio_cap_check_resp_ } uint64_t& ue_radio_cap_check_resp_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ue_radio_cap_check_resp_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } ims_voice_support_ind_e& ue_radio_cap_check_resp_ies_o::value_c::ims_voice_support_ind() { - assert_choice_type("IMSVoiceSupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ims_voice_support_ind, type_, "Value"); return c.get(); } crit_diagnostics_s& ue_radio_cap_check_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ue_radio_cap_check_resp_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ue_radio_cap_check_resp_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const ims_voice_support_ind_e& ue_radio_cap_check_resp_ies_o::value_c::ims_voice_support_ind() const { - assert_choice_type("IMSVoiceSupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ims_voice_support_ind, type_, "Value"); return c.get(); } const crit_diagnostics_s& ue_radio_cap_check_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ue_radio_cap_check_resp_ies_o::value_c::to_json(json_writer& j) const @@ -36515,42 +36515,42 @@ ue_radio_cap_info_ind_ies_o::value_c::operator=(const ue_radio_cap_info_ind_ies_ } uint64_t& ue_radio_cap_info_ind_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ue_radio_cap_info_ind_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } unbounded_octstring& ue_radio_cap_info_ind_ies_o::value_c::ue_radio_cap() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } ue_radio_cap_for_paging_s& ue_radio_cap_info_ind_ies_o::value_c::ue_radio_cap_for_paging() { - assert_choice_type("UERadioCapabilityForPaging", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap_for_paging, type_, "Value"); return c.get(); } const uint64_t& ue_radio_cap_info_ind_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ue_radio_cap_info_ind_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const unbounded_octstring& ue_radio_cap_info_ind_ies_o::value_c::ue_radio_cap() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } const ue_radio_cap_for_paging_s& ue_radio_cap_info_ind_ies_o::value_c::ue_radio_cap_for_paging() const { - assert_choice_type("UERadioCapabilityForPaging", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap_for_paging, type_, "Value"); return c.get(); } void ue_radio_cap_info_ind_ies_o::value_c::to_json(json_writer& j) const @@ -36730,22 +36730,22 @@ uetnla_binding_release_request_ies_o::value_c::operator=(const uetnla_binding_re } uint64_t& uetnla_binding_release_request_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& uetnla_binding_release_request_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& uetnla_binding_release_request_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& uetnla_binding_release_request_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } void uetnla_binding_release_request_ies_o::value_c::to_json(json_writer& j) const @@ -36959,42 +36959,42 @@ ul_nas_transport_ies_o::value_c::operator=(const ul_nas_transport_ies_o::value_c } uint64_t& ul_nas_transport_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ul_nas_transport_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } unbounded_octstring& ul_nas_transport_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } user_location_info_c& ul_nas_transport_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const uint64_t& ul_nas_transport_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ul_nas_transport_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const unbounded_octstring& ul_nas_transport_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const user_location_info_c& ul_nas_transport_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } void ul_nas_transport_ies_o::value_c::to_json(json_writer& j) const @@ -37200,22 +37200,22 @@ ul_non_ueassociated_nrp_pa_transport_ies_o::value_c& ul_non_ueassociated_nrp_pa_ } unbounded_octstring& ul_non_ueassociated_nrp_pa_transport_ies_o::value_c::routing_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get >(); } unbounded_octstring& ul_non_ueassociated_nrp_pa_transport_ies_o::value_c::nrp_pa_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nrp_pa_pdu, type_, "Value"); return c.get >(); } const unbounded_octstring& ul_non_ueassociated_nrp_pa_transport_ies_o::value_c::routing_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get >(); } const unbounded_octstring& ul_non_ueassociated_nrp_pa_transport_ies_o::value_c::nrp_pa_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nrp_pa_pdu, type_, "Value"); return c.get >(); } void ul_non_ueassociated_nrp_pa_transport_ies_o::value_c::to_json(json_writer& j) const @@ -37399,22 +37399,22 @@ ul_ran_cfg_transfer_ies_o::value_c::operator=(const ul_ran_cfg_transfer_ies_o::v } son_cfg_transfer_s& ul_ran_cfg_transfer_ies_o::value_c::son_cfg_transfer_ul() { - assert_choice_type("SONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::son_cfg_transfer_ul, type_, "Value"); return c.get(); } unbounded_octstring& ul_ran_cfg_transfer_ies_o::value_c::endc_son_cfg_transfer_ul() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::endc_son_cfg_transfer_ul, type_, "Value"); return c.get >(); } const son_cfg_transfer_s& ul_ran_cfg_transfer_ies_o::value_c::son_cfg_transfer_ul() const { - assert_choice_type("SONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::son_cfg_transfer_ul, type_, "Value"); return c.get(); } const unbounded_octstring& ul_ran_cfg_transfer_ies_o::value_c::endc_son_cfg_transfer_ul() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::endc_son_cfg_transfer_ul, type_, "Value"); return c.get >(); } void ul_ran_cfg_transfer_ies_o::value_c::to_json(json_writer& j) const @@ -37610,34 +37610,34 @@ ul_ran_status_transfer_ies_o::value_c::operator=(const ul_ran_status_transfer_ie } uint64_t& ul_ran_status_transfer_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ul_ran_status_transfer_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } ran_status_transfer_transparent_container_s& ul_ran_status_transfer_ies_o::value_c::ran_status_transfer_transparent_container() { - assert_choice_type("RANStatusTransfer-TransparentContainer", type_.to_string(), "Value"); + assert_choice_type(types::ran_status_transfer_transparent_container, type_, "Value"); return c.get(); } const uint64_t& ul_ran_status_transfer_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ul_ran_status_transfer_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const ran_status_transfer_transparent_container_s& ul_ran_status_transfer_ies_o::value_c::ran_status_transfer_transparent_container() const { - assert_choice_type("RANStatusTransfer-TransparentContainer", type_.to_string(), "Value"); + assert_choice_type(types::ran_status_transfer_transparent_container, type_, "Value"); return c.get(); } void ul_ran_status_transfer_ies_o::value_c::to_json(json_writer& j) const @@ -37862,42 +37862,42 @@ ul_ueassociated_nrp_pa_transport_ies_o::value_c::operator=(const ul_ueassociated } uint64_t& ul_ueassociated_nrp_pa_transport_ies_o::value_c::amf_ue_ngap_id() { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } uint64_t& ul_ueassociated_nrp_pa_transport_ies_o::value_c::ran_ue_ngap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } unbounded_octstring& ul_ueassociated_nrp_pa_transport_ies_o::value_c::routing_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get >(); } unbounded_octstring& ul_ueassociated_nrp_pa_transport_ies_o::value_c::nrp_pa_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nrp_pa_pdu, type_, "Value"); return c.get >(); } const uint64_t& ul_ueassociated_nrp_pa_transport_ies_o::value_c::amf_ue_ngap_id() const { - assert_choice_type("INTEGER (0..1099511627775)", type_.to_string(), "Value"); + assert_choice_type(types::amf_ue_ngap_id, type_, "Value"); return c.get(); } const uint64_t& ul_ueassociated_nrp_pa_transport_ies_o::value_c::ran_ue_ngap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::ran_ue_ngap_id, type_, "Value"); return c.get(); } const unbounded_octstring& ul_ueassociated_nrp_pa_transport_ies_o::value_c::routing_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get >(); } const unbounded_octstring& ul_ueassociated_nrp_pa_transport_ies_o::value_c::nrp_pa_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nrp_pa_pdu, type_, "Value"); return c.get >(); } void ul_ueassociated_nrp_pa_transport_ies_o::value_c::to_json(json_writer& j) const @@ -38259,112 +38259,112 @@ write_replace_warning_request_ies_o::value_c::operator=(const write_replace_warn } fixed_bitstring<16, false, true>& write_replace_warning_request_ies_o::value_c::msg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } fixed_bitstring<16, false, true>& write_replace_warning_request_ies_o::value_c::serial_num() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } warning_area_list_c& write_replace_warning_request_ies_o::value_c::warning_area_list() { - assert_choice_type("WarningAreaList", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_list, type_, "Value"); return c.get(); } uint32_t& write_replace_warning_request_ies_o::value_c::repeat_period() { - assert_choice_type("INTEGER (0..131071)", type_.to_string(), "Value"); + assert_choice_type(types::repeat_period, type_, "Value"); return c.get(); } uint32_t& write_replace_warning_request_ies_o::value_c::nof_broadcasts_requested() { - assert_choice_type("INTEGER (0..65535)", type_.to_string(), "Value"); + assert_choice_type(types::nof_broadcasts_requested, type_, "Value"); return c.get(); } fixed_octstring<2, true>& write_replace_warning_request_ies_o::value_c::warning_type() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_type, type_, "Value"); return c.get >(); } fixed_octstring<50, true>& write_replace_warning_request_ies_o::value_c::warning_security_info() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_security_info, type_, "Value"); return c.get >(); } fixed_bitstring<8, false, true>& write_replace_warning_request_ies_o::value_c::data_coding_scheme() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::data_coding_scheme, type_, "Value"); return c.get >(); } bounded_octstring<1, 9600, true>& write_replace_warning_request_ies_o::value_c::warning_msg_contents() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_msg_contents, type_, "Value"); return c.get >(); } concurrent_warning_msg_ind_e& write_replace_warning_request_ies_o::value_c::concurrent_warning_msg_ind() { - assert_choice_type("ConcurrentWarningMessageInd", type_.to_string(), "Value"); + assert_choice_type(types::concurrent_warning_msg_ind, type_, "Value"); return c.get(); } bounded_octstring<1, 1024, true>& write_replace_warning_request_ies_o::value_c::warning_area_coordinates() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_coordinates, type_, "Value"); return c.get >(); } const fixed_bitstring<16, false, true>& write_replace_warning_request_ies_o::value_c::msg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } const fixed_bitstring<16, false, true>& write_replace_warning_request_ies_o::value_c::serial_num() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } const warning_area_list_c& write_replace_warning_request_ies_o::value_c::warning_area_list() const { - assert_choice_type("WarningAreaList", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_list, type_, "Value"); return c.get(); } const uint32_t& write_replace_warning_request_ies_o::value_c::repeat_period() const { - assert_choice_type("INTEGER (0..131071)", type_.to_string(), "Value"); + assert_choice_type(types::repeat_period, type_, "Value"); return c.get(); } const uint32_t& write_replace_warning_request_ies_o::value_c::nof_broadcasts_requested() const { - assert_choice_type("INTEGER (0..65535)", type_.to_string(), "Value"); + assert_choice_type(types::nof_broadcasts_requested, type_, "Value"); return c.get(); } const fixed_octstring<2, true>& write_replace_warning_request_ies_o::value_c::warning_type() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_type, type_, "Value"); return c.get >(); } const fixed_octstring<50, true>& write_replace_warning_request_ies_o::value_c::warning_security_info() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_security_info, type_, "Value"); return c.get >(); } const fixed_bitstring<8, false, true>& write_replace_warning_request_ies_o::value_c::data_coding_scheme() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::data_coding_scheme, type_, "Value"); return c.get >(); } const bounded_octstring<1, 9600, true>& write_replace_warning_request_ies_o::value_c::warning_msg_contents() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_msg_contents, type_, "Value"); return c.get >(); } const concurrent_warning_msg_ind_e& write_replace_warning_request_ies_o::value_c::concurrent_warning_msg_ind() const { - assert_choice_type("ConcurrentWarningMessageInd", type_.to_string(), "Value"); + assert_choice_type(types::concurrent_warning_msg_ind, type_, "Value"); return c.get(); } const bounded_octstring<1, 1024, true>& write_replace_warning_request_ies_o::value_c::warning_area_coordinates() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_coordinates, type_, "Value"); return c.get >(); } void write_replace_warning_request_ies_o::value_c::to_json(json_writer& j) const @@ -38678,42 +38678,42 @@ write_replace_warning_resp_ies_o::value_c::operator=(const write_replace_warning } fixed_bitstring<16, false, true>& write_replace_warning_resp_ies_o::value_c::msg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } fixed_bitstring<16, false, true>& write_replace_warning_resp_ies_o::value_c::serial_num() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } broadcast_completed_area_list_c& write_replace_warning_resp_ies_o::value_c::broadcast_completed_area_list() { - assert_choice_type("BroadcastCompletedAreaList", type_.to_string(), "Value"); + assert_choice_type(types::broadcast_completed_area_list, type_, "Value"); return c.get(); } crit_diagnostics_s& write_replace_warning_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const fixed_bitstring<16, false, true>& write_replace_warning_resp_ies_o::value_c::msg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } const fixed_bitstring<16, false, true>& write_replace_warning_resp_ies_o::value_c::serial_num() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } const broadcast_completed_area_list_c& write_replace_warning_resp_ies_o::value_c::broadcast_completed_area_list() const { - assert_choice_type("BroadcastCompletedAreaList", type_.to_string(), "Value"); + assert_choice_type(types::broadcast_completed_area_list, type_, "Value"); return c.get(); } const crit_diagnostics_s& write_replace_warning_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void write_replace_warning_resp_ies_o::value_c::to_json(json_writer& j) const @@ -45975,534 +45975,534 @@ ngap_elem_procs_o::init_msg_c& ngap_elem_procs_o::init_msg_c::operator=(const ng } amf_cfg_upd_s& ngap_elem_procs_o::init_msg_c::amf_cfg_upd() { - assert_choice_type("AMFConfigurationUpdate", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::amf_cfg_upd, type_, "InitiatingMessage"); return c.get(); } ho_cancel_s& ngap_elem_procs_o::init_msg_c::ho_cancel() { - assert_choice_type("HandoverCancel", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_cancel, type_, "InitiatingMessage"); return c.get(); } ho_required_s& ngap_elem_procs_o::init_msg_c::ho_required() { - assert_choice_type("HandoverRequired", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_required, type_, "InitiatingMessage"); return c.get(); } ho_request_s& ngap_elem_procs_o::init_msg_c::ho_request() { - assert_choice_type("HandoverRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_request, type_, "InitiatingMessage"); return c.get(); } init_context_setup_request_s& ngap_elem_procs_o::init_msg_c::init_context_setup_request() { - assert_choice_type("InitialContextSetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::init_context_setup_request, type_, "InitiatingMessage"); return c.get(); } ng_reset_s& ngap_elem_procs_o::init_msg_c::ng_reset() { - assert_choice_type("NGReset", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ng_reset, type_, "InitiatingMessage"); return c.get(); } ng_setup_request_s& ngap_elem_procs_o::init_msg_c::ng_setup_request() { - assert_choice_type("NGSetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ng_setup_request, type_, "InitiatingMessage"); return c.get(); } path_switch_request_s& ngap_elem_procs_o::init_msg_c::path_switch_request() { - assert_choice_type("PathSwitchRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::path_switch_request, type_, "InitiatingMessage"); return c.get(); } pdu_session_res_modify_request_s& ngap_elem_procs_o::init_msg_c::pdu_session_res_modify_request() { - assert_choice_type("PDUSessionResourceModifyRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pdu_session_res_modify_request, type_, "InitiatingMessage"); return c.get(); } pdu_session_res_modify_ind_s& ngap_elem_procs_o::init_msg_c::pdu_session_res_modify_ind() { - assert_choice_type("PDUSessionResourceModifyIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pdu_session_res_modify_ind, type_, "InitiatingMessage"); return c.get(); } pdu_session_res_release_cmd_s& ngap_elem_procs_o::init_msg_c::pdu_session_res_release_cmd() { - assert_choice_type("PDUSessionResourceReleaseCommand", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pdu_session_res_release_cmd, type_, "InitiatingMessage"); return c.get(); } pdu_session_res_setup_request_s& ngap_elem_procs_o::init_msg_c::pdu_session_res_setup_request() { - assert_choice_type("PDUSessionResourceSetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pdu_session_res_setup_request, type_, "InitiatingMessage"); return c.get(); } pws_cancel_request_s& ngap_elem_procs_o::init_msg_c::pws_cancel_request() { - assert_choice_type("PWSCancelRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pws_cancel_request, type_, "InitiatingMessage"); return c.get(); } ran_cfg_upd_s& ngap_elem_procs_o::init_msg_c::ran_cfg_upd() { - assert_choice_type("RANConfigurationUpdate", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ran_cfg_upd, type_, "InitiatingMessage"); return c.get(); } ue_context_mod_request_s& ngap_elem_procs_o::init_msg_c::ue_context_mod_request() { - assert_choice_type("UEContextModificationRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_mod_request, type_, "InitiatingMessage"); return c.get(); } ue_context_release_cmd_s& ngap_elem_procs_o::init_msg_c::ue_context_release_cmd() { - assert_choice_type("UEContextReleaseCommand", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_release_cmd, type_, "InitiatingMessage"); return c.get(); } ue_radio_cap_check_request_s& ngap_elem_procs_o::init_msg_c::ue_radio_cap_check_request() { - assert_choice_type("UERadioCapabilityCheckRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_radio_cap_check_request, type_, "InitiatingMessage"); return c.get(); } write_replace_warning_request_s& ngap_elem_procs_o::init_msg_c::write_replace_warning_request() { - assert_choice_type("WriteReplaceWarningRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::write_replace_warning_request, type_, "InitiatingMessage"); return c.get(); } amf_status_ind_s& ngap_elem_procs_o::init_msg_c::amf_status_ind() { - assert_choice_type("AMFStatusIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::amf_status_ind, type_, "InitiatingMessage"); return c.get(); } cell_traffic_trace_s& ngap_elem_procs_o::init_msg_c::cell_traffic_trace() { - assert_choice_type("CellTrafficTrace", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::cell_traffic_trace, type_, "InitiatingMessage"); return c.get(); } deactiv_trace_s& ngap_elem_procs_o::init_msg_c::deactiv_trace() { - assert_choice_type("DeactivateTrace", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::deactiv_trace, type_, "InitiatingMessage"); return c.get(); } dl_nas_transport_s& ngap_elem_procs_o::init_msg_c::dl_nas_transport() { - assert_choice_type("DownlinkNASTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_nas_transport, type_, "InitiatingMessage"); return c.get(); } dl_non_ueassociated_nrp_pa_transport_s& ngap_elem_procs_o::init_msg_c::dl_non_ueassociated_nrp_pa_transport() { - assert_choice_type("DownlinkNonUEAssociatedNRPPaTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_non_ueassociated_nrp_pa_transport, type_, "InitiatingMessage"); return c.get(); } dl_ran_cfg_transfer_s& ngap_elem_procs_o::init_msg_c::dl_ran_cfg_transfer() { - assert_choice_type("DownlinkRANConfigurationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_ran_cfg_transfer, type_, "InitiatingMessage"); return c.get(); } dl_ran_status_transfer_s& ngap_elem_procs_o::init_msg_c::dl_ran_status_transfer() { - assert_choice_type("DownlinkRANStatusTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_ran_status_transfer, type_, "InitiatingMessage"); return c.get(); } dl_ueassociated_nrp_pa_transport_s& ngap_elem_procs_o::init_msg_c::dl_ueassociated_nrp_pa_transport() { - assert_choice_type("DownlinkUEAssociatedNRPPaTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_ueassociated_nrp_pa_transport, type_, "InitiatingMessage"); return c.get(); } error_ind_s& ngap_elem_procs_o::init_msg_c::error_ind() { - assert_choice_type("ErrorIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::error_ind, type_, "InitiatingMessage"); return c.get(); } ho_notify_s& ngap_elem_procs_o::init_msg_c::ho_notify() { - assert_choice_type("HandoverNotify", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_notify, type_, "InitiatingMessage"); return c.get(); } init_ue_msg_s& ngap_elem_procs_o::init_msg_c::init_ue_msg() { - assert_choice_type("InitialUEMessage", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::init_ue_msg, type_, "InitiatingMessage"); return c.get(); } location_report_s& ngap_elem_procs_o::init_msg_c::location_report() { - assert_choice_type("LocationReport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report, type_, "InitiatingMessage"); return c.get(); } location_report_ctrl_s& ngap_elem_procs_o::init_msg_c::location_report_ctrl() { - assert_choice_type("LocationReportingControl", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report_ctrl, type_, "InitiatingMessage"); return c.get(); } location_report_fail_ind_s& ngap_elem_procs_o::init_msg_c::location_report_fail_ind() { - assert_choice_type("LocationReportingFailureIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report_fail_ind, type_, "InitiatingMessage"); return c.get(); } nas_non_delivery_ind_s& ngap_elem_procs_o::init_msg_c::nas_non_delivery_ind() { - assert_choice_type("NASNonDeliveryIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::nas_non_delivery_ind, type_, "InitiatingMessage"); return c.get(); } overload_start_s& ngap_elem_procs_o::init_msg_c::overload_start() { - assert_choice_type("OverloadStart", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::overload_start, type_, "InitiatingMessage"); return c.get(); } overload_stop_s& ngap_elem_procs_o::init_msg_c::overload_stop() { - assert_choice_type("OverloadStop", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::overload_stop, type_, "InitiatingMessage"); return c.get(); } paging_s& ngap_elem_procs_o::init_msg_c::paging() { - assert_choice_type("Paging", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::paging, type_, "InitiatingMessage"); return c.get(); } pdu_session_res_notify_s& ngap_elem_procs_o::init_msg_c::pdu_session_res_notify() { - assert_choice_type("PDUSessionResourceNotify", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pdu_session_res_notify, type_, "InitiatingMessage"); return c.get(); } private_msg_s& ngap_elem_procs_o::init_msg_c::private_msg() { - assert_choice_type("PrivateMessage", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::private_msg, type_, "InitiatingMessage"); return c.get(); } pws_fail_ind_s& ngap_elem_procs_o::init_msg_c::pws_fail_ind() { - assert_choice_type("PWSFailureIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pws_fail_ind, type_, "InitiatingMessage"); return c.get(); } pws_restart_ind_s& ngap_elem_procs_o::init_msg_c::pws_restart_ind() { - assert_choice_type("PWSRestartIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pws_restart_ind, type_, "InitiatingMessage"); return c.get(); } reroute_nas_request_s& ngap_elem_procs_o::init_msg_c::reroute_nas_request() { - assert_choice_type("RerouteNASRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::reroute_nas_request, type_, "InitiatingMessage"); return c.get(); } rrc_inactive_transition_report_s& ngap_elem_procs_o::init_msg_c::rrc_inactive_transition_report() { - assert_choice_type("RRCInactiveTransitionReport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::rrc_inactive_transition_report, type_, "InitiatingMessage"); return c.get(); } secondary_rat_data_usage_report_s& ngap_elem_procs_o::init_msg_c::secondary_rat_data_usage_report() { - assert_choice_type("SecondaryRATDataUsageReport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::secondary_rat_data_usage_report, type_, "InitiatingMessage"); return c.get(); } trace_fail_ind_s& ngap_elem_procs_o::init_msg_c::trace_fail_ind() { - assert_choice_type("TraceFailureIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::trace_fail_ind, type_, "InitiatingMessage"); return c.get(); } trace_start_s& ngap_elem_procs_o::init_msg_c::trace_start() { - assert_choice_type("TraceStart", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::trace_start, type_, "InitiatingMessage"); return c.get(); } ue_context_release_request_s& ngap_elem_procs_o::init_msg_c::ue_context_release_request() { - assert_choice_type("UEContextReleaseRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_release_request, type_, "InitiatingMessage"); return c.get(); } ue_radio_cap_info_ind_s& ngap_elem_procs_o::init_msg_c::ue_radio_cap_info_ind() { - assert_choice_type("UERadioCapabilityInfoIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_radio_cap_info_ind, type_, "InitiatingMessage"); return c.get(); } uetnla_binding_release_request_s& ngap_elem_procs_o::init_msg_c::uetnla_binding_release_request() { - assert_choice_type("UETNLABindingReleaseRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::uetnla_binding_release_request, type_, "InitiatingMessage"); return c.get(); } ul_nas_transport_s& ngap_elem_procs_o::init_msg_c::ul_nas_transport() { - assert_choice_type("UplinkNASTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_nas_transport, type_, "InitiatingMessage"); return c.get(); } ul_non_ueassociated_nrp_pa_transport_s& ngap_elem_procs_o::init_msg_c::ul_non_ueassociated_nrp_pa_transport() { - assert_choice_type("UplinkNonUEAssociatedNRPPaTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_non_ueassociated_nrp_pa_transport, type_, "InitiatingMessage"); return c.get(); } ul_ran_cfg_transfer_s& ngap_elem_procs_o::init_msg_c::ul_ran_cfg_transfer() { - assert_choice_type("UplinkRANConfigurationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_ran_cfg_transfer, type_, "InitiatingMessage"); return c.get(); } ul_ran_status_transfer_s& ngap_elem_procs_o::init_msg_c::ul_ran_status_transfer() { - assert_choice_type("UplinkRANStatusTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_ran_status_transfer, type_, "InitiatingMessage"); return c.get(); } ul_ueassociated_nrp_pa_transport_s& ngap_elem_procs_o::init_msg_c::ul_ueassociated_nrp_pa_transport() { - assert_choice_type("UplinkUEAssociatedNRPPaTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_ueassociated_nrp_pa_transport, type_, "InitiatingMessage"); return c.get(); } const amf_cfg_upd_s& ngap_elem_procs_o::init_msg_c::amf_cfg_upd() const { - assert_choice_type("AMFConfigurationUpdate", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::amf_cfg_upd, type_, "InitiatingMessage"); return c.get(); } const ho_cancel_s& ngap_elem_procs_o::init_msg_c::ho_cancel() const { - assert_choice_type("HandoverCancel", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_cancel, type_, "InitiatingMessage"); return c.get(); } const ho_required_s& ngap_elem_procs_o::init_msg_c::ho_required() const { - assert_choice_type("HandoverRequired", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_required, type_, "InitiatingMessage"); return c.get(); } const ho_request_s& ngap_elem_procs_o::init_msg_c::ho_request() const { - assert_choice_type("HandoverRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_request, type_, "InitiatingMessage"); return c.get(); } const init_context_setup_request_s& ngap_elem_procs_o::init_msg_c::init_context_setup_request() const { - assert_choice_type("InitialContextSetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::init_context_setup_request, type_, "InitiatingMessage"); return c.get(); } const ng_reset_s& ngap_elem_procs_o::init_msg_c::ng_reset() const { - assert_choice_type("NGReset", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ng_reset, type_, "InitiatingMessage"); return c.get(); } const ng_setup_request_s& ngap_elem_procs_o::init_msg_c::ng_setup_request() const { - assert_choice_type("NGSetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ng_setup_request, type_, "InitiatingMessage"); return c.get(); } const path_switch_request_s& ngap_elem_procs_o::init_msg_c::path_switch_request() const { - assert_choice_type("PathSwitchRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::path_switch_request, type_, "InitiatingMessage"); return c.get(); } const pdu_session_res_modify_request_s& ngap_elem_procs_o::init_msg_c::pdu_session_res_modify_request() const { - assert_choice_type("PDUSessionResourceModifyRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pdu_session_res_modify_request, type_, "InitiatingMessage"); return c.get(); } const pdu_session_res_modify_ind_s& ngap_elem_procs_o::init_msg_c::pdu_session_res_modify_ind() const { - assert_choice_type("PDUSessionResourceModifyIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pdu_session_res_modify_ind, type_, "InitiatingMessage"); return c.get(); } const pdu_session_res_release_cmd_s& ngap_elem_procs_o::init_msg_c::pdu_session_res_release_cmd() const { - assert_choice_type("PDUSessionResourceReleaseCommand", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pdu_session_res_release_cmd, type_, "InitiatingMessage"); return c.get(); } const pdu_session_res_setup_request_s& ngap_elem_procs_o::init_msg_c::pdu_session_res_setup_request() const { - assert_choice_type("PDUSessionResourceSetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pdu_session_res_setup_request, type_, "InitiatingMessage"); return c.get(); } const pws_cancel_request_s& ngap_elem_procs_o::init_msg_c::pws_cancel_request() const { - assert_choice_type("PWSCancelRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pws_cancel_request, type_, "InitiatingMessage"); return c.get(); } const ran_cfg_upd_s& ngap_elem_procs_o::init_msg_c::ran_cfg_upd() const { - assert_choice_type("RANConfigurationUpdate", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ran_cfg_upd, type_, "InitiatingMessage"); return c.get(); } const ue_context_mod_request_s& ngap_elem_procs_o::init_msg_c::ue_context_mod_request() const { - assert_choice_type("UEContextModificationRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_mod_request, type_, "InitiatingMessage"); return c.get(); } const ue_context_release_cmd_s& ngap_elem_procs_o::init_msg_c::ue_context_release_cmd() const { - assert_choice_type("UEContextReleaseCommand", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_release_cmd, type_, "InitiatingMessage"); return c.get(); } const ue_radio_cap_check_request_s& ngap_elem_procs_o::init_msg_c::ue_radio_cap_check_request() const { - assert_choice_type("UERadioCapabilityCheckRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_radio_cap_check_request, type_, "InitiatingMessage"); return c.get(); } const write_replace_warning_request_s& ngap_elem_procs_o::init_msg_c::write_replace_warning_request() const { - assert_choice_type("WriteReplaceWarningRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::write_replace_warning_request, type_, "InitiatingMessage"); return c.get(); } const amf_status_ind_s& ngap_elem_procs_o::init_msg_c::amf_status_ind() const { - assert_choice_type("AMFStatusIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::amf_status_ind, type_, "InitiatingMessage"); return c.get(); } const cell_traffic_trace_s& ngap_elem_procs_o::init_msg_c::cell_traffic_trace() const { - assert_choice_type("CellTrafficTrace", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::cell_traffic_trace, type_, "InitiatingMessage"); return c.get(); } const deactiv_trace_s& ngap_elem_procs_o::init_msg_c::deactiv_trace() const { - assert_choice_type("DeactivateTrace", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::deactiv_trace, type_, "InitiatingMessage"); return c.get(); } const dl_nas_transport_s& ngap_elem_procs_o::init_msg_c::dl_nas_transport() const { - assert_choice_type("DownlinkNASTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_nas_transport, type_, "InitiatingMessage"); return c.get(); } const dl_non_ueassociated_nrp_pa_transport_s& ngap_elem_procs_o::init_msg_c::dl_non_ueassociated_nrp_pa_transport() const { - assert_choice_type("DownlinkNonUEAssociatedNRPPaTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_non_ueassociated_nrp_pa_transport, type_, "InitiatingMessage"); return c.get(); } const dl_ran_cfg_transfer_s& ngap_elem_procs_o::init_msg_c::dl_ran_cfg_transfer() const { - assert_choice_type("DownlinkRANConfigurationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_ran_cfg_transfer, type_, "InitiatingMessage"); return c.get(); } const dl_ran_status_transfer_s& ngap_elem_procs_o::init_msg_c::dl_ran_status_transfer() const { - assert_choice_type("DownlinkRANStatusTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_ran_status_transfer, type_, "InitiatingMessage"); return c.get(); } const dl_ueassociated_nrp_pa_transport_s& ngap_elem_procs_o::init_msg_c::dl_ueassociated_nrp_pa_transport() const { - assert_choice_type("DownlinkUEAssociatedNRPPaTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_ueassociated_nrp_pa_transport, type_, "InitiatingMessage"); return c.get(); } const error_ind_s& ngap_elem_procs_o::init_msg_c::error_ind() const { - assert_choice_type("ErrorIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::error_ind, type_, "InitiatingMessage"); return c.get(); } const ho_notify_s& ngap_elem_procs_o::init_msg_c::ho_notify() const { - assert_choice_type("HandoverNotify", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_notify, type_, "InitiatingMessage"); return c.get(); } const init_ue_msg_s& ngap_elem_procs_o::init_msg_c::init_ue_msg() const { - assert_choice_type("InitialUEMessage", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::init_ue_msg, type_, "InitiatingMessage"); return c.get(); } const location_report_s& ngap_elem_procs_o::init_msg_c::location_report() const { - assert_choice_type("LocationReport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report, type_, "InitiatingMessage"); return c.get(); } const location_report_ctrl_s& ngap_elem_procs_o::init_msg_c::location_report_ctrl() const { - assert_choice_type("LocationReportingControl", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report_ctrl, type_, "InitiatingMessage"); return c.get(); } const location_report_fail_ind_s& ngap_elem_procs_o::init_msg_c::location_report_fail_ind() const { - assert_choice_type("LocationReportingFailureIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report_fail_ind, type_, "InitiatingMessage"); return c.get(); } const nas_non_delivery_ind_s& ngap_elem_procs_o::init_msg_c::nas_non_delivery_ind() const { - assert_choice_type("NASNonDeliveryIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::nas_non_delivery_ind, type_, "InitiatingMessage"); return c.get(); } const overload_start_s& ngap_elem_procs_o::init_msg_c::overload_start() const { - assert_choice_type("OverloadStart", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::overload_start, type_, "InitiatingMessage"); return c.get(); } const overload_stop_s& ngap_elem_procs_o::init_msg_c::overload_stop() const { - assert_choice_type("OverloadStop", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::overload_stop, type_, "InitiatingMessage"); return c.get(); } const paging_s& ngap_elem_procs_o::init_msg_c::paging() const { - assert_choice_type("Paging", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::paging, type_, "InitiatingMessage"); return c.get(); } const pdu_session_res_notify_s& ngap_elem_procs_o::init_msg_c::pdu_session_res_notify() const { - assert_choice_type("PDUSessionResourceNotify", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pdu_session_res_notify, type_, "InitiatingMessage"); return c.get(); } const private_msg_s& ngap_elem_procs_o::init_msg_c::private_msg() const { - assert_choice_type("PrivateMessage", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::private_msg, type_, "InitiatingMessage"); return c.get(); } const pws_fail_ind_s& ngap_elem_procs_o::init_msg_c::pws_fail_ind() const { - assert_choice_type("PWSFailureIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pws_fail_ind, type_, "InitiatingMessage"); return c.get(); } const pws_restart_ind_s& ngap_elem_procs_o::init_msg_c::pws_restart_ind() const { - assert_choice_type("PWSRestartIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::pws_restart_ind, type_, "InitiatingMessage"); return c.get(); } const reroute_nas_request_s& ngap_elem_procs_o::init_msg_c::reroute_nas_request() const { - assert_choice_type("RerouteNASRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::reroute_nas_request, type_, "InitiatingMessage"); return c.get(); } const rrc_inactive_transition_report_s& ngap_elem_procs_o::init_msg_c::rrc_inactive_transition_report() const { - assert_choice_type("RRCInactiveTransitionReport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::rrc_inactive_transition_report, type_, "InitiatingMessage"); return c.get(); } const secondary_rat_data_usage_report_s& ngap_elem_procs_o::init_msg_c::secondary_rat_data_usage_report() const { - assert_choice_type("SecondaryRATDataUsageReport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::secondary_rat_data_usage_report, type_, "InitiatingMessage"); return c.get(); } const trace_fail_ind_s& ngap_elem_procs_o::init_msg_c::trace_fail_ind() const { - assert_choice_type("TraceFailureIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::trace_fail_ind, type_, "InitiatingMessage"); return c.get(); } const trace_start_s& ngap_elem_procs_o::init_msg_c::trace_start() const { - assert_choice_type("TraceStart", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::trace_start, type_, "InitiatingMessage"); return c.get(); } const ue_context_release_request_s& ngap_elem_procs_o::init_msg_c::ue_context_release_request() const { - assert_choice_type("UEContextReleaseRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_release_request, type_, "InitiatingMessage"); return c.get(); } const ue_radio_cap_info_ind_s& ngap_elem_procs_o::init_msg_c::ue_radio_cap_info_ind() const { - assert_choice_type("UERadioCapabilityInfoIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_radio_cap_info_ind, type_, "InitiatingMessage"); return c.get(); } const uetnla_binding_release_request_s& ngap_elem_procs_o::init_msg_c::uetnla_binding_release_request() const { - assert_choice_type("UETNLABindingReleaseRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::uetnla_binding_release_request, type_, "InitiatingMessage"); return c.get(); } const ul_nas_transport_s& ngap_elem_procs_o::init_msg_c::ul_nas_transport() const { - assert_choice_type("UplinkNASTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_nas_transport, type_, "InitiatingMessage"); return c.get(); } const ul_non_ueassociated_nrp_pa_transport_s& ngap_elem_procs_o::init_msg_c::ul_non_ueassociated_nrp_pa_transport() const { - assert_choice_type("UplinkNonUEAssociatedNRPPaTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_non_ueassociated_nrp_pa_transport, type_, "InitiatingMessage"); return c.get(); } const ul_ran_cfg_transfer_s& ngap_elem_procs_o::init_msg_c::ul_ran_cfg_transfer() const { - assert_choice_type("UplinkRANConfigurationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_ran_cfg_transfer, type_, "InitiatingMessage"); return c.get(); } const ul_ran_status_transfer_s& ngap_elem_procs_o::init_msg_c::ul_ran_status_transfer() const { - assert_choice_type("UplinkRANStatusTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_ran_status_transfer, type_, "InitiatingMessage"); return c.get(); } const ul_ueassociated_nrp_pa_transport_s& ngap_elem_procs_o::init_msg_c::ul_ueassociated_nrp_pa_transport() const { - assert_choice_type("UplinkUEAssociatedNRPPaTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_ueassociated_nrp_pa_transport, type_, "InitiatingMessage"); return c.get(); } void ngap_elem_procs_o::init_msg_c::to_json(json_writer& j) const @@ -47386,182 +47386,182 @@ ngap_elem_procs_o::successful_outcome_c::operator=(const ngap_elem_procs_o::succ } amf_cfg_upd_ack_s& ngap_elem_procs_o::successful_outcome_c::amf_cfg_upd_ack() { - assert_choice_type("AMFConfigurationUpdateAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::amf_cfg_upd_ack, type_, "SuccessfulOutcome"); return c.get(); } ho_cancel_ack_s& ngap_elem_procs_o::successful_outcome_c::ho_cancel_ack() { - assert_choice_type("HandoverCancelAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_cancel_ack, type_, "SuccessfulOutcome"); return c.get(); } ho_cmd_s& ngap_elem_procs_o::successful_outcome_c::ho_cmd() { - assert_choice_type("HandoverCommand", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_cmd, type_, "SuccessfulOutcome"); return c.get(); } ho_request_ack_s& ngap_elem_procs_o::successful_outcome_c::ho_request_ack() { - assert_choice_type("HandoverRequestAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_request_ack, type_, "SuccessfulOutcome"); return c.get(); } init_context_setup_resp_s& ngap_elem_procs_o::successful_outcome_c::init_context_setup_resp() { - assert_choice_type("InitialContextSetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::init_context_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } ng_reset_ack_s& ngap_elem_procs_o::successful_outcome_c::ng_reset_ack() { - assert_choice_type("NGResetAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ng_reset_ack, type_, "SuccessfulOutcome"); return c.get(); } ng_setup_resp_s& ngap_elem_procs_o::successful_outcome_c::ng_setup_resp() { - assert_choice_type("NGSetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ng_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } path_switch_request_ack_s& ngap_elem_procs_o::successful_outcome_c::path_switch_request_ack() { - assert_choice_type("PathSwitchRequestAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::path_switch_request_ack, type_, "SuccessfulOutcome"); return c.get(); } pdu_session_res_modify_resp_s& ngap_elem_procs_o::successful_outcome_c::pdu_session_res_modify_resp() { - assert_choice_type("PDUSessionResourceModifyResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::pdu_session_res_modify_resp, type_, "SuccessfulOutcome"); return c.get(); } pdu_session_res_modify_confirm_s& ngap_elem_procs_o::successful_outcome_c::pdu_session_res_modify_confirm() { - assert_choice_type("PDUSessionResourceModifyConfirm", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::pdu_session_res_modify_confirm, type_, "SuccessfulOutcome"); return c.get(); } pdu_session_res_release_resp_s& ngap_elem_procs_o::successful_outcome_c::pdu_session_res_release_resp() { - assert_choice_type("PDUSessionResourceReleaseResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::pdu_session_res_release_resp, type_, "SuccessfulOutcome"); return c.get(); } pdu_session_res_setup_resp_s& ngap_elem_procs_o::successful_outcome_c::pdu_session_res_setup_resp() { - assert_choice_type("PDUSessionResourceSetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::pdu_session_res_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } pws_cancel_resp_s& ngap_elem_procs_o::successful_outcome_c::pws_cancel_resp() { - assert_choice_type("PWSCancelResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::pws_cancel_resp, type_, "SuccessfulOutcome"); return c.get(); } ran_cfg_upd_ack_s& ngap_elem_procs_o::successful_outcome_c::ran_cfg_upd_ack() { - assert_choice_type("RANConfigurationUpdateAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ran_cfg_upd_ack, type_, "SuccessfulOutcome"); return c.get(); } ue_context_mod_resp_s& ngap_elem_procs_o::successful_outcome_c::ue_context_mod_resp() { - assert_choice_type("UEContextModificationResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ue_context_mod_resp, type_, "SuccessfulOutcome"); return c.get(); } ue_context_release_complete_s& ngap_elem_procs_o::successful_outcome_c::ue_context_release_complete() { - assert_choice_type("UEContextReleaseComplete", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ue_context_release_complete, type_, "SuccessfulOutcome"); return c.get(); } ue_radio_cap_check_resp_s& ngap_elem_procs_o::successful_outcome_c::ue_radio_cap_check_resp() { - assert_choice_type("UERadioCapabilityCheckResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ue_radio_cap_check_resp, type_, "SuccessfulOutcome"); return c.get(); } write_replace_warning_resp_s& ngap_elem_procs_o::successful_outcome_c::write_replace_warning_resp() { - assert_choice_type("WriteReplaceWarningResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::write_replace_warning_resp, type_, "SuccessfulOutcome"); return c.get(); } const amf_cfg_upd_ack_s& ngap_elem_procs_o::successful_outcome_c::amf_cfg_upd_ack() const { - assert_choice_type("AMFConfigurationUpdateAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::amf_cfg_upd_ack, type_, "SuccessfulOutcome"); return c.get(); } const ho_cancel_ack_s& ngap_elem_procs_o::successful_outcome_c::ho_cancel_ack() const { - assert_choice_type("HandoverCancelAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_cancel_ack, type_, "SuccessfulOutcome"); return c.get(); } const ho_cmd_s& ngap_elem_procs_o::successful_outcome_c::ho_cmd() const { - assert_choice_type("HandoverCommand", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_cmd, type_, "SuccessfulOutcome"); return c.get(); } const ho_request_ack_s& ngap_elem_procs_o::successful_outcome_c::ho_request_ack() const { - assert_choice_type("HandoverRequestAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_request_ack, type_, "SuccessfulOutcome"); return c.get(); } const init_context_setup_resp_s& ngap_elem_procs_o::successful_outcome_c::init_context_setup_resp() const { - assert_choice_type("InitialContextSetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::init_context_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } const ng_reset_ack_s& ngap_elem_procs_o::successful_outcome_c::ng_reset_ack() const { - assert_choice_type("NGResetAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ng_reset_ack, type_, "SuccessfulOutcome"); return c.get(); } const ng_setup_resp_s& ngap_elem_procs_o::successful_outcome_c::ng_setup_resp() const { - assert_choice_type("NGSetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ng_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } const path_switch_request_ack_s& ngap_elem_procs_o::successful_outcome_c::path_switch_request_ack() const { - assert_choice_type("PathSwitchRequestAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::path_switch_request_ack, type_, "SuccessfulOutcome"); return c.get(); } const pdu_session_res_modify_resp_s& ngap_elem_procs_o::successful_outcome_c::pdu_session_res_modify_resp() const { - assert_choice_type("PDUSessionResourceModifyResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::pdu_session_res_modify_resp, type_, "SuccessfulOutcome"); return c.get(); } const pdu_session_res_modify_confirm_s& ngap_elem_procs_o::successful_outcome_c::pdu_session_res_modify_confirm() const { - assert_choice_type("PDUSessionResourceModifyConfirm", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::pdu_session_res_modify_confirm, type_, "SuccessfulOutcome"); return c.get(); } const pdu_session_res_release_resp_s& ngap_elem_procs_o::successful_outcome_c::pdu_session_res_release_resp() const { - assert_choice_type("PDUSessionResourceReleaseResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::pdu_session_res_release_resp, type_, "SuccessfulOutcome"); return c.get(); } const pdu_session_res_setup_resp_s& ngap_elem_procs_o::successful_outcome_c::pdu_session_res_setup_resp() const { - assert_choice_type("PDUSessionResourceSetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::pdu_session_res_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } const pws_cancel_resp_s& ngap_elem_procs_o::successful_outcome_c::pws_cancel_resp() const { - assert_choice_type("PWSCancelResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::pws_cancel_resp, type_, "SuccessfulOutcome"); return c.get(); } const ran_cfg_upd_ack_s& ngap_elem_procs_o::successful_outcome_c::ran_cfg_upd_ack() const { - assert_choice_type("RANConfigurationUpdateAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ran_cfg_upd_ack, type_, "SuccessfulOutcome"); return c.get(); } const ue_context_mod_resp_s& ngap_elem_procs_o::successful_outcome_c::ue_context_mod_resp() const { - assert_choice_type("UEContextModificationResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ue_context_mod_resp, type_, "SuccessfulOutcome"); return c.get(); } const ue_context_release_complete_s& ngap_elem_procs_o::successful_outcome_c::ue_context_release_complete() const { - assert_choice_type("UEContextReleaseComplete", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ue_context_release_complete, type_, "SuccessfulOutcome"); return c.get(); } const ue_radio_cap_check_resp_s& ngap_elem_procs_o::successful_outcome_c::ue_radio_cap_check_resp() const { - assert_choice_type("UERadioCapabilityCheckResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ue_radio_cap_check_resp, type_, "SuccessfulOutcome"); return c.get(); } const write_replace_warning_resp_s& ngap_elem_procs_o::successful_outcome_c::write_replace_warning_resp() const { - assert_choice_type("WriteReplaceWarningResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::write_replace_warning_resp, type_, "SuccessfulOutcome"); return c.get(); } void ngap_elem_procs_o::successful_outcome_c::to_json(json_writer& j) const @@ -47941,82 +47941,82 @@ ngap_elem_procs_o::unsuccessful_outcome_c::operator=(const ngap_elem_procs_o::un } amf_cfg_upd_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::amf_cfg_upd_fail() { - assert_choice_type("AMFConfigurationUpdateFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::amf_cfg_upd_fail, type_, "UnsuccessfulOutcome"); return c.get(); } ho_prep_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::ho_prep_fail() { - assert_choice_type("HandoverPreparationFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ho_prep_fail, type_, "UnsuccessfulOutcome"); return c.get(); } ho_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::ho_fail() { - assert_choice_type("HandoverFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ho_fail, type_, "UnsuccessfulOutcome"); return c.get(); } init_context_setup_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::init_context_setup_fail() { - assert_choice_type("InitialContextSetupFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::init_context_setup_fail, type_, "UnsuccessfulOutcome"); return c.get(); } ng_setup_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::ng_setup_fail() { - assert_choice_type("NGSetupFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ng_setup_fail, type_, "UnsuccessfulOutcome"); return c.get(); } path_switch_request_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::path_switch_request_fail() { - assert_choice_type("PathSwitchRequestFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::path_switch_request_fail, type_, "UnsuccessfulOutcome"); return c.get(); } ran_cfg_upd_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::ran_cfg_upd_fail() { - assert_choice_type("RANConfigurationUpdateFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ran_cfg_upd_fail, type_, "UnsuccessfulOutcome"); return c.get(); } ue_context_mod_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::ue_context_mod_fail() { - assert_choice_type("UEContextModificationFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ue_context_mod_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const amf_cfg_upd_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::amf_cfg_upd_fail() const { - assert_choice_type("AMFConfigurationUpdateFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::amf_cfg_upd_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const ho_prep_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::ho_prep_fail() const { - assert_choice_type("HandoverPreparationFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ho_prep_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const ho_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::ho_fail() const { - assert_choice_type("HandoverFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ho_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const init_context_setup_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::init_context_setup_fail() const { - assert_choice_type("InitialContextSetupFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::init_context_setup_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const ng_setup_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::ng_setup_fail() const { - assert_choice_type("NGSetupFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ng_setup_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const path_switch_request_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::path_switch_request_fail() const { - assert_choice_type("PathSwitchRequestFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::path_switch_request_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const ran_cfg_upd_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::ran_cfg_upd_fail() const { - assert_choice_type("RANConfigurationUpdateFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ran_cfg_upd_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const ue_context_mod_fail_s& ngap_elem_procs_o::unsuccessful_outcome_c::ue_context_mod_fail() const { - assert_choice_type("UEContextModificationFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ue_context_mod_fail, type_, "UnsuccessfulOutcome"); return c.get(); } void ngap_elem_procs_o::unsuccessful_outcome_c::to_json(json_writer& j) const @@ -49445,22 +49445,22 @@ pdu_session_res_modify_ind_transfer_ext_ies_o::ext_c& pdu_session_res_modify_ind } secondary_ratusage_info_s& pdu_session_res_modify_ind_transfer_ext_ies_o::ext_c::secondary_ratusage_info() { - assert_choice_type("SecondaryRATUsageInformation", type_.to_string(), "Extension"); + assert_choice_type(types::secondary_ratusage_info, type_, "Extension"); return c.get(); } security_result_s& pdu_session_res_modify_ind_transfer_ext_ies_o::ext_c::security_result() { - assert_choice_type("SecurityResult", type_.to_string(), "Extension"); + assert_choice_type(types::security_result, type_, "Extension"); return c.get(); } const secondary_ratusage_info_s& pdu_session_res_modify_ind_transfer_ext_ies_o::ext_c::secondary_ratusage_info() const { - assert_choice_type("SecondaryRATUsageInformation", type_.to_string(), "Extension"); + assert_choice_type(types::secondary_ratusage_info, type_, "Extension"); return c.get(); } const security_result_s& pdu_session_res_modify_ind_transfer_ext_ies_o::ext_c::security_result() const { - assert_choice_type("SecurityResult", type_.to_string(), "Extension"); + assert_choice_type(types::security_result, type_, "Extension"); return c.get(); } void pdu_session_res_modify_ind_transfer_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -50264,68 +50264,68 @@ pdu_session_res_modify_request_transfer_ies_o::value_c::operator=( pdu_session_aggregate_maximum_bit_rate_s& pdu_session_res_modify_request_transfer_ies_o::value_c::pdu_session_aggregate_maximum_bit_rate() { - assert_choice_type("PDUSessionAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } ul_ngu_up_tnl_modify_list_l& pdu_session_res_modify_request_transfer_ies_o::value_c::ul_ngu_up_tnl_modify_list() { - assert_choice_type("UL-NGU-UP-TNLModifyList", type_.to_string(), "Value"); + assert_choice_type(types::ul_ngu_up_tnl_modify_list, type_, "Value"); return c.get(); } uint16_t& pdu_session_res_modify_request_transfer_ies_o::value_c::network_instance() { - assert_choice_type("INTEGER (1..256,...)", type_.to_string(), "Value"); + assert_choice_type(types::network_instance, type_, "Value"); return c.get(); } qos_flow_add_or_modify_request_list_l& pdu_session_res_modify_request_transfer_ies_o::value_c::qos_flow_add_or_modify_request_list() { - assert_choice_type("QosFlowAddOrModifyRequestList", type_.to_string(), "Value"); + assert_choice_type(types::qos_flow_add_or_modify_request_list, type_, "Value"); return c.get(); } qos_flow_list_with_cause_l& pdu_session_res_modify_request_transfer_ies_o::value_c::qos_flow_to_release_list() { - assert_choice_type("QosFlowListWithCause", type_.to_string(), "Value"); + assert_choice_type(types::qos_flow_to_release_list, type_, "Value"); return c.get(); } up_transport_layer_info_list_l& pdu_session_res_modify_request_transfer_ies_o::value_c::add_ul_ngu_up_tnl_info() { - assert_choice_type("UPTransportLayerInformationList", type_.to_string(), "Value"); + assert_choice_type(types::add_ul_ngu_up_tnl_info, type_, "Value"); return c.get(); } const pdu_session_aggregate_maximum_bit_rate_s& pdu_session_res_modify_request_transfer_ies_o::value_c::pdu_session_aggregate_maximum_bit_rate() const { - assert_choice_type("PDUSessionAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } const ul_ngu_up_tnl_modify_list_l& pdu_session_res_modify_request_transfer_ies_o::value_c::ul_ngu_up_tnl_modify_list() const { - assert_choice_type("UL-NGU-UP-TNLModifyList", type_.to_string(), "Value"); + assert_choice_type(types::ul_ngu_up_tnl_modify_list, type_, "Value"); return c.get(); } const uint16_t& pdu_session_res_modify_request_transfer_ies_o::value_c::network_instance() const { - assert_choice_type("INTEGER (1..256,...)", type_.to_string(), "Value"); + assert_choice_type(types::network_instance, type_, "Value"); return c.get(); } const qos_flow_add_or_modify_request_list_l& pdu_session_res_modify_request_transfer_ies_o::value_c::qos_flow_add_or_modify_request_list() const { - assert_choice_type("QosFlowAddOrModifyRequestList", type_.to_string(), "Value"); + assert_choice_type(types::qos_flow_add_or_modify_request_list, type_, "Value"); return c.get(); } const qos_flow_list_with_cause_l& pdu_session_res_modify_request_transfer_ies_o::value_c::qos_flow_to_release_list() const { - assert_choice_type("QosFlowListWithCause", type_.to_string(), "Value"); + assert_choice_type(types::qos_flow_to_release_list, type_, "Value"); return c.get(); } const up_transport_layer_info_list_l& pdu_session_res_modify_request_transfer_ies_o::value_c::add_ul_ngu_up_tnl_info() const { - assert_choice_type("UPTransportLayerInformationList", type_.to_string(), "Value"); + assert_choice_type(types::add_ul_ngu_up_tnl_info, type_, "Value"); return c.get(); } void pdu_session_res_modify_request_transfer_ies_o::value_c::to_json(json_writer& j) const @@ -51682,86 +51682,86 @@ pdu_session_res_setup_request_transfer_ies_o::value_c& pdu_session_res_setup_req pdu_session_aggregate_maximum_bit_rate_s& pdu_session_res_setup_request_transfer_ies_o::value_c::pdu_session_aggregate_maximum_bit_rate() { - assert_choice_type("PDUSessionAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } up_transport_layer_info_c& pdu_session_res_setup_request_transfer_ies_o::value_c::ul_ngu_up_tnl_info() { - assert_choice_type("UPTransportLayerInformation", type_.to_string(), "Value"); + assert_choice_type(types::ul_ngu_up_tnl_info, type_, "Value"); return c.get(); } up_transport_layer_info_list_l& pdu_session_res_setup_request_transfer_ies_o::value_c::add_ul_ngu_up_tnl_info() { - assert_choice_type("UPTransportLayerInformationList", type_.to_string(), "Value"); + assert_choice_type(types::add_ul_ngu_up_tnl_info, type_, "Value"); return c.get(); } data_forwarding_not_possible_e& pdu_session_res_setup_request_transfer_ies_o::value_c::data_forwarding_not_possible() { - assert_choice_type("DataForwardingNotPossible", type_.to_string(), "Value"); + assert_choice_type(types::data_forwarding_not_possible, type_, "Value"); return c.get(); } pdu_session_type_e& pdu_session_res_setup_request_transfer_ies_o::value_c::pdu_session_type() { - assert_choice_type("PDUSessionType", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_type, type_, "Value"); return c.get(); } security_ind_s& pdu_session_res_setup_request_transfer_ies_o::value_c::security_ind() { - assert_choice_type("SecurityIndication", type_.to_string(), "Value"); + assert_choice_type(types::security_ind, type_, "Value"); return c.get(); } uint16_t& pdu_session_res_setup_request_transfer_ies_o::value_c::network_instance() { - assert_choice_type("INTEGER (1..256,...)", type_.to_string(), "Value"); + assert_choice_type(types::network_instance, type_, "Value"); return c.get(); } qos_flow_setup_request_list_l& pdu_session_res_setup_request_transfer_ies_o::value_c::qos_flow_setup_request_list() { - assert_choice_type("QosFlowSetupRequestList", type_.to_string(), "Value"); + assert_choice_type(types::qos_flow_setup_request_list, type_, "Value"); return c.get(); } const pdu_session_aggregate_maximum_bit_rate_s& pdu_session_res_setup_request_transfer_ies_o::value_c::pdu_session_aggregate_maximum_bit_rate() const { - assert_choice_type("PDUSessionAggregateMaximumBitRate", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_aggregate_maximum_bit_rate, type_, "Value"); return c.get(); } const up_transport_layer_info_c& pdu_session_res_setup_request_transfer_ies_o::value_c::ul_ngu_up_tnl_info() const { - assert_choice_type("UPTransportLayerInformation", type_.to_string(), "Value"); + assert_choice_type(types::ul_ngu_up_tnl_info, type_, "Value"); return c.get(); } const up_transport_layer_info_list_l& pdu_session_res_setup_request_transfer_ies_o::value_c::add_ul_ngu_up_tnl_info() const { - assert_choice_type("UPTransportLayerInformationList", type_.to_string(), "Value"); + assert_choice_type(types::add_ul_ngu_up_tnl_info, type_, "Value"); return c.get(); } const data_forwarding_not_possible_e& pdu_session_res_setup_request_transfer_ies_o::value_c::data_forwarding_not_possible() const { - assert_choice_type("DataForwardingNotPossible", type_.to_string(), "Value"); + assert_choice_type(types::data_forwarding_not_possible, type_, "Value"); return c.get(); } const pdu_session_type_e& pdu_session_res_setup_request_transfer_ies_o::value_c::pdu_session_type() const { - assert_choice_type("PDUSessionType", type_.to_string(), "Value"); + assert_choice_type(types::pdu_session_type, type_, "Value"); return c.get(); } const security_ind_s& pdu_session_res_setup_request_transfer_ies_o::value_c::security_ind() const { - assert_choice_type("SecurityIndication", type_.to_string(), "Value"); + assert_choice_type(types::security_ind, type_, "Value"); return c.get(); } const uint16_t& pdu_session_res_setup_request_transfer_ies_o::value_c::network_instance() const { - assert_choice_type("INTEGER (1..256,...)", type_.to_string(), "Value"); + assert_choice_type(types::network_instance, type_, "Value"); return c.get(); } const qos_flow_setup_request_list_l& pdu_session_res_setup_request_transfer_ies_o::value_c::qos_flow_setup_request_list() const { - assert_choice_type("QosFlowSetupRequestList", type_.to_string(), "Value"); + assert_choice_type(types::qos_flow_setup_request_list, type_, "Value"); return c.get(); } void pdu_session_res_setup_request_transfer_ies_o::value_c::to_json(json_writer& j) const diff --git a/lib/src/asn1/s1ap.cc b/lib/src/asn1/s1ap.cc index a621c4852..02835d3d4 100644 --- a/lib/src/asn1/s1ap.cc +++ b/lib/src/asn1/s1ap.cc @@ -1973,68 +1973,68 @@ bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::operator=( } count_value_extended_s& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::ulcount_value_extended() { - assert_choice_type("COUNTValueExtended", type_.to_string(), "Extension"); + assert_choice_type(types::ulcount_value_extended, type_, "Extension"); return c.get(); } count_value_extended_s& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::dlcount_value_extended() { - assert_choice_type("COUNTValueExtended", type_.to_string(), "Extension"); + assert_choice_type(types::dlcount_value_extended, type_, "Extension"); return c.get(); } bounded_bitstring<1, 16384, false, true>& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::receive_status_of_ulpdcpsdus_extended() { - assert_choice_type("BIT STRING", type_.to_string(), "Extension"); + assert_choice_type(types::receive_status_of_ulpdcpsdus_extended, type_, "Extension"); return c.get >(); } coun_tvalue_pdcp_snlen18_s& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::ulcount_value_pdcp_snlen18() { - assert_choice_type("COUNTvaluePDCP-SNlength18", type_.to_string(), "Extension"); + assert_choice_type(types::ulcount_value_pdcp_snlen18, type_, "Extension"); return c.get(); } coun_tvalue_pdcp_snlen18_s& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::dlcount_value_pdcp_snlen18() { - assert_choice_type("COUNTvaluePDCP-SNlength18", type_.to_string(), "Extension"); + assert_choice_type(types::dlcount_value_pdcp_snlen18, type_, "Extension"); return c.get(); } bounded_bitstring<1, 131072, false, true>& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::receive_status_of_ulpdcpsdus_pdcp_snlen18() { - assert_choice_type("BIT STRING", type_.to_string(), "Extension"); + assert_choice_type(types::receive_status_of_ulpdcpsdus_pdcp_snlen18, type_, "Extension"); return c.get >(); } const count_value_extended_s& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::ulcount_value_extended() const { - assert_choice_type("COUNTValueExtended", type_.to_string(), "Extension"); + assert_choice_type(types::ulcount_value_extended, type_, "Extension"); return c.get(); } const count_value_extended_s& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::dlcount_value_extended() const { - assert_choice_type("COUNTValueExtended", type_.to_string(), "Extension"); + assert_choice_type(types::dlcount_value_extended, type_, "Extension"); return c.get(); } const bounded_bitstring<1, 16384, false, true>& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::receive_status_of_ulpdcpsdus_extended() const { - assert_choice_type("BIT STRING", type_.to_string(), "Extension"); + assert_choice_type(types::receive_status_of_ulpdcpsdus_extended, type_, "Extension"); return c.get >(); } const coun_tvalue_pdcp_snlen18_s& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::ulcount_value_pdcp_snlen18() const { - assert_choice_type("COUNTvaluePDCP-SNlength18", type_.to_string(), "Extension"); + assert_choice_type(types::ulcount_value_pdcp_snlen18, type_, "Extension"); return c.get(); } const coun_tvalue_pdcp_snlen18_s& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::dlcount_value_pdcp_snlen18() const { - assert_choice_type("COUNTvaluePDCP-SNlength18", type_.to_string(), "Extension"); + assert_choice_type(types::dlcount_value_pdcp_snlen18, type_, "Extension"); return c.get(); } const bounded_bitstring<1, 131072, false, true>& bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::receive_status_of_ulpdcpsdus_pdcp_snlen18() const { - assert_choice_type("BIT STRING", type_.to_string(), "Extension"); + assert_choice_type(types::receive_status_of_ulpdcpsdus_pdcp_snlen18, type_, "Extension"); return c.get >(); } void bearers_subject_to_status_transfer_item_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -4584,63 +4584,63 @@ cell_traffic_trace_ies_o::value_c::operator=(const cell_traffic_trace_ies_o::val } uint64_t& cell_traffic_trace_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& cell_traffic_trace_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } fixed_octstring<8, true>& cell_traffic_trace_ies_o::value_c::e_utran_trace_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::e_utran_trace_id, type_, "Value"); return c.get >(); } eutran_cgi_s& cell_traffic_trace_ies_o::value_c::eutran_cgi() { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } bounded_bitstring<1, 160, true, true>& cell_traffic_trace_ies_o::value_c::trace_collection_entity_ip_address() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::trace_collection_entity_ip_address, type_, "Value"); return c.get >(); } privacy_ind_e& cell_traffic_trace_ies_o::value_c::privacy_ind() { - assert_choice_type("PrivacyIndicator", type_.to_string(), "Value"); + assert_choice_type(types::privacy_ind, type_, "Value"); return c.get(); } const uint64_t& cell_traffic_trace_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& cell_traffic_trace_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const fixed_octstring<8, true>& cell_traffic_trace_ies_o::value_c::e_utran_trace_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::e_utran_trace_id, type_, "Value"); return c.get >(); } const eutran_cgi_s& cell_traffic_trace_ies_o::value_c::eutran_cgi() const { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } const bounded_bitstring<1, 160, true, true>& cell_traffic_trace_ies_o::value_c::trace_collection_entity_ip_address() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::trace_collection_entity_ip_address, type_, "Value"); return c.get >(); } const privacy_ind_e& cell_traffic_trace_ies_o::value_c::privacy_ind() const { - assert_choice_type("PrivacyIndicator", type_.to_string(), "Value"); + assert_choice_type(types::privacy_ind, type_, "Value"); return c.get(); } void cell_traffic_trace_ies_o::value_c::to_json(json_writer& j) const @@ -5227,42 +5227,42 @@ gbr_qos_info_ext_ies_o::ext_c& gbr_qos_info_ext_ies_o::ext_c::operator=(const gb } uint64_t& gbr_qos_info_ext_ies_o::ext_c::extended_erab_maximum_bitrate_dl() { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_erab_maximum_bitrate_dl, type_, "Extension"); return c.get(); } uint64_t& gbr_qos_info_ext_ies_o::ext_c::extended_erab_maximum_bitrate_ul() { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_erab_maximum_bitrate_ul, type_, "Extension"); return c.get(); } uint64_t& gbr_qos_info_ext_ies_o::ext_c::extended_erab_guaranteed_bitrate_dl() { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_erab_guaranteed_bitrate_dl, type_, "Extension"); return c.get(); } uint64_t& gbr_qos_info_ext_ies_o::ext_c::extended_erab_guaranteed_bitrate_ul() { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_erab_guaranteed_bitrate_ul, type_, "Extension"); return c.get(); } const uint64_t& gbr_qos_info_ext_ies_o::ext_c::extended_erab_maximum_bitrate_dl() const { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_erab_maximum_bitrate_dl, type_, "Extension"); return c.get(); } const uint64_t& gbr_qos_info_ext_ies_o::ext_c::extended_erab_maximum_bitrate_ul() const { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_erab_maximum_bitrate_ul, type_, "Extension"); return c.get(); } const uint64_t& gbr_qos_info_ext_ies_o::ext_c::extended_erab_guaranteed_bitrate_dl() const { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_erab_guaranteed_bitrate_dl, type_, "Extension"); return c.get(); } const uint64_t& gbr_qos_info_ext_ies_o::ext_c::extended_erab_guaranteed_bitrate_ul() const { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_erab_guaranteed_bitrate_ul, type_, "Extension"); return c.get(); } void gbr_qos_info_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -5447,22 +5447,22 @@ erab_qos_params_ext_ies_o::ext_c::operator=(const erab_qos_params_ext_ies_o::ext } uint16_t& erab_qos_params_ext_ies_o::ext_c::dl_packet_loss_rate() { - assert_choice_type("INTEGER (0..1000)", type_.to_string(), "Extension"); + assert_choice_type(types::dl_packet_loss_rate, type_, "Extension"); return c.get(); } uint16_t& erab_qos_params_ext_ies_o::ext_c::ul_packet_loss_rate() { - assert_choice_type("INTEGER (0..1000)", type_.to_string(), "Extension"); + assert_choice_type(types::ul_packet_loss_rate, type_, "Extension"); return c.get(); } const uint16_t& erab_qos_params_ext_ies_o::ext_c::dl_packet_loss_rate() const { - assert_choice_type("INTEGER (0..1000)", type_.to_string(), "Extension"); + assert_choice_type(types::dl_packet_loss_rate, type_, "Extension"); return c.get(); } const uint16_t& erab_qos_params_ext_ies_o::ext_c::ul_packet_loss_rate() const { - assert_choice_type("INTEGER (0..1000)", type_.to_string(), "Extension"); + assert_choice_type(types::ul_packet_loss_rate, type_, "Extension"); return c.get(); } void erab_qos_params_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -6264,94 +6264,94 @@ conn_establishment_ind_ies_o::value_c::operator=(const conn_establishment_ind_ie } uint64_t& conn_establishment_ind_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& conn_establishment_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } unbounded_octstring& conn_establishment_ind_ies_o::value_c::ue_radio_cap() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } enhanced_coverage_restricted_e& conn_establishment_ind_ies_o::value_c::enhanced_coverage_restricted() { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } dl_cp_security_info_s& conn_establishment_ind_ies_o::value_c::dl_cp_security_info() { - assert_choice_type("DL-CP-SecurityInformation", type_.to_string(), "Value"); + assert_choice_type(types::dl_cp_security_info, type_, "Value"); return c.get(); } ce_mode_brestricted_e& conn_establishment_ind_ies_o::value_c::ce_mode_brestricted() { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } end_ind_e& conn_establishment_ind_ies_o::value_c::end_ind() { - assert_choice_type("EndIndication", type_.to_string(), "Value"); + assert_choice_type(types::end_ind, type_, "Value"); return c.get(); } subscription_based_ue_differentiation_info_s& conn_establishment_ind_ies_o::value_c::subscription_based_ue_differentiation_info() { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } erab_level_qos_params_s& conn_establishment_ind_ies_o::value_c::ue_level_qos_params() { - assert_choice_type("E-RABLevelQoSParameters", type_.to_string(), "Value"); + assert_choice_type(types::ue_level_qos_params, type_, "Value"); return c.get(); } const uint64_t& conn_establishment_ind_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& conn_establishment_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const unbounded_octstring& conn_establishment_ind_ies_o::value_c::ue_radio_cap() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } const enhanced_coverage_restricted_e& conn_establishment_ind_ies_o::value_c::enhanced_coverage_restricted() const { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } const dl_cp_security_info_s& conn_establishment_ind_ies_o::value_c::dl_cp_security_info() const { - assert_choice_type("DL-CP-SecurityInformation", type_.to_string(), "Value"); + assert_choice_type(types::dl_cp_security_info, type_, "Value"); return c.get(); } const ce_mode_brestricted_e& conn_establishment_ind_ies_o::value_c::ce_mode_brestricted() const { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } const end_ind_e& conn_establishment_ind_ies_o::value_c::end_ind() const { - assert_choice_type("EndIndication", type_.to_string(), "Value"); + assert_choice_type(types::end_ind, type_, "Value"); return c.get(); } const subscription_based_ue_differentiation_info_s& conn_establishment_ind_ies_o::value_c::subscription_based_ue_differentiation_info() const { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } const erab_level_qos_params_s& conn_establishment_ind_ies_o::value_c::ue_level_qos_params() const { - assert_choice_type("E-RABLevelQoSParameters", type_.to_string(), "Value"); + assert_choice_type(types::ue_level_qos_params, type_, "Value"); return c.get(); } void conn_establishment_ind_ies_o::value_c::to_json(json_writer& j) const @@ -7496,32 +7496,32 @@ deactiv_trace_ies_o::value_c& deactiv_trace_ies_o::value_c::operator=(const deac } uint64_t& deactiv_trace_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& deactiv_trace_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } fixed_octstring<8, true>& deactiv_trace_ies_o::value_c::e_utran_trace_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::e_utran_trace_id, type_, "Value"); return c.get >(); } const uint64_t& deactiv_trace_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& deactiv_trace_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const fixed_octstring<8, true>& deactiv_trace_ies_o::value_c::e_utran_trace_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::e_utran_trace_id, type_, "Value"); return c.get >(); } void deactiv_trace_ies_o::value_c::to_json(json_writer& j) const @@ -7970,52 +7970,52 @@ ho_restrict_list_ext_ies_o::ext_c::operator=(const ho_restrict_list_ext_ies_o::e } nrrestrictin_ep_sas_secondary_rat_e& ho_restrict_list_ext_ies_o::ext_c::nrrestrictin_ep_sas_secondary_rat() { - assert_choice_type("NRrestrictioninEPSasSecondaryRAT", type_.to_string(), "Extension"); + assert_choice_type(types::nrrestrictin_ep_sas_secondary_rat, type_, "Extension"); return c.get(); } unlicensed_spec_restrict_e& ho_restrict_list_ext_ies_o::ext_c::unlicensed_spec_restrict() { - assert_choice_type("UnlicensedSpectrumRestriction", type_.to_string(), "Extension"); + assert_choice_type(types::unlicensed_spec_restrict, type_, "Extension"); return c.get(); } cn_type_restricts_l& ho_restrict_list_ext_ies_o::ext_c::cn_type_restricts() { - assert_choice_type("CNTypeRestrictions", type_.to_string(), "Extension"); + assert_choice_type(types::cn_type_restricts, type_, "Extension"); return c.get(); } nrrestrictin5_gs_e& ho_restrict_list_ext_ies_o::ext_c::nrrestrictin5_gs() { - assert_choice_type("NRrestrictionin5GS", type_.to_string(), "Extension"); + assert_choice_type(types::nrrestrictin5_gs, type_, "Extension"); return c.get(); } plm_nid& ho_restrict_list_ext_ies_o::ext_c::last_ng_ranplmn_id() { - assert_choice_type("PLMNidentity", type_.to_string(), "Extension"); + assert_choice_type(types::last_ng_ranplmn_id, type_, "Extension"); return c.get(); } const nrrestrictin_ep_sas_secondary_rat_e& ho_restrict_list_ext_ies_o::ext_c::nrrestrictin_ep_sas_secondary_rat() const { - assert_choice_type("NRrestrictioninEPSasSecondaryRAT", type_.to_string(), "Extension"); + assert_choice_type(types::nrrestrictin_ep_sas_secondary_rat, type_, "Extension"); return c.get(); } const unlicensed_spec_restrict_e& ho_restrict_list_ext_ies_o::ext_c::unlicensed_spec_restrict() const { - assert_choice_type("UnlicensedSpectrumRestriction", type_.to_string(), "Extension"); + assert_choice_type(types::unlicensed_spec_restrict, type_, "Extension"); return c.get(); } const cn_type_restricts_l& ho_restrict_list_ext_ies_o::ext_c::cn_type_restricts() const { - assert_choice_type("CNTypeRestrictions", type_.to_string(), "Extension"); + assert_choice_type(types::cn_type_restricts, type_, "Extension"); return c.get(); } const nrrestrictin5_gs_e& ho_restrict_list_ext_ies_o::ext_c::nrrestrictin5_gs() const { - assert_choice_type("NRrestrictionin5GS", type_.to_string(), "Extension"); + assert_choice_type(types::nrrestrictin5_gs, type_, "Extension"); return c.get(); } const plm_nid& ho_restrict_list_ext_ies_o::ext_c::last_ng_ranplmn_id() const { - assert_choice_type("PLMNidentity", type_.to_string(), "Extension"); + assert_choice_type(types::last_ng_ranplmn_id, type_, "Extension"); return c.get(); } void ho_restrict_list_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -8737,164 +8737,164 @@ dl_nas_transport_ies_o::value_c::operator=(const dl_nas_transport_ies_o::value_c } uint64_t& dl_nas_transport_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& dl_nas_transport_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } unbounded_octstring& dl_nas_transport_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } ho_restrict_list_s& dl_nas_transport_ies_o::value_c::ho_restrict_list() { - assert_choice_type("HandoverRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::ho_restrict_list, type_, "Value"); return c.get(); } uint16_t& dl_nas_transport_ies_o::value_c::subscriber_profile_idfor_rfp() { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::subscriber_profile_idfor_rfp, type_, "Value"); return c.get(); } srvcc_operation_possible_e& dl_nas_transport_ies_o::value_c::srvcc_operation_possible() { - assert_choice_type("SRVCCOperationPossible", type_.to_string(), "Value"); + assert_choice_type(types::srvcc_operation_possible, type_, "Value"); return c.get(); } unbounded_octstring& dl_nas_transport_ies_o::value_c::ue_radio_cap() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } dlnaspdu_delivery_ack_request_e& dl_nas_transport_ies_o::value_c::dlnaspdu_delivery_ack_request() { - assert_choice_type("DLNASPDUDeliveryAckRequest", type_.to_string(), "Value"); + assert_choice_type(types::dlnaspdu_delivery_ack_request, type_, "Value"); return c.get(); } enhanced_coverage_restricted_e& dl_nas_transport_ies_o::value_c::enhanced_coverage_restricted() { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } nrue_security_cap_s& dl_nas_transport_ies_o::value_c::nrue_security_cap() { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } ce_mode_brestricted_e& dl_nas_transport_ies_o::value_c::ce_mode_brestricted() { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } ue_cap_info_request_e& dl_nas_transport_ies_o::value_c::ue_cap_info_request() { - assert_choice_type("UECapabilityInfoRequest", type_.to_string(), "Value"); + assert_choice_type(types::ue_cap_info_request, type_, "Value"); return c.get(); } end_ind_e& dl_nas_transport_ies_o::value_c::end_ind() { - assert_choice_type("EndIndication", type_.to_string(), "Value"); + assert_choice_type(types::end_ind, type_, "Value"); return c.get(); } pending_data_ind_e& dl_nas_transport_ies_o::value_c::pending_data_ind() { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } subscription_based_ue_differentiation_info_s& dl_nas_transport_ies_o::value_c::subscription_based_ue_differentiation_info() { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } fixed_bitstring<32, false, true>& dl_nas_transport_ies_o::value_c::add_rrm_prio_idx() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Value"); return c.get >(); } const uint64_t& dl_nas_transport_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& dl_nas_transport_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const unbounded_octstring& dl_nas_transport_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const ho_restrict_list_s& dl_nas_transport_ies_o::value_c::ho_restrict_list() const { - assert_choice_type("HandoverRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::ho_restrict_list, type_, "Value"); return c.get(); } const uint16_t& dl_nas_transport_ies_o::value_c::subscriber_profile_idfor_rfp() const { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::subscriber_profile_idfor_rfp, type_, "Value"); return c.get(); } const srvcc_operation_possible_e& dl_nas_transport_ies_o::value_c::srvcc_operation_possible() const { - assert_choice_type("SRVCCOperationPossible", type_.to_string(), "Value"); + assert_choice_type(types::srvcc_operation_possible, type_, "Value"); return c.get(); } const unbounded_octstring& dl_nas_transport_ies_o::value_c::ue_radio_cap() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } const dlnaspdu_delivery_ack_request_e& dl_nas_transport_ies_o::value_c::dlnaspdu_delivery_ack_request() const { - assert_choice_type("DLNASPDUDeliveryAckRequest", type_.to_string(), "Value"); + assert_choice_type(types::dlnaspdu_delivery_ack_request, type_, "Value"); return c.get(); } const enhanced_coverage_restricted_e& dl_nas_transport_ies_o::value_c::enhanced_coverage_restricted() const { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } const nrue_security_cap_s& dl_nas_transport_ies_o::value_c::nrue_security_cap() const { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } const ce_mode_brestricted_e& dl_nas_transport_ies_o::value_c::ce_mode_brestricted() const { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } const ue_cap_info_request_e& dl_nas_transport_ies_o::value_c::ue_cap_info_request() const { - assert_choice_type("UECapabilityInfoRequest", type_.to_string(), "Value"); + assert_choice_type(types::ue_cap_info_request, type_, "Value"); return c.get(); } const end_ind_e& dl_nas_transport_ies_o::value_c::end_ind() const { - assert_choice_type("EndIndication", type_.to_string(), "Value"); + assert_choice_type(types::end_ind, type_, "Value"); return c.get(); } const pending_data_ind_e& dl_nas_transport_ies_o::value_c::pending_data_ind() const { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } const subscription_based_ue_differentiation_info_s& dl_nas_transport_ies_o::value_c::subscription_based_ue_differentiation_info() const { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } const fixed_bitstring<32, false, true>& dl_nas_transport_ies_o::value_c::add_rrm_prio_idx() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Value"); return c.get >(); } void dl_nas_transport_ies_o::value_c::to_json(json_writer& j) const @@ -9509,22 +9509,22 @@ dl_non_ueassociated_lp_pa_transport_ies_o::value_c& dl_non_ueassociated_lp_pa_tr } uint16_t& dl_non_ueassociated_lp_pa_transport_ies_o::value_c::routing_id() { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get(); } unbounded_octstring& dl_non_ueassociated_lp_pa_transport_ies_o::value_c::lp_pa_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lp_pa_pdu, type_, "Value"); return c.get >(); } const uint16_t& dl_non_ueassociated_lp_pa_transport_ies_o::value_c::routing_id() const { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get(); } const unbounded_octstring& dl_non_ueassociated_lp_pa_transport_ies_o::value_c::lp_pa_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lp_pa_pdu, type_, "Value"); return c.get >(); } void dl_non_ueassociated_lp_pa_transport_ies_o::value_c::to_json(json_writer& j) const @@ -10020,64 +10020,64 @@ dl_s1cdma2000tunnelling_ies_o::value_c::operator=(const dl_s1cdma2000tunnelling_ } uint64_t& dl_s1cdma2000tunnelling_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& dl_s1cdma2000tunnelling_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_ie_container_list_l& dl_s1cdma2000tunnelling_ies_o::value_c::erab_subjectto_data_forwarding_list() { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABDataForwardingItemIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_subjectto_data_forwarding_list, type_, "Value"); return c.get >(); } cdma2000_ho_status_e& dl_s1cdma2000tunnelling_ies_o::value_c::cdma2000_ho_status() { - assert_choice_type("Cdma2000HOStatus", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_ho_status, type_, "Value"); return c.get(); } cdma2000_rat_type_e& dl_s1cdma2000tunnelling_ies_o::value_c::cdma2000_rat_type() { - assert_choice_type("Cdma2000RATType", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_rat_type, type_, "Value"); return c.get(); } unbounded_octstring& dl_s1cdma2000tunnelling_ies_o::value_c::cdma2000_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_pdu, type_, "Value"); return c.get >(); } const uint64_t& dl_s1cdma2000tunnelling_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& dl_s1cdma2000tunnelling_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_ie_container_list_l& dl_s1cdma2000tunnelling_ies_o::value_c::erab_subjectto_data_forwarding_list() const { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABDataForwardingItemIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_subjectto_data_forwarding_list, type_, "Value"); return c.get >(); } const cdma2000_ho_status_e& dl_s1cdma2000tunnelling_ies_o::value_c::cdma2000_ho_status() const { - assert_choice_type("Cdma2000HOStatus", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_ho_status, type_, "Value"); return c.get(); } const cdma2000_rat_type_e& dl_s1cdma2000tunnelling_ies_o::value_c::cdma2000_rat_type() const { - assert_choice_type("Cdma2000RATType", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_rat_type, type_, "Value"); return c.get(); } const unbounded_octstring& dl_s1cdma2000tunnelling_ies_o::value_c::cdma2000_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_pdu, type_, "Value"); return c.get >(); } void dl_s1cdma2000tunnelling_ies_o::value_c::to_json(json_writer& j) const @@ -10464,42 +10464,42 @@ dl_ueassociated_lp_pa_transport_ies_o::value_c::operator=(const dl_ueassociated_ } uint64_t& dl_ueassociated_lp_pa_transport_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& dl_ueassociated_lp_pa_transport_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } uint16_t& dl_ueassociated_lp_pa_transport_ies_o::value_c::routing_id() { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get(); } unbounded_octstring& dl_ueassociated_lp_pa_transport_ies_o::value_c::lp_pa_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lp_pa_pdu, type_, "Value"); return c.get >(); } const uint64_t& dl_ueassociated_lp_pa_transport_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& dl_ueassociated_lp_pa_transport_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const uint16_t& dl_ueassociated_lp_pa_transport_ies_o::value_c::routing_id() const { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get(); } const unbounded_octstring& dl_ueassociated_lp_pa_transport_ies_o::value_c::lp_pa_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lp_pa_pdu, type_, "Value"); return c.get >(); } void dl_ueassociated_lp_pa_transport_ies_o::value_c::to_json(json_writer& j) const @@ -11668,72 +11668,72 @@ erab_mod_confirm_ies_o::value_c::operator=(const erab_mod_confirm_ies_o::value_c } uint64_t& erab_mod_confirm_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& erab_mod_confirm_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_modify_list_bearer_mod_conf_l& erab_mod_confirm_ies_o::value_c::erab_modify_list_bearer_mod_conf() { - assert_choice_type("E-RABModifyListBearerModConf", type_.to_string(), "Value"); + assert_choice_type(types::erab_modify_list_bearer_mod_conf, type_, "Value"); return c.get(); } erab_list_l& erab_mod_confirm_ies_o::value_c::erab_failed_to_modify_list_bearer_mod_conf() { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_modify_list_bearer_mod_conf, type_, "Value"); return c.get(); } erab_list_l& erab_mod_confirm_ies_o::value_c::erab_to_be_released_list_bearer_mod_conf() { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_released_list_bearer_mod_conf, type_, "Value"); return c.get(); } crit_diagnostics_s& erab_mod_confirm_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } csg_membership_status_e& erab_mod_confirm_ies_o::value_c::csg_membership_status() { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } const uint64_t& erab_mod_confirm_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& erab_mod_confirm_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_modify_list_bearer_mod_conf_l& erab_mod_confirm_ies_o::value_c::erab_modify_list_bearer_mod_conf() const { - assert_choice_type("E-RABModifyListBearerModConf", type_.to_string(), "Value"); + assert_choice_type(types::erab_modify_list_bearer_mod_conf, type_, "Value"); return c.get(); } const erab_list_l& erab_mod_confirm_ies_o::value_c::erab_failed_to_modify_list_bearer_mod_conf() const { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_modify_list_bearer_mod_conf, type_, "Value"); return c.get(); } const erab_list_l& erab_mod_confirm_ies_o::value_c::erab_to_be_released_list_bearer_mod_conf() const { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_released_list_bearer_mod_conf, type_, "Value"); return c.get(); } const crit_diagnostics_s& erab_mod_confirm_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const csg_membership_status_e& erab_mod_confirm_ies_o::value_c::csg_membership_status() const { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } void erab_mod_confirm_ies_o::value_c::to_json(json_writer& j) const @@ -12907,86 +12907,86 @@ erab_mod_ind_ies_o::value_c& erab_mod_ind_ies_o::value_c::operator=(const erab_m } uint64_t& erab_mod_ind_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& erab_mod_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_ie_container_list_l& erab_mod_ind_ies_o::value_c::erab_to_be_modified_list_bearer_mod_ind() { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABToBeModifiedItemBearerModIndIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_modified_list_bearer_mod_ind, type_, "Value"); return c.get >(); } erab_ie_container_list_l& erab_mod_ind_ies_o::value_c::erab_not_to_be_modified_list_bearer_mod_ind() { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABNotToBeModifiedItemBearerModIndIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_not_to_be_modified_list_bearer_mod_ind, type_, "Value"); return c.get >(); } csg_membership_info_s& erab_mod_ind_ies_o::value_c::csg_membership_info() { - assert_choice_type("CSGMembershipInfo", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_info, type_, "Value"); return c.get(); } tunnel_info_s& erab_mod_ind_ies_o::value_c::tunnel_info_for_bbf() { - assert_choice_type("TunnelInformation", type_.to_string(), "Value"); + assert_choice_type(types::tunnel_info_for_bbf, type_, "Value"); return c.get(); } secondary_rat_data_usage_report_list_l& erab_mod_ind_ies_o::value_c::secondary_rat_data_usage_report_list() { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } user_location_info_s& erab_mod_ind_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const uint64_t& erab_mod_ind_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& erab_mod_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_ie_container_list_l& erab_mod_ind_ies_o::value_c::erab_to_be_modified_list_bearer_mod_ind() const { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABToBeModifiedItemBearerModIndIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_modified_list_bearer_mod_ind, type_, "Value"); return c.get >(); } const erab_ie_container_list_l& erab_mod_ind_ies_o::value_c::erab_not_to_be_modified_list_bearer_mod_ind() const { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABNotToBeModifiedItemBearerModIndIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_not_to_be_modified_list_bearer_mod_ind, type_, "Value"); return c.get >(); } const csg_membership_info_s& erab_mod_ind_ies_o::value_c::csg_membership_info() const { - assert_choice_type("CSGMembershipInfo", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_info, type_, "Value"); return c.get(); } const tunnel_info_s& erab_mod_ind_ies_o::value_c::tunnel_info_for_bbf() const { - assert_choice_type("TunnelInformation", type_.to_string(), "Value"); + assert_choice_type(types::tunnel_info_for_bbf, type_, "Value"); return c.get(); } const secondary_rat_data_usage_report_list_l& erab_mod_ind_ies_o::value_c::secondary_rat_data_usage_report_list() const { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } const user_location_info_s& erab_mod_ind_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } void erab_mod_ind_ies_o::value_c::to_json(json_writer& j) const @@ -13680,22 +13680,22 @@ ue_aggregate_maximum_bitrates_ext_ies_o::ext_c::operator=(const ue_aggregate_max } uint64_t& ue_aggregate_maximum_bitrates_ext_ies_o::ext_c::extended_u_eaggregate_maximum_bit_rate_dl() { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_u_eaggregate_maximum_bit_rate_dl, type_, "Extension"); return c.get(); } uint64_t& ue_aggregate_maximum_bitrates_ext_ies_o::ext_c::extended_u_eaggregate_maximum_bit_rate_ul() { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_u_eaggregate_maximum_bit_rate_ul, type_, "Extension"); return c.get(); } const uint64_t& ue_aggregate_maximum_bitrates_ext_ies_o::ext_c::extended_u_eaggregate_maximum_bit_rate_dl() const { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_u_eaggregate_maximum_bit_rate_dl, type_, "Extension"); return c.get(); } const uint64_t& ue_aggregate_maximum_bitrates_ext_ies_o::ext_c::extended_u_eaggregate_maximum_bit_rate_ul() const { - assert_choice_type("INTEGER (10000000001..4000000000000,...)", type_.to_string(), "Extension"); + assert_choice_type(types::extended_u_eaggregate_maximum_bit_rate_ul, type_, "Extension"); return c.get(); } void ue_aggregate_maximum_bitrates_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -14040,53 +14040,53 @@ erab_modify_request_ies_o::value_c::operator=(const erab_modify_request_ies_o::v } uint64_t& erab_modify_request_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& erab_modify_request_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } ue_aggregate_maximum_bitrate_s& erab_modify_request_ies_o::value_c::ueaggregate_maximum_bitrate() { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } erab_to_be_modified_list_bearer_mod_req_l& erab_modify_request_ies_o::value_c::erab_to_be_modified_list_bearer_mod_req() { - assert_choice_type("E-RABToBeModifiedListBearerModReq", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_modified_list_bearer_mod_req, type_, "Value"); return c.get(); } secondary_rat_data_usage_request_e& erab_modify_request_ies_o::value_c::secondary_rat_data_usage_request() { - assert_choice_type("SecondaryRATDataUsageRequest", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_request, type_, "Value"); return c.get(); } const uint64_t& erab_modify_request_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& erab_modify_request_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const ue_aggregate_maximum_bitrate_s& erab_modify_request_ies_o::value_c::ueaggregate_maximum_bitrate() const { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } const erab_to_be_modified_list_bearer_mod_req_l& erab_modify_request_ies_o::value_c::erab_to_be_modified_list_bearer_mod_req() const { - assert_choice_type("E-RABToBeModifiedListBearerModReq", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_modified_list_bearer_mod_req, type_, "Value"); return c.get(); } const secondary_rat_data_usage_request_e& erab_modify_request_ies_o::value_c::secondary_rat_data_usage_request() const { - assert_choice_type("SecondaryRATDataUsageRequest", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_request, type_, "Value"); return c.get(); } void erab_modify_request_ies_o::value_c::to_json(json_writer& j) const @@ -14498,63 +14498,63 @@ erab_modify_resp_ies_o::value_c::operator=(const erab_modify_resp_ies_o::value_c } uint64_t& erab_modify_resp_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& erab_modify_resp_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_modify_list_bearer_mod_res_l& erab_modify_resp_ies_o::value_c::erab_modify_list_bearer_mod_res() { - assert_choice_type("E-RABModifyListBearerModRes", type_.to_string(), "Value"); + assert_choice_type(types::erab_modify_list_bearer_mod_res, type_, "Value"); return c.get(); } erab_list_l& erab_modify_resp_ies_o::value_c::erab_failed_to_modify_list() { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_modify_list, type_, "Value"); return c.get(); } crit_diagnostics_s& erab_modify_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } secondary_rat_data_usage_report_list_l& erab_modify_resp_ies_o::value_c::secondary_rat_data_usage_report_list() { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } const uint64_t& erab_modify_resp_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& erab_modify_resp_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_modify_list_bearer_mod_res_l& erab_modify_resp_ies_o::value_c::erab_modify_list_bearer_mod_res() const { - assert_choice_type("E-RABModifyListBearerModRes", type_.to_string(), "Value"); + assert_choice_type(types::erab_modify_list_bearer_mod_res, type_, "Value"); return c.get(); } const erab_list_l& erab_modify_resp_ies_o::value_c::erab_failed_to_modify_list() const { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_modify_list, type_, "Value"); return c.get(); } const crit_diagnostics_s& erab_modify_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const secondary_rat_data_usage_report_list_l& erab_modify_resp_ies_o::value_c::secondary_rat_data_usage_report_list() const { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } void erab_modify_resp_ies_o::value_c::to_json(json_writer& j) const @@ -14986,52 +14986,52 @@ erab_release_cmd_ies_o::value_c::operator=(const erab_release_cmd_ies_o::value_c } uint64_t& erab_release_cmd_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& erab_release_cmd_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } ue_aggregate_maximum_bitrate_s& erab_release_cmd_ies_o::value_c::ueaggregate_maximum_bitrate() { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } erab_list_l& erab_release_cmd_ies_o::value_c::erab_to_be_released_list() { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_released_list, type_, "Value"); return c.get(); } unbounded_octstring& erab_release_cmd_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const uint64_t& erab_release_cmd_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& erab_release_cmd_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const ue_aggregate_maximum_bitrate_s& erab_release_cmd_ies_o::value_c::ueaggregate_maximum_bitrate() const { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } const erab_list_l& erab_release_cmd_ies_o::value_c::erab_to_be_released_list() const { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_released_list, type_, "Value"); return c.get(); } const unbounded_octstring& erab_release_cmd_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } void erab_release_cmd_ies_o::value_c::to_json(json_writer& j) const @@ -15421,53 +15421,53 @@ erab_release_ind_ies_o::value_c::operator=(const erab_release_ind_ies_o::value_c } uint64_t& erab_release_ind_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& erab_release_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_list_l& erab_release_ind_ies_o::value_c::erab_released_list() { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_released_list, type_, "Value"); return c.get(); } user_location_info_s& erab_release_ind_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } secondary_rat_data_usage_report_list_l& erab_release_ind_ies_o::value_c::secondary_rat_data_usage_report_list() { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } const uint64_t& erab_release_ind_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& erab_release_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_list_l& erab_release_ind_ies_o::value_c::erab_released_list() const { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_released_list, type_, "Value"); return c.get(); } const user_location_info_s& erab_release_ind_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const secondary_rat_data_usage_report_list_l& erab_release_ind_ies_o::value_c::secondary_rat_data_usage_report_list() const { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } void erab_release_ind_ies_o::value_c::to_json(json_writer& j) const @@ -16002,73 +16002,73 @@ erab_release_resp_ies_o::value_c::operator=(const erab_release_resp_ies_o::value } uint64_t& erab_release_resp_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& erab_release_resp_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_release_list_bearer_rel_comp_l& erab_release_resp_ies_o::value_c::erab_release_list_bearer_rel_comp() { - assert_choice_type("E-RABReleaseListBearerRelComp", type_.to_string(), "Value"); + assert_choice_type(types::erab_release_list_bearer_rel_comp, type_, "Value"); return c.get(); } erab_list_l& erab_release_resp_ies_o::value_c::erab_failed_to_release_list() { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_release_list, type_, "Value"); return c.get(); } crit_diagnostics_s& erab_release_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } user_location_info_s& erab_release_resp_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } secondary_rat_data_usage_report_list_l& erab_release_resp_ies_o::value_c::secondary_rat_data_usage_report_list() { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } const uint64_t& erab_release_resp_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& erab_release_resp_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_release_list_bearer_rel_comp_l& erab_release_resp_ies_o::value_c::erab_release_list_bearer_rel_comp() const { - assert_choice_type("E-RABReleaseListBearerRelComp", type_.to_string(), "Value"); + assert_choice_type(types::erab_release_list_bearer_rel_comp, type_, "Value"); return c.get(); } const erab_list_l& erab_release_resp_ies_o::value_c::erab_failed_to_release_list() const { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_release_list, type_, "Value"); return c.get(); } const crit_diagnostics_s& erab_release_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const user_location_info_s& erab_release_resp_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const secondary_rat_data_usage_report_list_l& erab_release_resp_ies_o::value_c::secondary_rat_data_usage_report_list() const { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } void erab_release_resp_ies_o::value_c::to_json(json_writer& j) const @@ -16712,32 +16712,32 @@ erab_to_be_setup_item_bearer_su_req_ext_ies_o::ext_c& erab_to_be_setup_item_bear } fixed_octstring<4, true>& erab_to_be_setup_item_bearer_su_req_ext_ies_o::ext_c::correlation_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Extension"); + assert_choice_type(types::correlation_id, type_, "Extension"); return c.get >(); } fixed_octstring<4, true>& erab_to_be_setup_item_bearer_su_req_ext_ies_o::ext_c::sipto_correlation_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Extension"); + assert_choice_type(types::sipto_correlation_id, type_, "Extension"); return c.get >(); } bearer_type_e& erab_to_be_setup_item_bearer_su_req_ext_ies_o::ext_c::bearer_type() { - assert_choice_type("BearerType", type_.to_string(), "Extension"); + assert_choice_type(types::bearer_type, type_, "Extension"); return c.get(); } const fixed_octstring<4, true>& erab_to_be_setup_item_bearer_su_req_ext_ies_o::ext_c::correlation_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Extension"); + assert_choice_type(types::correlation_id, type_, "Extension"); return c.get >(); } const fixed_octstring<4, true>& erab_to_be_setup_item_bearer_su_req_ext_ies_o::ext_c::sipto_correlation_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Extension"); + assert_choice_type(types::sipto_correlation_id, type_, "Extension"); return c.get >(); } const bearer_type_e& erab_to_be_setup_item_bearer_su_req_ext_ies_o::ext_c::bearer_type() const { - assert_choice_type("BearerType", type_.to_string(), "Extension"); + assert_choice_type(types::bearer_type, type_, "Extension"); return c.get(); } void erab_to_be_setup_item_bearer_su_req_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -17152,43 +17152,43 @@ erab_setup_request_ies_o::value_c::operator=(const erab_setup_request_ies_o::val } uint64_t& erab_setup_request_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& erab_setup_request_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } ue_aggregate_maximum_bitrate_s& erab_setup_request_ies_o::value_c::ueaggregate_maximum_bitrate() { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } erab_to_be_setup_list_bearer_su_req_l& erab_setup_request_ies_o::value_c::erab_to_be_setup_list_bearer_su_req() { - assert_choice_type("E-RABToBeSetupListBearerSUReq", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_setup_list_bearer_su_req, type_, "Value"); return c.get(); } const uint64_t& erab_setup_request_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& erab_setup_request_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const ue_aggregate_maximum_bitrate_s& erab_setup_request_ies_o::value_c::ueaggregate_maximum_bitrate() const { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } const erab_to_be_setup_list_bearer_su_req_l& erab_setup_request_ies_o::value_c::erab_to_be_setup_list_bearer_su_req() const { - assert_choice_type("E-RABToBeSetupListBearerSUReq", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_setup_list_bearer_su_req, type_, "Value"); return c.get(); } void erab_setup_request_ies_o::value_c::to_json(json_writer& j) const @@ -17553,52 +17553,52 @@ erab_setup_resp_ies_o::value_c& erab_setup_resp_ies_o::value_c::operator=(const } uint64_t& erab_setup_resp_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& erab_setup_resp_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_setup_list_bearer_su_res_l& erab_setup_resp_ies_o::value_c::erab_setup_list_bearer_su_res() { - assert_choice_type("E-RABSetupListBearerSURes", type_.to_string(), "Value"); + assert_choice_type(types::erab_setup_list_bearer_su_res, type_, "Value"); return c.get(); } erab_list_l& erab_setup_resp_ies_o::value_c::erab_failed_to_setup_list_bearer_su_res() { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_setup_list_bearer_su_res, type_, "Value"); return c.get(); } crit_diagnostics_s& erab_setup_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& erab_setup_resp_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& erab_setup_resp_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_setup_list_bearer_su_res_l& erab_setup_resp_ies_o::value_c::erab_setup_list_bearer_su_res() const { - assert_choice_type("E-RABSetupListBearerSURes", type_.to_string(), "Value"); + assert_choice_type(types::erab_setup_list_bearer_su_res, type_, "Value"); return c.get(); } const erab_list_l& erab_setup_resp_ies_o::value_c::erab_failed_to_setup_list_bearer_su_res() const { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_setup_list_bearer_su_res, type_, "Value"); return c.get(); } const crit_diagnostics_s& erab_setup_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void erab_setup_resp_ies_o::value_c::to_json(json_writer& j) const @@ -17968,32 +17968,32 @@ erab_to_be_setup_item_ctxt_su_req_ext_ies_o::ext_c& erab_to_be_setup_item_ctxt_s } fixed_octstring<4, true>& erab_to_be_setup_item_ctxt_su_req_ext_ies_o::ext_c::correlation_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Extension"); + assert_choice_type(types::correlation_id, type_, "Extension"); return c.get >(); } fixed_octstring<4, true>& erab_to_be_setup_item_ctxt_su_req_ext_ies_o::ext_c::sipto_correlation_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Extension"); + assert_choice_type(types::sipto_correlation_id, type_, "Extension"); return c.get >(); } bearer_type_e& erab_to_be_setup_item_ctxt_su_req_ext_ies_o::ext_c::bearer_type() { - assert_choice_type("BearerType", type_.to_string(), "Extension"); + assert_choice_type(types::bearer_type, type_, "Extension"); return c.get(); } const fixed_octstring<4, true>& erab_to_be_setup_item_ctxt_su_req_ext_ies_o::ext_c::correlation_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Extension"); + assert_choice_type(types::correlation_id, type_, "Extension"); return c.get >(); } const fixed_octstring<4, true>& erab_to_be_setup_item_ctxt_su_req_ext_ies_o::ext_c::sipto_correlation_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Extension"); + assert_choice_type(types::sipto_correlation_id, type_, "Extension"); return c.get >(); } const bearer_type_e& erab_to_be_setup_item_ctxt_su_req_ext_ies_o::ext_c::bearer_type() const { - assert_choice_type("BearerType", type_.to_string(), "Extension"); + assert_choice_type(types::bearer_type, type_, "Extension"); return c.get(); } void erab_to_be_setup_item_ctxt_su_req_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -18366,23 +18366,23 @@ erab_to_be_setup_item_ho_req_ext_ies_o::ext_c::operator=(const erab_to_be_setup_ } data_forwarding_not_possible_e& erab_to_be_setup_item_ho_req_ext_ies_o::ext_c::data_forwarding_not_possible() { - assert_choice_type("Data-Forwarding-Not-Possible", type_.to_string(), "Extension"); + assert_choice_type(types::data_forwarding_not_possible, type_, "Extension"); return c.get(); } bearer_type_e& erab_to_be_setup_item_ho_req_ext_ies_o::ext_c::bearer_type() { - assert_choice_type("BearerType", type_.to_string(), "Extension"); + assert_choice_type(types::bearer_type, type_, "Extension"); return c.get(); } const data_forwarding_not_possible_e& erab_to_be_setup_item_ho_req_ext_ies_o::ext_c::data_forwarding_not_possible() const { - assert_choice_type("Data-Forwarding-Not-Possible", type_.to_string(), "Extension"); + assert_choice_type(types::data_forwarding_not_possible, type_, "Extension"); return c.get(); } const bearer_type_e& erab_to_be_setup_item_ho_req_ext_ies_o::ext_c::bearer_type() const { - assert_choice_type("BearerType", type_.to_string(), "Extension"); + assert_choice_type(types::bearer_type, type_, "Extension"); return c.get(); } void erab_to_be_setup_item_ho_req_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -19322,24 +19322,24 @@ x2_tnl_cfg_info_ext_ies_o::ext_c::operator=(const x2_tnl_cfg_info_ext_ies_o::ext } enbx2_ext_tlas_l& x2_tnl_cfg_info_ext_ies_o::ext_c::enbx2_extended_transport_layer_addresses() { - assert_choice_type("ENBX2ExtTLAs", type_.to_string(), "Extension"); + assert_choice_type(types::enbx2_extended_transport_layer_addresses, type_, "Extension"); return c.get(); } enb_indirect_x2_transport_layer_addresses_l& x2_tnl_cfg_info_ext_ies_o::ext_c::enb_indirect_x2_transport_layer_addresses() { - assert_choice_type("ENBIndirectX2TransportLayerAddresses", type_.to_string(), "Extension"); + assert_choice_type(types::enb_indirect_x2_transport_layer_addresses, type_, "Extension"); return c.get(); } const enbx2_ext_tlas_l& x2_tnl_cfg_info_ext_ies_o::ext_c::enbx2_extended_transport_layer_addresses() const { - assert_choice_type("ENBX2ExtTLAs", type_.to_string(), "Extension"); + assert_choice_type(types::enbx2_extended_transport_layer_addresses, type_, "Extension"); return c.get(); } const enb_indirect_x2_transport_layer_addresses_l& x2_tnl_cfg_info_ext_ies_o::ext_c::enb_indirect_x2_transport_layer_addresses() const { - assert_choice_type("ENBIndirectX2TransportLayerAddresses", type_.to_string(), "Extension"); + assert_choice_type(types::enb_indirect_x2_transport_layer_addresses, type_, "Extension"); return c.get(); } void x2_tnl_cfg_info_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -20578,52 +20578,52 @@ enbcp_relocation_ind_ies_o::value_c::operator=(const enbcp_relocation_ind_ies_o: } uint32_t& enbcp_relocation_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } s_tmsi_s& enbcp_relocation_ind_ies_o::value_c::s_tmsi() { - assert_choice_type("S-TMSI", type_.to_string(), "Value"); + assert_choice_type(types::s_tmsi, type_, "Value"); return c.get(); } eutran_cgi_s& enbcp_relocation_ind_ies_o::value_c::eutran_cgi() { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } tai_s& enbcp_relocation_ind_ies_o::value_c::tai() { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } ul_cp_security_info_s& enbcp_relocation_ind_ies_o::value_c::ul_cp_security_info() { - assert_choice_type("UL-CP-SecurityInformation", type_.to_string(), "Value"); + assert_choice_type(types::ul_cp_security_info, type_, "Value"); return c.get(); } const uint32_t& enbcp_relocation_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const s_tmsi_s& enbcp_relocation_ind_ies_o::value_c::s_tmsi() const { - assert_choice_type("S-TMSI", type_.to_string(), "Value"); + assert_choice_type(types::s_tmsi, type_, "Value"); return c.get(); } const eutran_cgi_s& enbcp_relocation_ind_ies_o::value_c::eutran_cgi() const { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } const tai_s& enbcp_relocation_ind_ies_o::value_c::tai() const { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } const ul_cp_security_info_s& enbcp_relocation_ind_ies_o::value_c::ul_cp_security_info() const { - assert_choice_type("UL-CP-SecurityInformation", type_.to_string(), "Value"); + assert_choice_type(types::ul_cp_security_info, type_, "Value"); return c.get(); } void enbcp_relocation_ind_ies_o::value_c::to_json(json_writer& j) const @@ -21078,22 +21078,22 @@ son_cfg_transfer_ext_ies_o::ext_c::operator=(const son_cfg_transfer_ext_ies_o::e } x2_tnl_cfg_info_s& son_cfg_transfer_ext_ies_o::ext_c::x2_tnl_cfg_info() { - assert_choice_type("X2TNLConfigurationInfo", type_.to_string(), "Extension"); + assert_choice_type(types::x2_tnl_cfg_info, type_, "Extension"); return c.get(); } synchronisation_info_s& son_cfg_transfer_ext_ies_o::ext_c::synchronisation_info() { - assert_choice_type("SynchronisationInformation", type_.to_string(), "Extension"); + assert_choice_type(types::synchronisation_info, type_, "Extension"); return c.get(); } const x2_tnl_cfg_info_s& son_cfg_transfer_ext_ies_o::ext_c::x2_tnl_cfg_info() const { - assert_choice_type("X2TNLConfigurationInfo", type_.to_string(), "Extension"); + assert_choice_type(types::x2_tnl_cfg_info, type_, "Extension"); return c.get(); } const synchronisation_info_s& son_cfg_transfer_ext_ies_o::ext_c::synchronisation_info() const { - assert_choice_type("SynchronisationInformation", type_.to_string(), "Extension"); + assert_choice_type(types::synchronisation_info, type_, "Extension"); return c.get(); } void son_cfg_transfer_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -21473,22 +21473,22 @@ enb_cfg_transfer_ies_o::value_c::operator=(const enb_cfg_transfer_ies_o::value_c } son_cfg_transfer_s& enb_cfg_transfer_ies_o::value_c::son_cfg_transfer_ect() { - assert_choice_type("SONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::son_cfg_transfer_ect, type_, "Value"); return c.get(); } en_dcson_cfg_transfer_s& enb_cfg_transfer_ies_o::value_c::en_dcson_cfg_transfer_ect() { - assert_choice_type("EN-DCSONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::en_dcson_cfg_transfer_ect, type_, "Value"); return c.get(); } const son_cfg_transfer_s& enb_cfg_transfer_ies_o::value_c::son_cfg_transfer_ect() const { - assert_choice_type("SONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::son_cfg_transfer_ect, type_, "Value"); return c.get(); } const en_dcson_cfg_transfer_s& enb_cfg_transfer_ies_o::value_c::en_dcson_cfg_transfer_ect() const { - assert_choice_type("EN-DCSONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::en_dcson_cfg_transfer_ect, type_, "Value"); return c.get(); } void enb_cfg_transfer_ies_o::value_c::to_json(json_writer& j) const @@ -21871,72 +21871,72 @@ enb_cfg_upd_ies_o::value_c& enb_cfg_upd_ies_o::value_c::operator=(const enb_cfg_ } printable_string<1, 150, true, true>& enb_cfg_upd_ies_o::value_c::enbname() { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::enbname, type_, "Value"); return c.get >(); } supported_tas_l& enb_cfg_upd_ies_o::value_c::supported_tas() { - assert_choice_type("SupportedTAs", type_.to_string(), "Value"); + assert_choice_type(types::supported_tas, type_, "Value"); return c.get(); } csg_id_list_l& enb_cfg_upd_ies_o::value_c::csg_id_list() { - assert_choice_type("CSG-IdList", type_.to_string(), "Value"); + assert_choice_type(types::csg_id_list, type_, "Value"); return c.get(); } paging_drx_e& enb_cfg_upd_ies_o::value_c::default_paging_drx() { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::default_paging_drx, type_, "Value"); return c.get(); } nb_io_t_default_paging_drx_e& enb_cfg_upd_ies_o::value_c::nb_io_t_default_paging_drx() { - assert_choice_type("NB-IoT-DefaultPagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::nb_io_t_default_paging_drx, type_, "Value"); return c.get(); } connectedeng_nb_list_l& enb_cfg_upd_ies_o::value_c::connectedeng_nb_to_add_list() { - assert_choice_type("ConnectedengNBList", type_.to_string(), "Value"); + assert_choice_type(types::connectedeng_nb_to_add_list, type_, "Value"); return c.get(); } connectedeng_nb_list_l& enb_cfg_upd_ies_o::value_c::connectedeng_nb_to_rem_list() { - assert_choice_type("ConnectedengNBList", type_.to_string(), "Value"); + assert_choice_type(types::connectedeng_nb_to_rem_list, type_, "Value"); return c.get(); } const printable_string<1, 150, true, true>& enb_cfg_upd_ies_o::value_c::enbname() const { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::enbname, type_, "Value"); return c.get >(); } const supported_tas_l& enb_cfg_upd_ies_o::value_c::supported_tas() const { - assert_choice_type("SupportedTAs", type_.to_string(), "Value"); + assert_choice_type(types::supported_tas, type_, "Value"); return c.get(); } const csg_id_list_l& enb_cfg_upd_ies_o::value_c::csg_id_list() const { - assert_choice_type("CSG-IdList", type_.to_string(), "Value"); + assert_choice_type(types::csg_id_list, type_, "Value"); return c.get(); } const paging_drx_e& enb_cfg_upd_ies_o::value_c::default_paging_drx() const { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::default_paging_drx, type_, "Value"); return c.get(); } const nb_io_t_default_paging_drx_e& enb_cfg_upd_ies_o::value_c::nb_io_t_default_paging_drx() const { - assert_choice_type("NB-IoT-DefaultPagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::nb_io_t_default_paging_drx, type_, "Value"); return c.get(); } const connectedeng_nb_list_l& enb_cfg_upd_ies_o::value_c::connectedeng_nb_to_add_list() const { - assert_choice_type("ConnectedengNBList", type_.to_string(), "Value"); + assert_choice_type(types::connectedeng_nb_to_add_list, type_, "Value"); return c.get(); } const connectedeng_nb_list_l& enb_cfg_upd_ies_o::value_c::connectedeng_nb_to_rem_list() const { - assert_choice_type("ConnectedengNBList", type_.to_string(), "Value"); + assert_choice_type(types::connectedeng_nb_to_rem_list, type_, "Value"); return c.get(); } void enb_cfg_upd_ies_o::value_c::to_json(json_writer& j) const @@ -22461,32 +22461,32 @@ enb_cfg_upd_fail_ies_o::value_c::operator=(const enb_cfg_upd_fail_ies_o::value_c } cause_c& enb_cfg_upd_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } time_to_wait_e& enb_cfg_upd_fail_ies_o::value_c::time_to_wait() { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } crit_diagnostics_s& enb_cfg_upd_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const cause_c& enb_cfg_upd_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const time_to_wait_e& enb_cfg_upd_fail_ies_o::value_c::time_to_wait() const { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } const crit_diagnostics_s& enb_cfg_upd_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void enb_cfg_upd_fail_ies_o::value_c::to_json(json_writer& j) const @@ -23268,34 +23268,34 @@ enb_status_transfer_ies_o::value_c::operator=(const enb_status_transfer_ies_o::v } uint64_t& enb_status_transfer_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& enb_status_transfer_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } enb_status_transfer_transparent_container_s& enb_status_transfer_ies_o::value_c::enb_status_transfer_transparent_container() { - assert_choice_type("ENB-StatusTransfer-TransparentContainer", type_.to_string(), "Value"); + assert_choice_type(types::enb_status_transfer_transparent_container, type_, "Value"); return c.get(); } const uint64_t& enb_status_transfer_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& enb_status_transfer_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const enb_status_transfer_transparent_container_s& enb_status_transfer_ies_o::value_c::enb_status_transfer_transparent_container() const { - assert_choice_type("ENB-StatusTransfer-TransparentContainer", type_.to_string(), "Value"); + assert_choice_type(types::enb_status_transfer_transparent_container, type_, "Value"); return c.get(); } void enb_status_transfer_ies_o::value_c::to_json(json_writer& j) const @@ -23658,52 +23658,52 @@ error_ind_ies_o::value_c& error_ind_ies_o::value_c::operator=(const error_ind_ie } uint64_t& error_ind_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& error_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } cause_c& error_ind_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& error_ind_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } s_tmsi_s& error_ind_ies_o::value_c::s_tmsi() { - assert_choice_type("S-TMSI", type_.to_string(), "Value"); + assert_choice_type(types::s_tmsi, type_, "Value"); return c.get(); } const uint64_t& error_ind_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& error_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const cause_c& error_ind_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& error_ind_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const s_tmsi_s& error_ind_ies_o::value_c::s_tmsi() const { - assert_choice_type("S-TMSI", type_.to_string(), "Value"); + assert_choice_type(types::s_tmsi, type_, "Value"); return c.get(); } void error_ind_ies_o::value_c::to_json(json_writer& j) const @@ -24425,32 +24425,32 @@ ho_cancel_ies_o::value_c& ho_cancel_ies_o::value_c::operator=(const ho_cancel_ie } uint64_t& ho_cancel_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ho_cancel_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } cause_c& ho_cancel_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const uint64_t& ho_cancel_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ho_cancel_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const cause_c& ho_cancel_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } void ho_cancel_ies_o::value_c::to_json(json_writer& j) const @@ -24746,32 +24746,32 @@ ho_cancel_ack_ies_o::value_c& ho_cancel_ack_ies_o::value_c::operator=(const ho_c } uint64_t& ho_cancel_ack_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ho_cancel_ack_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } crit_diagnostics_s& ho_cancel_ack_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ho_cancel_ack_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ho_cancel_ack_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const crit_diagnostics_s& ho_cancel_ack_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ho_cancel_ack_ies_o::value_c::to_json(json_writer& j) const @@ -25202,93 +25202,93 @@ ho_cmd_ies_o::value_c& ho_cmd_ies_o::value_c::operator=(const ho_cmd_ies_o::valu } uint64_t& ho_cmd_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ho_cmd_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } handov_type_e& ho_cmd_ies_o::value_c::handov_type() { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } unbounded_octstring& ho_cmd_ies_o::value_c::nas_security_paramsfrom_e_utran() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_security_paramsfrom_e_utran, type_, "Value"); return c.get >(); } erab_ie_container_list_l& ho_cmd_ies_o::value_c::erab_subjectto_data_forwarding_list() { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABDataForwardingItemIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_subjectto_data_forwarding_list, type_, "Value"); return c.get >(); } erab_list_l& ho_cmd_ies_o::value_c::erab_to_release_list_ho_cmd() { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_release_list_ho_cmd, type_, "Value"); return c.get(); } unbounded_octstring& ho_cmd_ies_o::value_c::target_to_source_transparent_container() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::target_to_source_transparent_container, type_, "Value"); return c.get >(); } unbounded_octstring& ho_cmd_ies_o::value_c::target_to_source_transparent_container_secondary() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::target_to_source_transparent_container_secondary, type_, "Value"); return c.get >(); } crit_diagnostics_s& ho_cmd_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ho_cmd_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ho_cmd_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const handov_type_e& ho_cmd_ies_o::value_c::handov_type() const { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } const unbounded_octstring& ho_cmd_ies_o::value_c::nas_security_paramsfrom_e_utran() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_security_paramsfrom_e_utran, type_, "Value"); return c.get >(); } const erab_ie_container_list_l& ho_cmd_ies_o::value_c::erab_subjectto_data_forwarding_list() const { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABDataForwardingItemIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_subjectto_data_forwarding_list, type_, "Value"); return c.get >(); } const erab_list_l& ho_cmd_ies_o::value_c::erab_to_release_list_ho_cmd() const { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_release_list_ho_cmd, type_, "Value"); return c.get(); } const unbounded_octstring& ho_cmd_ies_o::value_c::target_to_source_transparent_container() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::target_to_source_transparent_container, type_, "Value"); return c.get >(); } const unbounded_octstring& ho_cmd_ies_o::value_c::target_to_source_transparent_container_secondary() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::target_to_source_transparent_container_secondary, type_, "Value"); return c.get >(); } const crit_diagnostics_s& ho_cmd_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ho_cmd_ies_o::value_c::to_json(json_writer& j) const @@ -25744,32 +25744,32 @@ ho_fail_ies_o::value_c& ho_fail_ies_o::value_c::operator=(const ho_fail_ies_o::v } uint64_t& ho_fail_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } cause_c& ho_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& ho_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ho_fail_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const cause_c& ho_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& ho_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ho_fail_ies_o::value_c::to_json(json_writer& j) const @@ -26152,72 +26152,72 @@ ho_notify_ies_o::value_c& ho_notify_ies_o::value_c::operator=(const ho_notify_ie } uint64_t& ho_notify_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ho_notify_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } eutran_cgi_s& ho_notify_ies_o::value_c::eutran_cgi() { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } tai_s& ho_notify_ies_o::value_c::tai() { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } tunnel_info_s& ho_notify_ies_o::value_c::tunnel_info_for_bbf() { - assert_choice_type("TunnelInformation", type_.to_string(), "Value"); + assert_choice_type(types::tunnel_info_for_bbf, type_, "Value"); return c.get(); } bounded_octstring<32, 256, true>& ho_notify_ies_o::value_c::lhn_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lhn_id, type_, "Value"); return c.get >(); } ps_cell_info_s& ho_notify_ies_o::value_c::ps_cell_info() { - assert_choice_type("PSCellInformation", type_.to_string(), "Value"); + assert_choice_type(types::ps_cell_info, type_, "Value"); return c.get(); } const uint64_t& ho_notify_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ho_notify_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const eutran_cgi_s& ho_notify_ies_o::value_c::eutran_cgi() const { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } const tai_s& ho_notify_ies_o::value_c::tai() const { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } const tunnel_info_s& ho_notify_ies_o::value_c::tunnel_info_for_bbf() const { - assert_choice_type("TunnelInformation", type_.to_string(), "Value"); + assert_choice_type(types::tunnel_info_for_bbf, type_, "Value"); return c.get(); } const bounded_octstring<32, 256, true>& ho_notify_ies_o::value_c::lhn_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lhn_id, type_, "Value"); return c.get >(); } const ps_cell_info_s& ho_notify_ies_o::value_c::ps_cell_info() const { - assert_choice_type("PSCellInformation", type_.to_string(), "Value"); + assert_choice_type(types::ps_cell_info, type_, "Value"); return c.get(); } void ho_notify_ies_o::value_c::to_json(json_writer& j) const @@ -26634,42 +26634,42 @@ ho_prep_fail_ies_o::value_c& ho_prep_fail_ies_o::value_c::operator=(const ho_pre } uint64_t& ho_prep_fail_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ho_prep_fail_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } cause_c& ho_prep_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& ho_prep_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ho_prep_fail_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ho_prep_fail_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const cause_c& ho_prep_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& ho_prep_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ho_prep_fail_ies_o::value_c::to_json(json_writer& j) const @@ -27731,82 +27731,82 @@ immediate_mdt_ext_ies_o::ext_c& immediate_mdt_ext_ies_o::ext_c::operator=(const } m3_cfg_s& immediate_mdt_ext_ies_o::ext_c::m3_cfg() { - assert_choice_type("M3Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::m3_cfg, type_, "Extension"); return c.get(); } m4_cfg_s& immediate_mdt_ext_ies_o::ext_c::m4_cfg() { - assert_choice_type("M4Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::m4_cfg, type_, "Extension"); return c.get(); } m5_cfg_s& immediate_mdt_ext_ies_o::ext_c::m5_cfg() { - assert_choice_type("M5Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::m5_cfg, type_, "Extension"); return c.get(); } fixed_bitstring<8, false, true>& immediate_mdt_ext_ies_o::ext_c::mdt_location_info() { - assert_choice_type("BIT STRING", type_.to_string(), "Extension"); + assert_choice_type(types::mdt_location_info, type_, "Extension"); return c.get >(); } m6_cfg_s& immediate_mdt_ext_ies_o::ext_c::m6_cfg() { - assert_choice_type("M6Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::m6_cfg, type_, "Extension"); return c.get(); } m7_cfg_s& immediate_mdt_ext_ies_o::ext_c::m7_cfg() { - assert_choice_type("M7Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::m7_cfg, type_, "Extension"); return c.get(); } bluetooth_meas_cfg_s& immediate_mdt_ext_ies_o::ext_c::bluetooth_meas_cfg() { - assert_choice_type("BluetoothMeasurementConfiguration", type_.to_string(), "Extension"); + assert_choice_type(types::bluetooth_meas_cfg, type_, "Extension"); return c.get(); } wlan_meas_cfg_s& immediate_mdt_ext_ies_o::ext_c::wlan_meas_cfg() { - assert_choice_type("WLANMeasurementConfiguration", type_.to_string(), "Extension"); + assert_choice_type(types::wlan_meas_cfg, type_, "Extension"); return c.get(); } const m3_cfg_s& immediate_mdt_ext_ies_o::ext_c::m3_cfg() const { - assert_choice_type("M3Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::m3_cfg, type_, "Extension"); return c.get(); } const m4_cfg_s& immediate_mdt_ext_ies_o::ext_c::m4_cfg() const { - assert_choice_type("M4Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::m4_cfg, type_, "Extension"); return c.get(); } const m5_cfg_s& immediate_mdt_ext_ies_o::ext_c::m5_cfg() const { - assert_choice_type("M5Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::m5_cfg, type_, "Extension"); return c.get(); } const fixed_bitstring<8, false, true>& immediate_mdt_ext_ies_o::ext_c::mdt_location_info() const { - assert_choice_type("BIT STRING", type_.to_string(), "Extension"); + assert_choice_type(types::mdt_location_info, type_, "Extension"); return c.get >(); } const m6_cfg_s& immediate_mdt_ext_ies_o::ext_c::m6_cfg() const { - assert_choice_type("M6Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::m6_cfg, type_, "Extension"); return c.get(); } const m7_cfg_s& immediate_mdt_ext_ies_o::ext_c::m7_cfg() const { - assert_choice_type("M7Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::m7_cfg, type_, "Extension"); return c.get(); } const bluetooth_meas_cfg_s& immediate_mdt_ext_ies_o::ext_c::bluetooth_meas_cfg() const { - assert_choice_type("BluetoothMeasurementConfiguration", type_.to_string(), "Extension"); + assert_choice_type(types::bluetooth_meas_cfg, type_, "Extension"); return c.get(); } const wlan_meas_cfg_s& immediate_mdt_ext_ies_o::ext_c::wlan_meas_cfg() const { - assert_choice_type("WLANMeasurementConfiguration", type_.to_string(), "Extension"); + assert_choice_type(types::wlan_meas_cfg, type_, "Extension"); return c.get(); } void immediate_mdt_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -28075,22 +28075,22 @@ logged_mdt_ext_ies_o::ext_c& logged_mdt_ext_ies_o::ext_c::operator=(const logged } bluetooth_meas_cfg_s& logged_mdt_ext_ies_o::ext_c::bluetooth_meas_cfg() { - assert_choice_type("BluetoothMeasurementConfiguration", type_.to_string(), "Extension"); + assert_choice_type(types::bluetooth_meas_cfg, type_, "Extension"); return c.get(); } wlan_meas_cfg_s& logged_mdt_ext_ies_o::ext_c::wlan_meas_cfg() { - assert_choice_type("WLANMeasurementConfiguration", type_.to_string(), "Extension"); + assert_choice_type(types::wlan_meas_cfg, type_, "Extension"); return c.get(); } const bluetooth_meas_cfg_s& logged_mdt_ext_ies_o::ext_c::bluetooth_meas_cfg() const { - assert_choice_type("BluetoothMeasurementConfiguration", type_.to_string(), "Extension"); + assert_choice_type(types::bluetooth_meas_cfg, type_, "Extension"); return c.get(); } const wlan_meas_cfg_s& logged_mdt_ext_ies_o::ext_c::wlan_meas_cfg() const { - assert_choice_type("WLANMeasurementConfiguration", type_.to_string(), "Extension"); + assert_choice_type(types::wlan_meas_cfg, type_, "Extension"); return c.get(); } void logged_mdt_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -29308,22 +29308,22 @@ trace_activation_ext_ies_o::ext_c::operator=(const trace_activation_ext_ies_o::e } mdt_cfg_s& trace_activation_ext_ies_o::ext_c::mdt_cfg() { - assert_choice_type("MDT-Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::mdt_cfg, type_, "Extension"); return c.get(); } ue_app_layer_meas_cfg_s& trace_activation_ext_ies_o::ext_c::ue_app_layer_meas_cfg() { - assert_choice_type("UEAppLayerMeasConfig", type_.to_string(), "Extension"); + assert_choice_type(types::ue_app_layer_meas_cfg, type_, "Extension"); return c.get(); } const mdt_cfg_s& trace_activation_ext_ies_o::ext_c::mdt_cfg() const { - assert_choice_type("MDT-Configuration", type_.to_string(), "Extension"); + assert_choice_type(types::mdt_cfg, type_, "Extension"); return c.get(); } const ue_app_layer_meas_cfg_s& trace_activation_ext_ies_o::ext_c::ue_app_layer_meas_cfg() const { - assert_choice_type("UEAppLayerMeasConfig", type_.to_string(), "Extension"); + assert_choice_type(types::ue_app_layer_meas_cfg, type_, "Extension"); return c.get(); } void trace_activation_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -30448,324 +30448,324 @@ ho_request_ies_o::value_c& ho_request_ies_o::value_c::operator=(const ho_request } uint64_t& ho_request_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } handov_type_e& ho_request_ies_o::value_c::handov_type() { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } cause_c& ho_request_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } ue_aggregate_maximum_bitrate_s& ho_request_ies_o::value_c::ueaggregate_maximum_bitrate() { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } erab_ie_container_list_l& ho_request_ies_o::value_c::erab_to_be_setup_list_ho_req() { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABToBeSetupItemHOReqIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_setup_list_ho_req, type_, "Value"); return c.get >(); } unbounded_octstring& ho_request_ies_o::value_c::source_to_target_transparent_container() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::source_to_target_transparent_container, type_, "Value"); return c.get >(); } ue_security_cap_s& ho_request_ies_o::value_c::ue_security_cap() { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } ho_restrict_list_s& ho_request_ies_o::value_c::ho_restrict_list() { - assert_choice_type("HandoverRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::ho_restrict_list, type_, "Value"); return c.get(); } trace_activation_s& ho_request_ies_o::value_c::trace_activation() { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } request_type_s& ho_request_ies_o::value_c::request_type() { - assert_choice_type("RequestType", type_.to_string(), "Value"); + assert_choice_type(types::request_type, type_, "Value"); return c.get(); } srvcc_operation_possible_e& ho_request_ies_o::value_c::srvcc_operation_possible() { - assert_choice_type("SRVCCOperationPossible", type_.to_string(), "Value"); + assert_choice_type(types::srvcc_operation_possible, type_, "Value"); return c.get(); } security_context_s& ho_request_ies_o::value_c::security_context() { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } unbounded_octstring& ho_request_ies_o::value_c::nas_security_paramsto_e_utran() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_security_paramsto_e_utran, type_, "Value"); return c.get >(); } fixed_bitstring<27, false, true>& ho_request_ies_o::value_c::csg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::csg_id, type_, "Value"); return c.get >(); } csg_membership_status_e& ho_request_ies_o::value_c::csg_membership_status() { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } gummei_s& ho_request_ies_o::value_c::gummei_id() { - assert_choice_type("GUMMEI", type_.to_string(), "Value"); + assert_choice_type(types::gummei_id, type_, "Value"); return c.get(); } uint64_t& ho_request_ies_o::value_c::mme_ue_s1ap_id_minus2() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id_minus2, type_, "Value"); return c.get(); } management_based_mdt_allowed_e& ho_request_ies_o::value_c::management_based_mdt_allowed() { - assert_choice_type("ManagementBasedMDTAllowed", type_.to_string(), "Value"); + assert_choice_type(types::management_based_mdt_allowed, type_, "Value"); return c.get(); } mdtplmn_list_l& ho_request_ies_o::value_c::management_based_mdtplmn_list() { - assert_choice_type("MDTPLMNList", type_.to_string(), "Value"); + assert_choice_type(types::management_based_mdtplmn_list, type_, "Value"); return c.get(); } fixed_bitstring<64, false, true>& ho_request_ies_o::value_c::masked_imeisv() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::masked_imeisv, type_, "Value"); return c.get >(); } expected_ue_behaviour_s& ho_request_ies_o::value_c::expected_ue_behaviour() { - assert_choice_type("ExpectedUEBehaviour", type_.to_string(), "Value"); + assert_choice_type(types::expected_ue_behaviour, type_, "Value"); return c.get(); } pro_se_authorized_s& ho_request_ies_o::value_c::pro_se_authorized() { - assert_choice_type("ProSeAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::pro_se_authorized, type_, "Value"); return c.get(); } ueuser_plane_cio_tsupport_ind_e& ho_request_ies_o::value_c::ueuser_plane_cio_tsupport_ind() { - assert_choice_type("UEUserPlaneCIoTSupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ueuser_plane_cio_tsupport_ind, type_, "Value"); return c.get(); } v2xservices_authorized_s& ho_request_ies_o::value_c::v2xservices_authorized() { - assert_choice_type("V2XServicesAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::v2xservices_authorized, type_, "Value"); return c.get(); } ue_sidelink_aggregate_maximum_bitrate_s& ho_request_ies_o::value_c::ue_sidelink_aggregate_maximum_bitrate() { - assert_choice_type("UESidelinkAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ue_sidelink_aggregate_maximum_bitrate, type_, "Value"); return c.get(); } enhanced_coverage_restricted_e& ho_request_ies_o::value_c::enhanced_coverage_restricted() { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } nrue_security_cap_s& ho_request_ies_o::value_c::nrue_security_cap() { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } ce_mode_brestricted_e& ho_request_ies_o::value_c::ce_mode_brestricted() { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } aerial_uesubscription_info_e& ho_request_ies_o::value_c::aerial_uesubscription_info() { - assert_choice_type("AerialUEsubscriptionInformation", type_.to_string(), "Value"); + assert_choice_type(types::aerial_uesubscription_info, type_, "Value"); return c.get(); } pending_data_ind_e& ho_request_ies_o::value_c::pending_data_ind() { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } subscription_based_ue_differentiation_info_s& ho_request_ies_o::value_c::subscription_based_ue_differentiation_info() { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } fixed_bitstring<32, false, true>& ho_request_ies_o::value_c::add_rrm_prio_idx() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Value"); return c.get >(); } const uint64_t& ho_request_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const handov_type_e& ho_request_ies_o::value_c::handov_type() const { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } const cause_c& ho_request_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const ue_aggregate_maximum_bitrate_s& ho_request_ies_o::value_c::ueaggregate_maximum_bitrate() const { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } const erab_ie_container_list_l& ho_request_ies_o::value_c::erab_to_be_setup_list_ho_req() const { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABToBeSetupItemHOReqIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_setup_list_ho_req, type_, "Value"); return c.get >(); } const unbounded_octstring& ho_request_ies_o::value_c::source_to_target_transparent_container() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::source_to_target_transparent_container, type_, "Value"); return c.get >(); } const ue_security_cap_s& ho_request_ies_o::value_c::ue_security_cap() const { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } const ho_restrict_list_s& ho_request_ies_o::value_c::ho_restrict_list() const { - assert_choice_type("HandoverRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::ho_restrict_list, type_, "Value"); return c.get(); } const trace_activation_s& ho_request_ies_o::value_c::trace_activation() const { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } const request_type_s& ho_request_ies_o::value_c::request_type() const { - assert_choice_type("RequestType", type_.to_string(), "Value"); + assert_choice_type(types::request_type, type_, "Value"); return c.get(); } const srvcc_operation_possible_e& ho_request_ies_o::value_c::srvcc_operation_possible() const { - assert_choice_type("SRVCCOperationPossible", type_.to_string(), "Value"); + assert_choice_type(types::srvcc_operation_possible, type_, "Value"); return c.get(); } const security_context_s& ho_request_ies_o::value_c::security_context() const { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } const unbounded_octstring& ho_request_ies_o::value_c::nas_security_paramsto_e_utran() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_security_paramsto_e_utran, type_, "Value"); return c.get >(); } const fixed_bitstring<27, false, true>& ho_request_ies_o::value_c::csg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::csg_id, type_, "Value"); return c.get >(); } const csg_membership_status_e& ho_request_ies_o::value_c::csg_membership_status() const { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } const gummei_s& ho_request_ies_o::value_c::gummei_id() const { - assert_choice_type("GUMMEI", type_.to_string(), "Value"); + assert_choice_type(types::gummei_id, type_, "Value"); return c.get(); } const uint64_t& ho_request_ies_o::value_c::mme_ue_s1ap_id_minus2() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id_minus2, type_, "Value"); return c.get(); } const management_based_mdt_allowed_e& ho_request_ies_o::value_c::management_based_mdt_allowed() const { - assert_choice_type("ManagementBasedMDTAllowed", type_.to_string(), "Value"); + assert_choice_type(types::management_based_mdt_allowed, type_, "Value"); return c.get(); } const mdtplmn_list_l& ho_request_ies_o::value_c::management_based_mdtplmn_list() const { - assert_choice_type("MDTPLMNList", type_.to_string(), "Value"); + assert_choice_type(types::management_based_mdtplmn_list, type_, "Value"); return c.get(); } const fixed_bitstring<64, false, true>& ho_request_ies_o::value_c::masked_imeisv() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::masked_imeisv, type_, "Value"); return c.get >(); } const expected_ue_behaviour_s& ho_request_ies_o::value_c::expected_ue_behaviour() const { - assert_choice_type("ExpectedUEBehaviour", type_.to_string(), "Value"); + assert_choice_type(types::expected_ue_behaviour, type_, "Value"); return c.get(); } const pro_se_authorized_s& ho_request_ies_o::value_c::pro_se_authorized() const { - assert_choice_type("ProSeAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::pro_se_authorized, type_, "Value"); return c.get(); } const ueuser_plane_cio_tsupport_ind_e& ho_request_ies_o::value_c::ueuser_plane_cio_tsupport_ind() const { - assert_choice_type("UEUserPlaneCIoTSupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ueuser_plane_cio_tsupport_ind, type_, "Value"); return c.get(); } const v2xservices_authorized_s& ho_request_ies_o::value_c::v2xservices_authorized() const { - assert_choice_type("V2XServicesAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::v2xservices_authorized, type_, "Value"); return c.get(); } const ue_sidelink_aggregate_maximum_bitrate_s& ho_request_ies_o::value_c::ue_sidelink_aggregate_maximum_bitrate() const { - assert_choice_type("UESidelinkAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ue_sidelink_aggregate_maximum_bitrate, type_, "Value"); return c.get(); } const enhanced_coverage_restricted_e& ho_request_ies_o::value_c::enhanced_coverage_restricted() const { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } const nrue_security_cap_s& ho_request_ies_o::value_c::nrue_security_cap() const { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } const ce_mode_brestricted_e& ho_request_ies_o::value_c::ce_mode_brestricted() const { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } const aerial_uesubscription_info_e& ho_request_ies_o::value_c::aerial_uesubscription_info() const { - assert_choice_type("AerialUEsubscriptionInformation", type_.to_string(), "Value"); + assert_choice_type(types::aerial_uesubscription_info, type_, "Value"); return c.get(); } const pending_data_ind_e& ho_request_ies_o::value_c::pending_data_ind() const { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } const subscription_based_ue_differentiation_info_s& ho_request_ies_o::value_c::subscription_based_ue_differentiation_info() const { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } const fixed_bitstring<32, false, true>& ho_request_ies_o::value_c::add_rrm_prio_idx() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Value"); return c.get >(); } void ho_request_ies_o::value_c::to_json(json_writer& j) const @@ -31897,94 +31897,94 @@ ho_request_ack_ies_o::value_c& ho_request_ack_ies_o::value_c::operator=(const ho } uint64_t& ho_request_ack_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ho_request_ack_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_ie_container_list_l& ho_request_ack_ies_o::value_c::erab_admitted_list() { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABAdmittedItemIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_admitted_list, type_, "Value"); return c.get >(); } erab_ie_container_list_l& ho_request_ack_ies_o::value_c::erab_failed_to_setup_list_ho_req_ack() { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABFailedtoSetupItemHOReqAckIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_setup_list_ho_req_ack, type_, "Value"); return c.get >(); } unbounded_octstring& ho_request_ack_ies_o::value_c::target_to_source_transparent_container() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::target_to_source_transparent_container, type_, "Value"); return c.get >(); } fixed_bitstring<27, false, true>& ho_request_ack_ies_o::value_c::csg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::csg_id, type_, "Value"); return c.get >(); } crit_diagnostics_s& ho_request_ack_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } cell_access_mode_e& ho_request_ack_ies_o::value_c::cell_access_mode() { - assert_choice_type("CellAccessMode", type_.to_string(), "Value"); + assert_choice_type(types::cell_access_mode, type_, "Value"); return c.get(); } ce_mode_b_support_ind_e& ho_request_ack_ies_o::value_c::ce_mode_b_support_ind() { - assert_choice_type("CE-mode-B-SupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_b_support_ind, type_, "Value"); return c.get(); } const uint64_t& ho_request_ack_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ho_request_ack_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_ie_container_list_l& ho_request_ack_ies_o::value_c::erab_admitted_list() const { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABAdmittedItemIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_admitted_list, type_, "Value"); return c.get >(); } const erab_ie_container_list_l& ho_request_ack_ies_o::value_c::erab_failed_to_setup_list_ho_req_ack() const { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABFailedtoSetupItemHOReqAckIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_setup_list_ho_req_ack, type_, "Value"); return c.get >(); } const unbounded_octstring& ho_request_ack_ies_o::value_c::target_to_source_transparent_container() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::target_to_source_transparent_container, type_, "Value"); return c.get >(); } const fixed_bitstring<27, false, true>& ho_request_ack_ies_o::value_c::csg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::csg_id, type_, "Value"); return c.get >(); } const crit_diagnostics_s& ho_request_ack_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const cell_access_mode_e& ho_request_ack_ies_o::value_c::cell_access_mode() const { - assert_choice_type("CellAccessMode", type_.to_string(), "Value"); + assert_choice_type(types::cell_access_mode, type_, "Value"); return c.get(); } const ce_mode_b_support_ind_e& ho_request_ack_ies_o::value_c::ce_mode_b_support_ind() const { - assert_choice_type("CE-mode-B-SupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_b_support_ind, type_, "Value"); return c.get(); } void ho_request_ack_ies_o::value_c::to_json(json_writer& j) const @@ -32874,142 +32874,142 @@ ho_required_ies_o::value_c& ho_required_ies_o::value_c::operator=(const ho_requi } uint64_t& ho_required_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ho_required_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } handov_type_e& ho_required_ies_o::value_c::handov_type() { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } cause_c& ho_required_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } target_id_c& ho_required_ies_o::value_c::target_id() { - assert_choice_type("TargetID", type_.to_string(), "Value"); + assert_choice_type(types::target_id, type_, "Value"); return c.get(); } direct_forwarding_path_availability_e& ho_required_ies_o::value_c::direct_forwarding_path_availability() { - assert_choice_type("Direct-Forwarding-Path-Availability", type_.to_string(), "Value"); + assert_choice_type(types::direct_forwarding_path_availability, type_, "Value"); return c.get(); } srvccho_ind_e& ho_required_ies_o::value_c::srvccho_ind() { - assert_choice_type("SRVCCHOIndication", type_.to_string(), "Value"); + assert_choice_type(types::srvccho_ind, type_, "Value"); return c.get(); } unbounded_octstring& ho_required_ies_o::value_c::source_to_target_transparent_container() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::source_to_target_transparent_container, type_, "Value"); return c.get >(); } unbounded_octstring& ho_required_ies_o::value_c::source_to_target_transparent_container_secondary() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::source_to_target_transparent_container_secondary, type_, "Value"); return c.get >(); } unbounded_octstring& ho_required_ies_o::value_c::ms_classmark2() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ms_classmark2, type_, "Value"); return c.get >(); } unbounded_octstring& ho_required_ies_o::value_c::ms_classmark3() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ms_classmark3, type_, "Value"); return c.get >(); } fixed_bitstring<27, false, true>& ho_required_ies_o::value_c::csg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::csg_id, type_, "Value"); return c.get >(); } cell_access_mode_e& ho_required_ies_o::value_c::cell_access_mode() { - assert_choice_type("CellAccessMode", type_.to_string(), "Value"); + assert_choice_type(types::cell_access_mode, type_, "Value"); return c.get(); } ps_service_not_available_e& ho_required_ies_o::value_c::ps_service_not_available() { - assert_choice_type("PS-ServiceNotAvailable", type_.to_string(), "Value"); + assert_choice_type(types::ps_service_not_available, type_, "Value"); return c.get(); } const uint64_t& ho_required_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ho_required_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const handov_type_e& ho_required_ies_o::value_c::handov_type() const { - assert_choice_type("HandoverType", type_.to_string(), "Value"); + assert_choice_type(types::handov_type, type_, "Value"); return c.get(); } const cause_c& ho_required_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const target_id_c& ho_required_ies_o::value_c::target_id() const { - assert_choice_type("TargetID", type_.to_string(), "Value"); + assert_choice_type(types::target_id, type_, "Value"); return c.get(); } const direct_forwarding_path_availability_e& ho_required_ies_o::value_c::direct_forwarding_path_availability() const { - assert_choice_type("Direct-Forwarding-Path-Availability", type_.to_string(), "Value"); + assert_choice_type(types::direct_forwarding_path_availability, type_, "Value"); return c.get(); } const srvccho_ind_e& ho_required_ies_o::value_c::srvccho_ind() const { - assert_choice_type("SRVCCHOIndication", type_.to_string(), "Value"); + assert_choice_type(types::srvccho_ind, type_, "Value"); return c.get(); } const unbounded_octstring& ho_required_ies_o::value_c::source_to_target_transparent_container() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::source_to_target_transparent_container, type_, "Value"); return c.get >(); } const unbounded_octstring& ho_required_ies_o::value_c::source_to_target_transparent_container_secondary() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::source_to_target_transparent_container_secondary, type_, "Value"); return c.get >(); } const unbounded_octstring& ho_required_ies_o::value_c::ms_classmark2() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ms_classmark2, type_, "Value"); return c.get >(); } const unbounded_octstring& ho_required_ies_o::value_c::ms_classmark3() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ms_classmark3, type_, "Value"); return c.get >(); } const fixed_bitstring<27, false, true>& ho_required_ies_o::value_c::csg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::csg_id, type_, "Value"); return c.get >(); } const cell_access_mode_e& ho_required_ies_o::value_c::cell_access_mode() const { - assert_choice_type("CellAccessMode", type_.to_string(), "Value"); + assert_choice_type(types::cell_access_mode, type_, "Value"); return c.get(); } const ps_service_not_available_e& ho_required_ies_o::value_c::ps_service_not_available() const { - assert_choice_type("PS-ServiceNotAvailable", type_.to_string(), "Value"); + assert_choice_type(types::ps_service_not_available, type_, "Value"); return c.get(); } void ho_required_ies_o::value_c::to_json(json_writer& j) const @@ -33909,42 +33909,42 @@ init_context_setup_fail_ies_o::value_c::operator=(const init_context_setup_fail_ } uint64_t& init_context_setup_fail_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& init_context_setup_fail_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } cause_c& init_context_setup_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& init_context_setup_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& init_context_setup_fail_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& init_context_setup_fail_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const cause_c& init_context_setup_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& init_context_setup_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void init_context_setup_fail_ies_o::value_c::to_json(json_writer& j) const @@ -34788,327 +34788,327 @@ init_context_setup_request_ies_o::value_c::operator=(const init_context_setup_re } uint64_t& init_context_setup_request_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& init_context_setup_request_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } ue_aggregate_maximum_bitrate_s& init_context_setup_request_ies_o::value_c::ueaggregate_maximum_bitrate() { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } erab_to_be_setup_list_ctxt_su_req_l& init_context_setup_request_ies_o::value_c::erab_to_be_setup_list_ctxt_su_req() { - assert_choice_type("E-RABToBeSetupListCtxtSUReq", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_setup_list_ctxt_su_req, type_, "Value"); return c.get(); } ue_security_cap_s& init_context_setup_request_ies_o::value_c::ue_security_cap() { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } fixed_bitstring<256, false, true>& init_context_setup_request_ies_o::value_c::security_key() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::security_key, type_, "Value"); return c.get >(); } trace_activation_s& init_context_setup_request_ies_o::value_c::trace_activation() { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } ho_restrict_list_s& init_context_setup_request_ies_o::value_c::ho_restrict_list() { - assert_choice_type("HandoverRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::ho_restrict_list, type_, "Value"); return c.get(); } unbounded_octstring& init_context_setup_request_ies_o::value_c::ue_radio_cap() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } uint16_t& init_context_setup_request_ies_o::value_c::subscriber_profile_idfor_rfp() { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::subscriber_profile_idfor_rfp, type_, "Value"); return c.get(); } cs_fallback_ind_e& init_context_setup_request_ies_o::value_c::cs_fallback_ind() { - assert_choice_type("CSFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::cs_fallback_ind, type_, "Value"); return c.get(); } srvcc_operation_possible_e& init_context_setup_request_ies_o::value_c::srvcc_operation_possible() { - assert_choice_type("SRVCCOperationPossible", type_.to_string(), "Value"); + assert_choice_type(types::srvcc_operation_possible, type_, "Value"); return c.get(); } csg_membership_status_e& init_context_setup_request_ies_o::value_c::csg_membership_status() { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } lai_s& init_context_setup_request_ies_o::value_c::registered_lai() { - assert_choice_type("LAI", type_.to_string(), "Value"); + assert_choice_type(types::registered_lai, type_, "Value"); return c.get(); } gummei_s& init_context_setup_request_ies_o::value_c::gummei_id() { - assert_choice_type("GUMMEI", type_.to_string(), "Value"); + assert_choice_type(types::gummei_id, type_, "Value"); return c.get(); } uint64_t& init_context_setup_request_ies_o::value_c::mme_ue_s1ap_id_minus2() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id_minus2, type_, "Value"); return c.get(); } management_based_mdt_allowed_e& init_context_setup_request_ies_o::value_c::management_based_mdt_allowed() { - assert_choice_type("ManagementBasedMDTAllowed", type_.to_string(), "Value"); + assert_choice_type(types::management_based_mdt_allowed, type_, "Value"); return c.get(); } mdtplmn_list_l& init_context_setup_request_ies_o::value_c::management_based_mdtplmn_list() { - assert_choice_type("MDTPLMNList", type_.to_string(), "Value"); + assert_choice_type(types::management_based_mdtplmn_list, type_, "Value"); return c.get(); } add_cs_fallback_ind_e& init_context_setup_request_ies_o::value_c::add_cs_fallback_ind() { - assert_choice_type("AdditionalCSFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::add_cs_fallback_ind, type_, "Value"); return c.get(); } fixed_bitstring<64, false, true>& init_context_setup_request_ies_o::value_c::masked_imeisv() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::masked_imeisv, type_, "Value"); return c.get >(); } expected_ue_behaviour_s& init_context_setup_request_ies_o::value_c::expected_ue_behaviour() { - assert_choice_type("ExpectedUEBehaviour", type_.to_string(), "Value"); + assert_choice_type(types::expected_ue_behaviour, type_, "Value"); return c.get(); } pro_se_authorized_s& init_context_setup_request_ies_o::value_c::pro_se_authorized() { - assert_choice_type("ProSeAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::pro_se_authorized, type_, "Value"); return c.get(); } ueuser_plane_cio_tsupport_ind_e& init_context_setup_request_ies_o::value_c::ueuser_plane_cio_tsupport_ind() { - assert_choice_type("UEUserPlaneCIoTSupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ueuser_plane_cio_tsupport_ind, type_, "Value"); return c.get(); } v2xservices_authorized_s& init_context_setup_request_ies_o::value_c::v2xservices_authorized() { - assert_choice_type("V2XServicesAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::v2xservices_authorized, type_, "Value"); return c.get(); } ue_sidelink_aggregate_maximum_bitrate_s& init_context_setup_request_ies_o::value_c::ue_sidelink_aggregate_maximum_bitrate() { - assert_choice_type("UESidelinkAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ue_sidelink_aggregate_maximum_bitrate, type_, "Value"); return c.get(); } enhanced_coverage_restricted_e& init_context_setup_request_ies_o::value_c::enhanced_coverage_restricted() { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } nrue_security_cap_s& init_context_setup_request_ies_o::value_c::nrue_security_cap() { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } ce_mode_brestricted_e& init_context_setup_request_ies_o::value_c::ce_mode_brestricted() { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } aerial_uesubscription_info_e& init_context_setup_request_ies_o::value_c::aerial_uesubscription_info() { - assert_choice_type("AerialUEsubscriptionInformation", type_.to_string(), "Value"); + assert_choice_type(types::aerial_uesubscription_info, type_, "Value"); return c.get(); } pending_data_ind_e& init_context_setup_request_ies_o::value_c::pending_data_ind() { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } subscription_based_ue_differentiation_info_s& init_context_setup_request_ies_o::value_c::subscription_based_ue_differentiation_info() { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } fixed_bitstring<32, false, true>& init_context_setup_request_ies_o::value_c::add_rrm_prio_idx() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Value"); return c.get >(); } const uint64_t& init_context_setup_request_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& init_context_setup_request_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const ue_aggregate_maximum_bitrate_s& init_context_setup_request_ies_o::value_c::ueaggregate_maximum_bitrate() const { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } const erab_to_be_setup_list_ctxt_su_req_l& init_context_setup_request_ies_o::value_c::erab_to_be_setup_list_ctxt_su_req() const { - assert_choice_type("E-RABToBeSetupListCtxtSUReq", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_setup_list_ctxt_su_req, type_, "Value"); return c.get(); } const ue_security_cap_s& init_context_setup_request_ies_o::value_c::ue_security_cap() const { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } const fixed_bitstring<256, false, true>& init_context_setup_request_ies_o::value_c::security_key() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::security_key, type_, "Value"); return c.get >(); } const trace_activation_s& init_context_setup_request_ies_o::value_c::trace_activation() const { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } const ho_restrict_list_s& init_context_setup_request_ies_o::value_c::ho_restrict_list() const { - assert_choice_type("HandoverRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::ho_restrict_list, type_, "Value"); return c.get(); } const unbounded_octstring& init_context_setup_request_ies_o::value_c::ue_radio_cap() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } const uint16_t& init_context_setup_request_ies_o::value_c::subscriber_profile_idfor_rfp() const { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::subscriber_profile_idfor_rfp, type_, "Value"); return c.get(); } const cs_fallback_ind_e& init_context_setup_request_ies_o::value_c::cs_fallback_ind() const { - assert_choice_type("CSFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::cs_fallback_ind, type_, "Value"); return c.get(); } const srvcc_operation_possible_e& init_context_setup_request_ies_o::value_c::srvcc_operation_possible() const { - assert_choice_type("SRVCCOperationPossible", type_.to_string(), "Value"); + assert_choice_type(types::srvcc_operation_possible, type_, "Value"); return c.get(); } const csg_membership_status_e& init_context_setup_request_ies_o::value_c::csg_membership_status() const { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } const lai_s& init_context_setup_request_ies_o::value_c::registered_lai() const { - assert_choice_type("LAI", type_.to_string(), "Value"); + assert_choice_type(types::registered_lai, type_, "Value"); return c.get(); } const gummei_s& init_context_setup_request_ies_o::value_c::gummei_id() const { - assert_choice_type("GUMMEI", type_.to_string(), "Value"); + assert_choice_type(types::gummei_id, type_, "Value"); return c.get(); } const uint64_t& init_context_setup_request_ies_o::value_c::mme_ue_s1ap_id_minus2() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id_minus2, type_, "Value"); return c.get(); } const management_based_mdt_allowed_e& init_context_setup_request_ies_o::value_c::management_based_mdt_allowed() const { - assert_choice_type("ManagementBasedMDTAllowed", type_.to_string(), "Value"); + assert_choice_type(types::management_based_mdt_allowed, type_, "Value"); return c.get(); } const mdtplmn_list_l& init_context_setup_request_ies_o::value_c::management_based_mdtplmn_list() const { - assert_choice_type("MDTPLMNList", type_.to_string(), "Value"); + assert_choice_type(types::management_based_mdtplmn_list, type_, "Value"); return c.get(); } const add_cs_fallback_ind_e& init_context_setup_request_ies_o::value_c::add_cs_fallback_ind() const { - assert_choice_type("AdditionalCSFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::add_cs_fallback_ind, type_, "Value"); return c.get(); } const fixed_bitstring<64, false, true>& init_context_setup_request_ies_o::value_c::masked_imeisv() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::masked_imeisv, type_, "Value"); return c.get >(); } const expected_ue_behaviour_s& init_context_setup_request_ies_o::value_c::expected_ue_behaviour() const { - assert_choice_type("ExpectedUEBehaviour", type_.to_string(), "Value"); + assert_choice_type(types::expected_ue_behaviour, type_, "Value"); return c.get(); } const pro_se_authorized_s& init_context_setup_request_ies_o::value_c::pro_se_authorized() const { - assert_choice_type("ProSeAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::pro_se_authorized, type_, "Value"); return c.get(); } const ueuser_plane_cio_tsupport_ind_e& init_context_setup_request_ies_o::value_c::ueuser_plane_cio_tsupport_ind() const { - assert_choice_type("UEUserPlaneCIoTSupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ueuser_plane_cio_tsupport_ind, type_, "Value"); return c.get(); } const v2xservices_authorized_s& init_context_setup_request_ies_o::value_c::v2xservices_authorized() const { - assert_choice_type("V2XServicesAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::v2xservices_authorized, type_, "Value"); return c.get(); } const ue_sidelink_aggregate_maximum_bitrate_s& init_context_setup_request_ies_o::value_c::ue_sidelink_aggregate_maximum_bitrate() const { - assert_choice_type("UESidelinkAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ue_sidelink_aggregate_maximum_bitrate, type_, "Value"); return c.get(); } const enhanced_coverage_restricted_e& init_context_setup_request_ies_o::value_c::enhanced_coverage_restricted() const { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } const nrue_security_cap_s& init_context_setup_request_ies_o::value_c::nrue_security_cap() const { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } const ce_mode_brestricted_e& init_context_setup_request_ies_o::value_c::ce_mode_brestricted() const { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } const aerial_uesubscription_info_e& init_context_setup_request_ies_o::value_c::aerial_uesubscription_info() const { - assert_choice_type("AerialUEsubscriptionInformation", type_.to_string(), "Value"); + assert_choice_type(types::aerial_uesubscription_info, type_, "Value"); return c.get(); } const pending_data_ind_e& init_context_setup_request_ies_o::value_c::pending_data_ind() const { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } const subscription_based_ue_differentiation_info_s& init_context_setup_request_ies_o::value_c::subscription_based_ue_differentiation_info() const { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } const fixed_bitstring<32, false, true>& init_context_setup_request_ies_o::value_c::add_rrm_prio_idx() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Value"); return c.get >(); } void init_context_setup_request_ies_o::value_c::to_json(json_writer& j) const @@ -36176,52 +36176,52 @@ init_context_setup_resp_ies_o::value_c::operator=(const init_context_setup_resp_ } uint64_t& init_context_setup_resp_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& init_context_setup_resp_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_setup_list_ctxt_su_res_l& init_context_setup_resp_ies_o::value_c::erab_setup_list_ctxt_su_res() { - assert_choice_type("E-RABSetupListCtxtSURes", type_.to_string(), "Value"); + assert_choice_type(types::erab_setup_list_ctxt_su_res, type_, "Value"); return c.get(); } erab_list_l& init_context_setup_resp_ies_o::value_c::erab_failed_to_setup_list_ctxt_su_res() { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_setup_list_ctxt_su_res, type_, "Value"); return c.get(); } crit_diagnostics_s& init_context_setup_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& init_context_setup_resp_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& init_context_setup_resp_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_setup_list_ctxt_su_res_l& init_context_setup_resp_ies_o::value_c::erab_setup_list_ctxt_su_res() const { - assert_choice_type("E-RABSetupListCtxtSURes", type_.to_string(), "Value"); + assert_choice_type(types::erab_setup_list_ctxt_su_res, type_, "Value"); return c.get(); } const erab_list_l& init_context_setup_resp_ies_o::value_c::erab_failed_to_setup_list_ctxt_su_res() const { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_setup_list_ctxt_su_res, type_, "Value"); return c.get(); } const crit_diagnostics_s& init_context_setup_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void init_context_setup_resp_ies_o::value_c::to_json(json_writer& j) const @@ -36960,222 +36960,222 @@ init_ue_msg_ies_o::value_c& init_ue_msg_ies_o::value_c::operator=(const init_ue_ } uint32_t& init_ue_msg_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } unbounded_octstring& init_ue_msg_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } tai_s& init_ue_msg_ies_o::value_c::tai() { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } eutran_cgi_s& init_ue_msg_ies_o::value_c::eutran_cgi() { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } rrc_establishment_cause_e& init_ue_msg_ies_o::value_c::rrc_establishment_cause() { - assert_choice_type("RRC-Establishment-Cause", type_.to_string(), "Value"); + assert_choice_type(types::rrc_establishment_cause, type_, "Value"); return c.get(); } s_tmsi_s& init_ue_msg_ies_o::value_c::s_tmsi() { - assert_choice_type("S-TMSI", type_.to_string(), "Value"); + assert_choice_type(types::s_tmsi, type_, "Value"); return c.get(); } fixed_bitstring<27, false, true>& init_ue_msg_ies_o::value_c::csg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::csg_id, type_, "Value"); return c.get >(); } gummei_s& init_ue_msg_ies_o::value_c::gummei_id() { - assert_choice_type("GUMMEI", type_.to_string(), "Value"); + assert_choice_type(types::gummei_id, type_, "Value"); return c.get(); } cell_access_mode_e& init_ue_msg_ies_o::value_c::cell_access_mode() { - assert_choice_type("CellAccessMode", type_.to_string(), "Value"); + assert_choice_type(types::cell_access_mode, type_, "Value"); return c.get(); } bounded_bitstring<1, 160, true, true>& init_ue_msg_ies_o::value_c::gw_transport_layer_address() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::gw_transport_layer_address, type_, "Value"); return c.get >(); } relay_node_ind_e& init_ue_msg_ies_o::value_c::relay_node_ind() { - assert_choice_type("RelayNode-Indicator", type_.to_string(), "Value"); + assert_choice_type(types::relay_node_ind, type_, "Value"); return c.get(); } gummei_type_e& init_ue_msg_ies_o::value_c::gummei_type() { - assert_choice_type("GUMMEIType", type_.to_string(), "Value"); + assert_choice_type(types::gummei_type, type_, "Value"); return c.get(); } tunnel_info_s& init_ue_msg_ies_o::value_c::tunnel_info_for_bbf() { - assert_choice_type("TunnelInformation", type_.to_string(), "Value"); + assert_choice_type(types::tunnel_info_for_bbf, type_, "Value"); return c.get(); } bounded_bitstring<1, 160, true, true>& init_ue_msg_ies_o::value_c::sipto_l_gw_transport_layer_address() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::sipto_l_gw_transport_layer_address, type_, "Value"); return c.get >(); } bounded_octstring<32, 256, true>& init_ue_msg_ies_o::value_c::lhn_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lhn_id, type_, "Value"); return c.get >(); } fixed_octstring<2, true>& init_ue_msg_ies_o::value_c::mme_group_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::mme_group_id, type_, "Value"); return c.get >(); } uint16_t& init_ue_msg_ies_o::value_c::ue_usage_type() { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::ue_usage_type, type_, "Value"); return c.get(); } ce_mode_b_support_ind_e& init_ue_msg_ies_o::value_c::ce_mode_b_support_ind() { - assert_choice_type("CE-mode-B-SupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_b_support_ind, type_, "Value"); return c.get(); } uint32_t& init_ue_msg_ies_o::value_c::dcn_id() { - assert_choice_type("INTEGER (0..65535)", type_.to_string(), "Value"); + assert_choice_type(types::dcn_id, type_, "Value"); return c.get(); } coverage_level_e& init_ue_msg_ies_o::value_c::coverage_level() { - assert_choice_type("Coverage-Level", type_.to_string(), "Value"); + assert_choice_type(types::coverage_level, type_, "Value"); return c.get(); } fixed_bitstring<8, false, true>& init_ue_msg_ies_o::value_c::ue_application_layer_meas_cap() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_application_layer_meas_cap, type_, "Value"); return c.get >(); } edt_session_e& init_ue_msg_ies_o::value_c::edt_session() { - assert_choice_type("EDT-Session", type_.to_string(), "Value"); + assert_choice_type(types::edt_session, type_, "Value"); return c.get(); } const uint32_t& init_ue_msg_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const unbounded_octstring& init_ue_msg_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const tai_s& init_ue_msg_ies_o::value_c::tai() const { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } const eutran_cgi_s& init_ue_msg_ies_o::value_c::eutran_cgi() const { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } const rrc_establishment_cause_e& init_ue_msg_ies_o::value_c::rrc_establishment_cause() const { - assert_choice_type("RRC-Establishment-Cause", type_.to_string(), "Value"); + assert_choice_type(types::rrc_establishment_cause, type_, "Value"); return c.get(); } const s_tmsi_s& init_ue_msg_ies_o::value_c::s_tmsi() const { - assert_choice_type("S-TMSI", type_.to_string(), "Value"); + assert_choice_type(types::s_tmsi, type_, "Value"); return c.get(); } const fixed_bitstring<27, false, true>& init_ue_msg_ies_o::value_c::csg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::csg_id, type_, "Value"); return c.get >(); } const gummei_s& init_ue_msg_ies_o::value_c::gummei_id() const { - assert_choice_type("GUMMEI", type_.to_string(), "Value"); + assert_choice_type(types::gummei_id, type_, "Value"); return c.get(); } const cell_access_mode_e& init_ue_msg_ies_o::value_c::cell_access_mode() const { - assert_choice_type("CellAccessMode", type_.to_string(), "Value"); + assert_choice_type(types::cell_access_mode, type_, "Value"); return c.get(); } const bounded_bitstring<1, 160, true, true>& init_ue_msg_ies_o::value_c::gw_transport_layer_address() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::gw_transport_layer_address, type_, "Value"); return c.get >(); } const relay_node_ind_e& init_ue_msg_ies_o::value_c::relay_node_ind() const { - assert_choice_type("RelayNode-Indicator", type_.to_string(), "Value"); + assert_choice_type(types::relay_node_ind, type_, "Value"); return c.get(); } const gummei_type_e& init_ue_msg_ies_o::value_c::gummei_type() const { - assert_choice_type("GUMMEIType", type_.to_string(), "Value"); + assert_choice_type(types::gummei_type, type_, "Value"); return c.get(); } const tunnel_info_s& init_ue_msg_ies_o::value_c::tunnel_info_for_bbf() const { - assert_choice_type("TunnelInformation", type_.to_string(), "Value"); + assert_choice_type(types::tunnel_info_for_bbf, type_, "Value"); return c.get(); } const bounded_bitstring<1, 160, true, true>& init_ue_msg_ies_o::value_c::sipto_l_gw_transport_layer_address() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::sipto_l_gw_transport_layer_address, type_, "Value"); return c.get >(); } const bounded_octstring<32, 256, true>& init_ue_msg_ies_o::value_c::lhn_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lhn_id, type_, "Value"); return c.get >(); } const fixed_octstring<2, true>& init_ue_msg_ies_o::value_c::mme_group_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::mme_group_id, type_, "Value"); return c.get >(); } const uint16_t& init_ue_msg_ies_o::value_c::ue_usage_type() const { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::ue_usage_type, type_, "Value"); return c.get(); } const ce_mode_b_support_ind_e& init_ue_msg_ies_o::value_c::ce_mode_b_support_ind() const { - assert_choice_type("CE-mode-B-SupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_b_support_ind, type_, "Value"); return c.get(); } const uint32_t& init_ue_msg_ies_o::value_c::dcn_id() const { - assert_choice_type("INTEGER (0..65535)", type_.to_string(), "Value"); + assert_choice_type(types::dcn_id, type_, "Value"); return c.get(); } const coverage_level_e& init_ue_msg_ies_o::value_c::coverage_level() const { - assert_choice_type("Coverage-Level", type_.to_string(), "Value"); + assert_choice_type(types::coverage_level, type_, "Value"); return c.get(); } const fixed_bitstring<8, false, true>& init_ue_msg_ies_o::value_c::ue_application_layer_meas_cap() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_application_layer_meas_cap, type_, "Value"); return c.get >(); } const edt_session_e& init_ue_msg_ies_o::value_c::edt_session() const { - assert_choice_type("EDT-Session", type_.to_string(), "Value"); + assert_choice_type(types::edt_session, type_, "Value"); return c.get(); } void init_ue_msg_ies_o::value_c::to_json(json_writer& j) const @@ -39326,42 +39326,42 @@ kill_request_ies_o::value_c& kill_request_ies_o::value_c::operator=(const kill_r } fixed_bitstring<16, false, true>& kill_request_ies_o::value_c::msg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } fixed_bitstring<16, false, true>& kill_request_ies_o::value_c::serial_num() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } warning_area_list_c& kill_request_ies_o::value_c::warning_area_list() { - assert_choice_type("WarningAreaList", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_list, type_, "Value"); return c.get(); } kill_all_warning_msgs_e& kill_request_ies_o::value_c::kill_all_warning_msgs() { - assert_choice_type("KillAllWarningMessages", type_.to_string(), "Value"); + assert_choice_type(types::kill_all_warning_msgs, type_, "Value"); return c.get(); } const fixed_bitstring<16, false, true>& kill_request_ies_o::value_c::msg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } const fixed_bitstring<16, false, true>& kill_request_ies_o::value_c::serial_num() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } const warning_area_list_c& kill_request_ies_o::value_c::warning_area_list() const { - assert_choice_type("WarningAreaList", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_list, type_, "Value"); return c.get(); } const kill_all_warning_msgs_e& kill_request_ies_o::value_c::kill_all_warning_msgs() const { - assert_choice_type("KillAllWarningMessages", type_.to_string(), "Value"); + assert_choice_type(types::kill_all_warning_msgs, type_, "Value"); return c.get(); } void kill_request_ies_o::value_c::to_json(json_writer& j) const @@ -39601,42 +39601,42 @@ kill_resp_ies_o::value_c& kill_resp_ies_o::value_c::operator=(const kill_resp_ie } fixed_bitstring<16, false, true>& kill_resp_ies_o::value_c::msg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } fixed_bitstring<16, false, true>& kill_resp_ies_o::value_c::serial_num() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } broadcast_cancelled_area_list_c& kill_resp_ies_o::value_c::broadcast_cancelled_area_list() { - assert_choice_type("BroadcastCancelledAreaList", type_.to_string(), "Value"); + assert_choice_type(types::broadcast_cancelled_area_list, type_, "Value"); return c.get(); } crit_diagnostics_s& kill_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const fixed_bitstring<16, false, true>& kill_resp_ies_o::value_c::msg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } const fixed_bitstring<16, false, true>& kill_resp_ies_o::value_c::serial_num() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } const broadcast_cancelled_area_list_c& kill_resp_ies_o::value_c::broadcast_cancelled_area_list() const { - assert_choice_type("BroadcastCancelledAreaList", type_.to_string(), "Value"); + assert_choice_type(types::broadcast_cancelled_area_list, type_, "Value"); return c.get(); } const crit_diagnostics_s& kill_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void kill_resp_ies_o::value_c::to_json(json_writer& j) const @@ -39907,62 +39907,62 @@ location_report_ies_o::value_c& location_report_ies_o::value_c::operator=(const } uint64_t& location_report_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& location_report_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } eutran_cgi_s& location_report_ies_o::value_c::eutran_cgi() { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } tai_s& location_report_ies_o::value_c::tai() { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } request_type_s& location_report_ies_o::value_c::request_type() { - assert_choice_type("RequestType", type_.to_string(), "Value"); + assert_choice_type(types::request_type, type_, "Value"); return c.get(); } ps_cell_info_s& location_report_ies_o::value_c::ps_cell_info() { - assert_choice_type("PSCellInformation", type_.to_string(), "Value"); + assert_choice_type(types::ps_cell_info, type_, "Value"); return c.get(); } const uint64_t& location_report_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& location_report_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const eutran_cgi_s& location_report_ies_o::value_c::eutran_cgi() const { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } const tai_s& location_report_ies_o::value_c::tai() const { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } const request_type_s& location_report_ies_o::value_c::request_type() const { - assert_choice_type("RequestType", type_.to_string(), "Value"); + assert_choice_type(types::request_type, type_, "Value"); return c.get(); } const ps_cell_info_s& location_report_ies_o::value_c::ps_cell_info() const { - assert_choice_type("PSCellInformation", type_.to_string(), "Value"); + assert_choice_type(types::ps_cell_info, type_, "Value"); return c.get(); } void location_report_ies_o::value_c::to_json(json_writer& j) const @@ -40198,32 +40198,32 @@ location_report_ctrl_ies_o::value_c::operator=(const location_report_ctrl_ies_o: } uint64_t& location_report_ctrl_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& location_report_ctrl_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } request_type_s& location_report_ctrl_ies_o::value_c::request_type() { - assert_choice_type("RequestType", type_.to_string(), "Value"); + assert_choice_type(types::request_type, type_, "Value"); return c.get(); } const uint64_t& location_report_ctrl_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& location_report_ctrl_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const request_type_s& location_report_ctrl_ies_o::value_c::request_type() const { - assert_choice_type("RequestType", type_.to_string(), "Value"); + assert_choice_type(types::request_type, type_, "Value"); return c.get(); } void location_report_ctrl_ies_o::value_c::to_json(json_writer& j) const @@ -40428,32 +40428,32 @@ location_report_fail_ind_ies_o::value_c::operator=(const location_report_fail_in } uint64_t& location_report_fail_ind_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& location_report_fail_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } cause_c& location_report_fail_ind_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const uint64_t& location_report_fail_ind_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& location_report_fail_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const cause_c& location_report_fail_ind_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } void location_report_fail_ind_ies_o::value_c::to_json(json_writer& j) const @@ -40623,22 +40623,22 @@ mmecp_relocation_ind_ies_o::value_c::operator=(const mmecp_relocation_ind_ies_o: } uint64_t& mmecp_relocation_ind_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& mmecp_relocation_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const uint64_t& mmecp_relocation_ind_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& mmecp_relocation_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } void mmecp_relocation_ind_ies_o::value_c::to_json(json_writer& j) const @@ -40822,22 +40822,22 @@ mme_cfg_transfer_ies_o::value_c::operator=(const mme_cfg_transfer_ies_o::value_c } son_cfg_transfer_s& mme_cfg_transfer_ies_o::value_c::son_cfg_transfer_mct() { - assert_choice_type("SONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::son_cfg_transfer_mct, type_, "Value"); return c.get(); } en_dcson_cfg_transfer_s& mme_cfg_transfer_ies_o::value_c::en_dcson_cfg_transfer_mct() { - assert_choice_type("EN-DCSONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::en_dcson_cfg_transfer_mct, type_, "Value"); return c.get(); } const son_cfg_transfer_s& mme_cfg_transfer_ies_o::value_c::son_cfg_transfer_mct() const { - assert_choice_type("SONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::son_cfg_transfer_mct, type_, "Value"); return c.get(); } const en_dcson_cfg_transfer_s& mme_cfg_transfer_ies_o::value_c::en_dcson_cfg_transfer_mct() const { - assert_choice_type("EN-DCSONConfigurationTransfer", type_.to_string(), "Value"); + assert_choice_type(types::en_dcson_cfg_transfer_mct, type_, "Value"); return c.get(); } void mme_cfg_transfer_ies_o::value_c::to_json(json_writer& j) const @@ -41100,32 +41100,32 @@ mme_cfg_upd_fail_ies_o::value_c::operator=(const mme_cfg_upd_fail_ies_o::value_c } cause_c& mme_cfg_upd_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } time_to_wait_e& mme_cfg_upd_fail_ies_o::value_c::time_to_wait() { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } crit_diagnostics_s& mme_cfg_upd_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const cause_c& mme_cfg_upd_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const time_to_wait_e& mme_cfg_upd_fail_ies_o::value_c::time_to_wait() const { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } const crit_diagnostics_s& mme_cfg_upd_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void mme_cfg_upd_fail_ies_o::value_c::to_json(json_writer& j) const @@ -41353,42 +41353,42 @@ mme_cfg_upd_ies_o::value_c& mme_cfg_upd_ies_o::value_c::operator=(const mme_cfg_ } printable_string<1, 150, true, true>& mme_cfg_upd_ies_o::value_c::mm_ename() { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::mm_ename, type_, "Value"); return c.get >(); } served_gummeis_l& mme_cfg_upd_ies_o::value_c::served_gummeis() { - assert_choice_type("ServedGUMMEIs", type_.to_string(), "Value"); + assert_choice_type(types::served_gummeis, type_, "Value"); return c.get(); } uint16_t& mme_cfg_upd_ies_o::value_c::relative_mme_capacity() { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::relative_mme_capacity, type_, "Value"); return c.get(); } served_dcns_l& mme_cfg_upd_ies_o::value_c::served_dcns() { - assert_choice_type("ServedDCNs", type_.to_string(), "Value"); + assert_choice_type(types::served_dcns, type_, "Value"); return c.get(); } const printable_string<1, 150, true, true>& mme_cfg_upd_ies_o::value_c::mm_ename() const { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::mm_ename, type_, "Value"); return c.get >(); } const served_gummeis_l& mme_cfg_upd_ies_o::value_c::served_gummeis() const { - assert_choice_type("ServedGUMMEIs", type_.to_string(), "Value"); + assert_choice_type(types::served_gummeis, type_, "Value"); return c.get(); } const uint16_t& mme_cfg_upd_ies_o::value_c::relative_mme_capacity() const { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::relative_mme_capacity, type_, "Value"); return c.get(); } const served_dcns_l& mme_cfg_upd_ies_o::value_c::served_dcns() const { - assert_choice_type("ServedDCNs", type_.to_string(), "Value"); + assert_choice_type(types::served_dcns, type_, "Value"); return c.get(); } void mme_cfg_upd_ies_o::value_c::to_json(json_writer& j) const @@ -41679,34 +41679,34 @@ mme_status_transfer_ies_o::value_c::operator=(const mme_status_transfer_ies_o::v } uint64_t& mme_status_transfer_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& mme_status_transfer_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } enb_status_transfer_transparent_container_s& mme_status_transfer_ies_o::value_c::enb_status_transfer_transparent_container() { - assert_choice_type("ENB-StatusTransfer-TransparentContainer", type_.to_string(), "Value"); + assert_choice_type(types::enb_status_transfer_transparent_container, type_, "Value"); return c.get(); } const uint64_t& mme_status_transfer_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& mme_status_transfer_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const enb_status_transfer_transparent_container_s& mme_status_transfer_ies_o::value_c::enb_status_transfer_transparent_container() const { - assert_choice_type("ENB-StatusTransfer-TransparentContainer", type_.to_string(), "Value"); + assert_choice_type(types::enb_status_transfer_transparent_container, type_, "Value"); return c.get(); } void mme_status_transfer_ies_o::value_c::to_json(json_writer& j) const @@ -41877,22 +41877,22 @@ nas_delivery_ind_ies_o::value_c::operator=(const nas_delivery_ind_ies_o::value_c } uint64_t& nas_delivery_ind_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& nas_delivery_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const uint64_t& nas_delivery_ind_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& nas_delivery_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } void nas_delivery_ind_ies_o::value_c::to_json(json_writer& j) const @@ -42106,42 +42106,42 @@ nas_non_delivery_ind_ies_o::value_c::operator=(const nas_non_delivery_ind_ies_o: } uint64_t& nas_non_delivery_ind_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& nas_non_delivery_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } unbounded_octstring& nas_non_delivery_ind_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } cause_c& nas_non_delivery_ind_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const uint64_t& nas_non_delivery_ind_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& nas_non_delivery_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const unbounded_octstring& nas_non_delivery_ind_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const cause_c& nas_non_delivery_ind_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } void nas_non_delivery_ind_ies_o::value_c::to_json(json_writer& j) const @@ -42358,32 +42358,32 @@ overload_start_ies_o::value_c& overload_start_ies_o::value_c::operator=(const ov } overload_resp_c& overload_start_ies_o::value_c::overload_resp() { - assert_choice_type("OverloadResponse", type_.to_string(), "Value"); + assert_choice_type(types::overload_resp, type_, "Value"); return c.get(); } gummei_list_l& overload_start_ies_o::value_c::gummei_list() { - assert_choice_type("GUMMEIList", type_.to_string(), "Value"); + assert_choice_type(types::gummei_list, type_, "Value"); return c.get(); } uint8_t& overload_start_ies_o::value_c::traffic_load_reduction_ind() { - assert_choice_type("INTEGER (1..99)", type_.to_string(), "Value"); + assert_choice_type(types::traffic_load_reduction_ind, type_, "Value"); return c.get(); } const overload_resp_c& overload_start_ies_o::value_c::overload_resp() const { - assert_choice_type("OverloadResponse", type_.to_string(), "Value"); + assert_choice_type(types::overload_resp, type_, "Value"); return c.get(); } const gummei_list_l& overload_start_ies_o::value_c::gummei_list() const { - assert_choice_type("GUMMEIList", type_.to_string(), "Value"); + assert_choice_type(types::gummei_list, type_, "Value"); return c.get(); } const uint8_t& overload_start_ies_o::value_c::traffic_load_reduction_ind() const { - assert_choice_type("INTEGER (1..99)", type_.to_string(), "Value"); + assert_choice_type(types::traffic_load_reduction_ind, type_, "Value"); return c.get(); } void overload_start_ies_o::value_c::to_json(json_writer& j) const @@ -42653,22 +42653,22 @@ pws_fail_ind_ies_o::value_c& pws_fail_ind_ies_o::value_c::operator=(const pws_fa } pw_sfailed_ecgi_list_l& pws_fail_ind_ies_o::value_c::pw_sfailed_ecgi_list() { - assert_choice_type("PWSfailedECGIList", type_.to_string(), "Value"); + assert_choice_type(types::pw_sfailed_ecgi_list, type_, "Value"); return c.get(); } global_enb_id_s& pws_fail_ind_ies_o::value_c::global_enb_id() { - assert_choice_type("Global-ENB-ID", type_.to_string(), "Value"); + assert_choice_type(types::global_enb_id, type_, "Value"); return c.get(); } const pw_sfailed_ecgi_list_l& pws_fail_ind_ies_o::value_c::pw_sfailed_ecgi_list() const { - assert_choice_type("PWSfailedECGIList", type_.to_string(), "Value"); + assert_choice_type(types::pw_sfailed_ecgi_list, type_, "Value"); return c.get(); } const global_enb_id_s& pws_fail_ind_ies_o::value_c::global_enb_id() const { - assert_choice_type("Global-ENB-ID", type_.to_string(), "Value"); + assert_choice_type(types::global_enb_id, type_, "Value"); return c.get(); } void pws_fail_ind_ies_o::value_c::to_json(json_writer& j) const @@ -42894,42 +42894,42 @@ pws_restart_ind_ies_o::value_c& pws_restart_ind_ies_o::value_c::operator=(const } ecgi_list_for_restart_l& pws_restart_ind_ies_o::value_c::ecgi_list_for_restart() { - assert_choice_type("ECGIListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::ecgi_list_for_restart, type_, "Value"); return c.get(); } global_enb_id_s& pws_restart_ind_ies_o::value_c::global_enb_id() { - assert_choice_type("Global-ENB-ID", type_.to_string(), "Value"); + assert_choice_type(types::global_enb_id, type_, "Value"); return c.get(); } tai_list_for_restart_l& pws_restart_ind_ies_o::value_c::tai_list_for_restart() { - assert_choice_type("TAIListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::tai_list_for_restart, type_, "Value"); return c.get(); } emergency_area_id_list_for_restart_l& pws_restart_ind_ies_o::value_c::emergency_area_id_list_for_restart() { - assert_choice_type("EmergencyAreaIDListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::emergency_area_id_list_for_restart, type_, "Value"); return c.get(); } const ecgi_list_for_restart_l& pws_restart_ind_ies_o::value_c::ecgi_list_for_restart() const { - assert_choice_type("ECGIListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::ecgi_list_for_restart, type_, "Value"); return c.get(); } const global_enb_id_s& pws_restart_ind_ies_o::value_c::global_enb_id() const { - assert_choice_type("Global-ENB-ID", type_.to_string(), "Value"); + assert_choice_type(types::global_enb_id, type_, "Value"); return c.get(); } const tai_list_for_restart_l& pws_restart_ind_ies_o::value_c::tai_list_for_restart() const { - assert_choice_type("TAIListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::tai_list_for_restart, type_, "Value"); return c.get(); } const emergency_area_id_list_for_restart_l& pws_restart_ind_ies_o::value_c::emergency_area_id_list_for_restart() const { - assert_choice_type("EmergencyAreaIDListForRestart", type_.to_string(), "Value"); + assert_choice_type(types::emergency_area_id_list_for_restart, type_, "Value"); return c.get(); } void pws_restart_ind_ies_o::value_c::to_json(json_writer& j) const @@ -43371,152 +43371,152 @@ paging_ies_o::value_c& paging_ies_o::value_c::operator=(const paging_ies_o::valu } fixed_bitstring<10, false, true>& paging_ies_o::value_c::ue_id_idx_value() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_id_idx_value, type_, "Value"); return c.get >(); } ue_paging_id_c& paging_ies_o::value_c::ue_paging_id() { - assert_choice_type("UEPagingID", type_.to_string(), "Value"); + assert_choice_type(types::ue_paging_id, type_, "Value"); return c.get(); } paging_drx_e& paging_ies_o::value_c::paging_drx() { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::paging_drx, type_, "Value"); return c.get(); } cn_domain_e& paging_ies_o::value_c::cn_domain() { - assert_choice_type("CNDomain", type_.to_string(), "Value"); + assert_choice_type(types::cn_domain, type_, "Value"); return c.get(); } tai_list_l& paging_ies_o::value_c::tai_list() { - assert_choice_type("TAIList", type_.to_string(), "Value"); + assert_choice_type(types::tai_list, type_, "Value"); return c.get(); } csg_id_list_l& paging_ies_o::value_c::csg_id_list() { - assert_choice_type("CSG-IdList", type_.to_string(), "Value"); + assert_choice_type(types::csg_id_list, type_, "Value"); return c.get(); } paging_prio_e& paging_ies_o::value_c::paging_prio() { - assert_choice_type("PagingPriority", type_.to_string(), "Value"); + assert_choice_type(types::paging_prio, type_, "Value"); return c.get(); } unbounded_octstring& paging_ies_o::value_c::ue_radio_cap_for_paging() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap_for_paging, type_, "Value"); return c.get >(); } assist_data_for_paging_s& paging_ies_o::value_c::assist_data_for_paging() { - assert_choice_type("AssistanceDataForPaging", type_.to_string(), "Value"); + assert_choice_type(types::assist_data_for_paging, type_, "Value"); return c.get(); } paging_e_drx_info_s& paging_ies_o::value_c::paging_e_drx_info() { - assert_choice_type("Paging-eDRXInformation", type_.to_string(), "Value"); + assert_choice_type(types::paging_e_drx_info, type_, "Value"); return c.get(); } fixed_bitstring<14, false, true>& paging_ies_o::value_c::extended_ue_id_idx_value() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::extended_ue_id_idx_value, type_, "Value"); return c.get >(); } nb_io_t_paging_e_drx_info_s& paging_ies_o::value_c::nb_io_t_paging_e_drx_info() { - assert_choice_type("NB-IoT-Paging-eDRXInformation", type_.to_string(), "Value"); + assert_choice_type(types::nb_io_t_paging_e_drx_info, type_, "Value"); return c.get(); } fixed_bitstring<12, false, true>& paging_ies_o::value_c::nb_io_t_ue_id_idx_value() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::nb_io_t_ue_id_idx_value, type_, "Value"); return c.get >(); } enhanced_coverage_restricted_e& paging_ies_o::value_c::enhanced_coverage_restricted() { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } ce_mode_brestricted_e& paging_ies_o::value_c::ce_mode_brestricted() { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } const fixed_bitstring<10, false, true>& paging_ies_o::value_c::ue_id_idx_value() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_id_idx_value, type_, "Value"); return c.get >(); } const ue_paging_id_c& paging_ies_o::value_c::ue_paging_id() const { - assert_choice_type("UEPagingID", type_.to_string(), "Value"); + assert_choice_type(types::ue_paging_id, type_, "Value"); return c.get(); } const paging_drx_e& paging_ies_o::value_c::paging_drx() const { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::paging_drx, type_, "Value"); return c.get(); } const cn_domain_e& paging_ies_o::value_c::cn_domain() const { - assert_choice_type("CNDomain", type_.to_string(), "Value"); + assert_choice_type(types::cn_domain, type_, "Value"); return c.get(); } const tai_list_l& paging_ies_o::value_c::tai_list() const { - assert_choice_type("TAIList", type_.to_string(), "Value"); + assert_choice_type(types::tai_list, type_, "Value"); return c.get(); } const csg_id_list_l& paging_ies_o::value_c::csg_id_list() const { - assert_choice_type("CSG-IdList", type_.to_string(), "Value"); + assert_choice_type(types::csg_id_list, type_, "Value"); return c.get(); } const paging_prio_e& paging_ies_o::value_c::paging_prio() const { - assert_choice_type("PagingPriority", type_.to_string(), "Value"); + assert_choice_type(types::paging_prio, type_, "Value"); return c.get(); } const unbounded_octstring& paging_ies_o::value_c::ue_radio_cap_for_paging() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap_for_paging, type_, "Value"); return c.get >(); } const assist_data_for_paging_s& paging_ies_o::value_c::assist_data_for_paging() const { - assert_choice_type("AssistanceDataForPaging", type_.to_string(), "Value"); + assert_choice_type(types::assist_data_for_paging, type_, "Value"); return c.get(); } const paging_e_drx_info_s& paging_ies_o::value_c::paging_e_drx_info() const { - assert_choice_type("Paging-eDRXInformation", type_.to_string(), "Value"); + assert_choice_type(types::paging_e_drx_info, type_, "Value"); return c.get(); } const fixed_bitstring<14, false, true>& paging_ies_o::value_c::extended_ue_id_idx_value() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::extended_ue_id_idx_value, type_, "Value"); return c.get >(); } const nb_io_t_paging_e_drx_info_s& paging_ies_o::value_c::nb_io_t_paging_e_drx_info() const { - assert_choice_type("NB-IoT-Paging-eDRXInformation", type_.to_string(), "Value"); + assert_choice_type(types::nb_io_t_paging_e_drx_info, type_, "Value"); return c.get(); } const fixed_bitstring<12, false, true>& paging_ies_o::value_c::nb_io_t_ue_id_idx_value() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::nb_io_t_ue_id_idx_value, type_, "Value"); return c.get >(); } const enhanced_coverage_restricted_e& paging_ies_o::value_c::enhanced_coverage_restricted() const { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } const ce_mode_brestricted_e& paging_ies_o::value_c::ce_mode_brestricted() const { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } void paging_ies_o::value_c::to_json(json_writer& j) const @@ -44170,217 +44170,217 @@ path_switch_request_ack_ies_o::value_c::operator=(const path_switch_request_ack_ } uint64_t& path_switch_request_ack_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& path_switch_request_ack_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } ue_aggregate_maximum_bitrate_s& path_switch_request_ack_ies_o::value_c::ueaggregate_maximum_bitrate() { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } erab_ie_container_list_l& path_switch_request_ack_ies_o::value_c::erab_to_be_switched_ul_list() { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABToBeSwitchedULItemIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_switched_ul_list, type_, "Value"); return c.get >(); } erab_list_l& path_switch_request_ack_ies_o::value_c::erab_to_be_released_list() { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_released_list, type_, "Value"); return c.get(); } security_context_s& path_switch_request_ack_ies_o::value_c::security_context() { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } crit_diagnostics_s& path_switch_request_ack_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } uint64_t& path_switch_request_ack_ies_o::value_c::mme_ue_s1ap_id_minus2() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id_minus2, type_, "Value"); return c.get(); } csg_membership_status_e& path_switch_request_ack_ies_o::value_c::csg_membership_status() { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } pro_se_authorized_s& path_switch_request_ack_ies_o::value_c::pro_se_authorized() { - assert_choice_type("ProSeAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::pro_se_authorized, type_, "Value"); return c.get(); } ueuser_plane_cio_tsupport_ind_e& path_switch_request_ack_ies_o::value_c::ueuser_plane_cio_tsupport_ind() { - assert_choice_type("UEUserPlaneCIoTSupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ueuser_plane_cio_tsupport_ind, type_, "Value"); return c.get(); } v2xservices_authorized_s& path_switch_request_ack_ies_o::value_c::v2xservices_authorized() { - assert_choice_type("V2XServicesAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::v2xservices_authorized, type_, "Value"); return c.get(); } ue_sidelink_aggregate_maximum_bitrate_s& path_switch_request_ack_ies_o::value_c::ue_sidelink_aggregate_maximum_bitrate() { - assert_choice_type("UESidelinkAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ue_sidelink_aggregate_maximum_bitrate, type_, "Value"); return c.get(); } enhanced_coverage_restricted_e& path_switch_request_ack_ies_o::value_c::enhanced_coverage_restricted() { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } nrue_security_cap_s& path_switch_request_ack_ies_o::value_c::nrue_security_cap() { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } ce_mode_brestricted_e& path_switch_request_ack_ies_o::value_c::ce_mode_brestricted() { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } aerial_uesubscription_info_e& path_switch_request_ack_ies_o::value_c::aerial_uesubscription_info() { - assert_choice_type("AerialUEsubscriptionInformation", type_.to_string(), "Value"); + assert_choice_type(types::aerial_uesubscription_info, type_, "Value"); return c.get(); } pending_data_ind_e& path_switch_request_ack_ies_o::value_c::pending_data_ind() { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } subscription_based_ue_differentiation_info_s& path_switch_request_ack_ies_o::value_c::subscription_based_ue_differentiation_info() { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } ho_restrict_list_s& path_switch_request_ack_ies_o::value_c::ho_restrict_list() { - assert_choice_type("HandoverRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::ho_restrict_list, type_, "Value"); return c.get(); } fixed_bitstring<32, false, true>& path_switch_request_ack_ies_o::value_c::add_rrm_prio_idx() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Value"); return c.get >(); } const uint64_t& path_switch_request_ack_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& path_switch_request_ack_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const ue_aggregate_maximum_bitrate_s& path_switch_request_ack_ies_o::value_c::ueaggregate_maximum_bitrate() const { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } const erab_ie_container_list_l& path_switch_request_ack_ies_o::value_c::erab_to_be_switched_ul_list() const { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABToBeSwitchedULItemIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_switched_ul_list, type_, "Value"); return c.get >(); } const erab_list_l& path_switch_request_ack_ies_o::value_c::erab_to_be_released_list() const { - assert_choice_type("E-RABList", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_released_list, type_, "Value"); return c.get(); } const security_context_s& path_switch_request_ack_ies_o::value_c::security_context() const { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } const crit_diagnostics_s& path_switch_request_ack_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& path_switch_request_ack_ies_o::value_c::mme_ue_s1ap_id_minus2() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id_minus2, type_, "Value"); return c.get(); } const csg_membership_status_e& path_switch_request_ack_ies_o::value_c::csg_membership_status() const { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } const pro_se_authorized_s& path_switch_request_ack_ies_o::value_c::pro_se_authorized() const { - assert_choice_type("ProSeAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::pro_se_authorized, type_, "Value"); return c.get(); } const ueuser_plane_cio_tsupport_ind_e& path_switch_request_ack_ies_o::value_c::ueuser_plane_cio_tsupport_ind() const { - assert_choice_type("UEUserPlaneCIoTSupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::ueuser_plane_cio_tsupport_ind, type_, "Value"); return c.get(); } const v2xservices_authorized_s& path_switch_request_ack_ies_o::value_c::v2xservices_authorized() const { - assert_choice_type("V2XServicesAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::v2xservices_authorized, type_, "Value"); return c.get(); } const ue_sidelink_aggregate_maximum_bitrate_s& path_switch_request_ack_ies_o::value_c::ue_sidelink_aggregate_maximum_bitrate() const { - assert_choice_type("UESidelinkAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ue_sidelink_aggregate_maximum_bitrate, type_, "Value"); return c.get(); } const enhanced_coverage_restricted_e& path_switch_request_ack_ies_o::value_c::enhanced_coverage_restricted() const { - assert_choice_type("EnhancedCoverageRestricted", type_.to_string(), "Value"); + assert_choice_type(types::enhanced_coverage_restricted, type_, "Value"); return c.get(); } const nrue_security_cap_s& path_switch_request_ack_ies_o::value_c::nrue_security_cap() const { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } const ce_mode_brestricted_e& path_switch_request_ack_ies_o::value_c::ce_mode_brestricted() const { - assert_choice_type("CE-ModeBRestricted", type_.to_string(), "Value"); + assert_choice_type(types::ce_mode_brestricted, type_, "Value"); return c.get(); } const aerial_uesubscription_info_e& path_switch_request_ack_ies_o::value_c::aerial_uesubscription_info() const { - assert_choice_type("AerialUEsubscriptionInformation", type_.to_string(), "Value"); + assert_choice_type(types::aerial_uesubscription_info, type_, "Value"); return c.get(); } const pending_data_ind_e& path_switch_request_ack_ies_o::value_c::pending_data_ind() const { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } const subscription_based_ue_differentiation_info_s& path_switch_request_ack_ies_o::value_c::subscription_based_ue_differentiation_info() const { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } const ho_restrict_list_s& path_switch_request_ack_ies_o::value_c::ho_restrict_list() const { - assert_choice_type("HandoverRestrictionList", type_.to_string(), "Value"); + assert_choice_type(types::ho_restrict_list, type_, "Value"); return c.get(); } const fixed_bitstring<32, false, true>& path_switch_request_ack_ies_o::value_c::add_rrm_prio_idx() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Value"); return c.get >(); } void path_switch_request_ack_ies_o::value_c::to_json(json_writer& j) const @@ -44800,42 +44800,42 @@ path_switch_request_fail_ies_o::value_c::operator=(const path_switch_request_fai } uint64_t& path_switch_request_fail_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& path_switch_request_fail_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } cause_c& path_switch_request_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& path_switch_request_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& path_switch_request_fail_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& path_switch_request_fail_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const cause_c& path_switch_request_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& path_switch_request_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void path_switch_request_fail_ies_o::value_c::to_json(json_writer& j) const @@ -45267,154 +45267,154 @@ path_switch_request_ies_o::value_c::operator=(const path_switch_request_ies_o::v } uint32_t& path_switch_request_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_ie_container_list_l& path_switch_request_ies_o::value_c::erab_to_be_switched_dl_list() { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABToBeSwitchedDLItemIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_switched_dl_list, type_, "Value"); return c.get >(); } uint64_t& path_switch_request_ies_o::value_c::source_mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::source_mme_ue_s1ap_id, type_, "Value"); return c.get(); } eutran_cgi_s& path_switch_request_ies_o::value_c::eutran_cgi() { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } tai_s& path_switch_request_ies_o::value_c::tai() { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } ue_security_cap_s& path_switch_request_ies_o::value_c::ue_security_cap() { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } fixed_bitstring<27, false, true>& path_switch_request_ies_o::value_c::csg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::csg_id, type_, "Value"); return c.get >(); } cell_access_mode_e& path_switch_request_ies_o::value_c::cell_access_mode() { - assert_choice_type("CellAccessMode", type_.to_string(), "Value"); + assert_choice_type(types::cell_access_mode, type_, "Value"); return c.get(); } gummei_s& path_switch_request_ies_o::value_c::source_mme_gummei() { - assert_choice_type("GUMMEI", type_.to_string(), "Value"); + assert_choice_type(types::source_mme_gummei, type_, "Value"); return c.get(); } csg_membership_status_e& path_switch_request_ies_o::value_c::csg_membership_status() { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } tunnel_info_s& path_switch_request_ies_o::value_c::tunnel_info_for_bbf() { - assert_choice_type("TunnelInformation", type_.to_string(), "Value"); + assert_choice_type(types::tunnel_info_for_bbf, type_, "Value"); return c.get(); } bounded_octstring<32, 256, true>& path_switch_request_ies_o::value_c::lhn_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lhn_id, type_, "Value"); return c.get >(); } rrc_establishment_cause_e& path_switch_request_ies_o::value_c::rrc_resume_cause() { - assert_choice_type("RRC-Establishment-Cause", type_.to_string(), "Value"); + assert_choice_type(types::rrc_resume_cause, type_, "Value"); return c.get(); } nrue_security_cap_s& path_switch_request_ies_o::value_c::nrue_security_cap() { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } ps_cell_info_s& path_switch_request_ies_o::value_c::ps_cell_info() { - assert_choice_type("PSCellInformation", type_.to_string(), "Value"); + assert_choice_type(types::ps_cell_info, type_, "Value"); return c.get(); } const uint32_t& path_switch_request_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_ie_container_list_l& path_switch_request_ies_o::value_c::erab_to_be_switched_dl_list() const { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABToBeSwitchedDLItemIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_to_be_switched_dl_list, type_, "Value"); return c.get >(); } const uint64_t& path_switch_request_ies_o::value_c::source_mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::source_mme_ue_s1ap_id, type_, "Value"); return c.get(); } const eutran_cgi_s& path_switch_request_ies_o::value_c::eutran_cgi() const { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } const tai_s& path_switch_request_ies_o::value_c::tai() const { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } const ue_security_cap_s& path_switch_request_ies_o::value_c::ue_security_cap() const { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } const fixed_bitstring<27, false, true>& path_switch_request_ies_o::value_c::csg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::csg_id, type_, "Value"); return c.get >(); } const cell_access_mode_e& path_switch_request_ies_o::value_c::cell_access_mode() const { - assert_choice_type("CellAccessMode", type_.to_string(), "Value"); + assert_choice_type(types::cell_access_mode, type_, "Value"); return c.get(); } const gummei_s& path_switch_request_ies_o::value_c::source_mme_gummei() const { - assert_choice_type("GUMMEI", type_.to_string(), "Value"); + assert_choice_type(types::source_mme_gummei, type_, "Value"); return c.get(); } const csg_membership_status_e& path_switch_request_ies_o::value_c::csg_membership_status() const { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } const tunnel_info_s& path_switch_request_ies_o::value_c::tunnel_info_for_bbf() const { - assert_choice_type("TunnelInformation", type_.to_string(), "Value"); + assert_choice_type(types::tunnel_info_for_bbf, type_, "Value"); return c.get(); } const bounded_octstring<32, 256, true>& path_switch_request_ies_o::value_c::lhn_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lhn_id, type_, "Value"); return c.get >(); } const rrc_establishment_cause_e& path_switch_request_ies_o::value_c::rrc_resume_cause() const { - assert_choice_type("RRC-Establishment-Cause", type_.to_string(), "Value"); + assert_choice_type(types::rrc_resume_cause, type_, "Value"); return c.get(); } const nrue_security_cap_s& path_switch_request_ies_o::value_c::nrue_security_cap() const { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } const ps_cell_info_s& path_switch_request_ies_o::value_c::ps_cell_info() const { - assert_choice_type("PSCellInformation", type_.to_string(), "Value"); + assert_choice_type(types::ps_cell_info, type_, "Value"); return c.get(); } void path_switch_request_ies_o::value_c::to_json(json_writer& j) const @@ -45825,62 +45825,62 @@ reroute_nas_request_ies_o::value_c::operator=(const reroute_nas_request_ies_o::v } uint32_t& reroute_nas_request_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } uint64_t& reroute_nas_request_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } unbounded_octstring& reroute_nas_request_ies_o::value_c::s1_msg() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::s1_msg, type_, "Value"); return c.get >(); } fixed_octstring<2, true>& reroute_nas_request_ies_o::value_c::mme_group_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::mme_group_id, type_, "Value"); return c.get >(); } add_guti_s& reroute_nas_request_ies_o::value_c::add_guti() { - assert_choice_type("Additional-GUTI", type_.to_string(), "Value"); + assert_choice_type(types::add_guti, type_, "Value"); return c.get(); } uint16_t& reroute_nas_request_ies_o::value_c::ue_usage_type() { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::ue_usage_type, type_, "Value"); return c.get(); } const uint32_t& reroute_nas_request_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const uint64_t& reroute_nas_request_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const unbounded_octstring& reroute_nas_request_ies_o::value_c::s1_msg() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::s1_msg, type_, "Value"); return c.get >(); } const fixed_octstring<2, true>& reroute_nas_request_ies_o::value_c::mme_group_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::mme_group_id, type_, "Value"); return c.get >(); } const add_guti_s& reroute_nas_request_ies_o::value_c::add_guti() const { - assert_choice_type("Additional-GUTI", type_.to_string(), "Value"); + assert_choice_type(types::add_guti, type_, "Value"); return c.get(); } const uint16_t& reroute_nas_request_ies_o::value_c::ue_usage_type() const { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::ue_usage_type, type_, "Value"); return c.get(); } void reroute_nas_request_ies_o::value_c::to_json(json_writer& j) const @@ -46105,22 +46105,22 @@ reset_ack_ies_o::value_c& reset_ack_ies_o::value_c::operator=(const reset_ack_ie } ue_associated_lc_s1_conn_list_res_ack_l& reset_ack_ies_o::value_c::ue_associated_lc_s1_conn_list_res_ack() { - assert_choice_type("UE-associatedLogicalS1-ConnectionListResAck", type_.to_string(), "Value"); + assert_choice_type(types::ue_associated_lc_s1_conn_list_res_ack, type_, "Value"); return c.get(); } crit_diagnostics_s& reset_ack_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const ue_associated_lc_s1_conn_list_res_ack_l& reset_ack_ies_o::value_c::ue_associated_lc_s1_conn_list_res_ack() const { - assert_choice_type("UE-associatedLogicalS1-ConnectionListResAck", type_.to_string(), "Value"); + assert_choice_type(types::ue_associated_lc_s1_conn_list_res_ack, type_, "Value"); return c.get(); } const crit_diagnostics_s& reset_ack_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void reset_ack_ies_o::value_c::to_json(json_writer& j) const @@ -46313,22 +46313,22 @@ reset_ies_o::value_c& reset_ies_o::value_c::operator=(const reset_ies_o::value_c } cause_c& reset_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } reset_type_c& reset_ies_o::value_c::reset_type() { - assert_choice_type("ResetType", type_.to_string(), "Value"); + assert_choice_type(types::reset_type, type_, "Value"); return c.get(); } const cause_c& reset_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const reset_type_c& reset_ies_o::value_c::reset_type() const { - assert_choice_type("ResetType", type_.to_string(), "Value"); + assert_choice_type(types::reset_type, type_, "Value"); return c.get(); } void reset_ies_o::value_c::to_json(json_writer& j) const @@ -46590,32 +46590,32 @@ s1_setup_fail_ies_o::value_c& s1_setup_fail_ies_o::value_c::operator=(const s1_s } cause_c& s1_setup_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } time_to_wait_e& s1_setup_fail_ies_o::value_c::time_to_wait() { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } crit_diagnostics_s& s1_setup_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const cause_c& s1_setup_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const time_to_wait_e& s1_setup_fail_ies_o::value_c::time_to_wait() const { - assert_choice_type("TimeToWait", type_.to_string(), "Value"); + assert_choice_type(types::time_to_wait, type_, "Value"); return c.get(); } const crit_diagnostics_s& s1_setup_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void s1_setup_fail_ies_o::value_c::to_json(json_writer& j) const @@ -46912,82 +46912,82 @@ s1_setup_request_ies_o::value_c::operator=(const s1_setup_request_ies_o::value_c } global_enb_id_s& s1_setup_request_ies_o::value_c::global_enb_id() { - assert_choice_type("Global-ENB-ID", type_.to_string(), "Value"); + assert_choice_type(types::global_enb_id, type_, "Value"); return c.get(); } printable_string<1, 150, true, true>& s1_setup_request_ies_o::value_c::enbname() { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::enbname, type_, "Value"); return c.get >(); } supported_tas_l& s1_setup_request_ies_o::value_c::supported_tas() { - assert_choice_type("SupportedTAs", type_.to_string(), "Value"); + assert_choice_type(types::supported_tas, type_, "Value"); return c.get(); } paging_drx_e& s1_setup_request_ies_o::value_c::default_paging_drx() { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::default_paging_drx, type_, "Value"); return c.get(); } csg_id_list_l& s1_setup_request_ies_o::value_c::csg_id_list() { - assert_choice_type("CSG-IdList", type_.to_string(), "Value"); + assert_choice_type(types::csg_id_list, type_, "Value"); return c.get(); } ue_retention_info_e& s1_setup_request_ies_o::value_c::ue_retention_info() { - assert_choice_type("UE-RetentionInformation", type_.to_string(), "Value"); + assert_choice_type(types::ue_retention_info, type_, "Value"); return c.get(); } nb_io_t_default_paging_drx_e& s1_setup_request_ies_o::value_c::nb_io_t_default_paging_drx() { - assert_choice_type("NB-IoT-DefaultPagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::nb_io_t_default_paging_drx, type_, "Value"); return c.get(); } connectedeng_nb_list_l& s1_setup_request_ies_o::value_c::connectedeng_nb_list() { - assert_choice_type("ConnectedengNBList", type_.to_string(), "Value"); + assert_choice_type(types::connectedeng_nb_list, type_, "Value"); return c.get(); } const global_enb_id_s& s1_setup_request_ies_o::value_c::global_enb_id() const { - assert_choice_type("Global-ENB-ID", type_.to_string(), "Value"); + assert_choice_type(types::global_enb_id, type_, "Value"); return c.get(); } const printable_string<1, 150, true, true>& s1_setup_request_ies_o::value_c::enbname() const { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::enbname, type_, "Value"); return c.get >(); } const supported_tas_l& s1_setup_request_ies_o::value_c::supported_tas() const { - assert_choice_type("SupportedTAs", type_.to_string(), "Value"); + assert_choice_type(types::supported_tas, type_, "Value"); return c.get(); } const paging_drx_e& s1_setup_request_ies_o::value_c::default_paging_drx() const { - assert_choice_type("PagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::default_paging_drx, type_, "Value"); return c.get(); } const csg_id_list_l& s1_setup_request_ies_o::value_c::csg_id_list() const { - assert_choice_type("CSG-IdList", type_.to_string(), "Value"); + assert_choice_type(types::csg_id_list, type_, "Value"); return c.get(); } const ue_retention_info_e& s1_setup_request_ies_o::value_c::ue_retention_info() const { - assert_choice_type("UE-RetentionInformation", type_.to_string(), "Value"); + assert_choice_type(types::ue_retention_info, type_, "Value"); return c.get(); } const nb_io_t_default_paging_drx_e& s1_setup_request_ies_o::value_c::nb_io_t_default_paging_drx() const { - assert_choice_type("NB-IoT-DefaultPagingDRX", type_.to_string(), "Value"); + assert_choice_type(types::nb_io_t_default_paging_drx, type_, "Value"); return c.get(); } const connectedeng_nb_list_l& s1_setup_request_ies_o::value_c::connectedeng_nb_list() const { - assert_choice_type("ConnectedengNBList", type_.to_string(), "Value"); + assert_choice_type(types::connectedeng_nb_list, type_, "Value"); return c.get(); } void s1_setup_request_ies_o::value_c::to_json(json_writer& j) const @@ -47327,72 +47327,72 @@ s1_setup_resp_ies_o::value_c& s1_setup_resp_ies_o::value_c::operator=(const s1_s } printable_string<1, 150, true, true>& s1_setup_resp_ies_o::value_c::mm_ename() { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::mm_ename, type_, "Value"); return c.get >(); } served_gummeis_l& s1_setup_resp_ies_o::value_c::served_gummeis() { - assert_choice_type("ServedGUMMEIs", type_.to_string(), "Value"); + assert_choice_type(types::served_gummeis, type_, "Value"); return c.get(); } uint16_t& s1_setup_resp_ies_o::value_c::relative_mme_capacity() { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::relative_mme_capacity, type_, "Value"); return c.get(); } mme_relay_support_ind_e& s1_setup_resp_ies_o::value_c::mme_relay_support_ind() { - assert_choice_type("MMERelaySupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::mme_relay_support_ind, type_, "Value"); return c.get(); } crit_diagnostics_s& s1_setup_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } ue_retention_info_e& s1_setup_resp_ies_o::value_c::ue_retention_info() { - assert_choice_type("UE-RetentionInformation", type_.to_string(), "Value"); + assert_choice_type(types::ue_retention_info, type_, "Value"); return c.get(); } served_dcns_l& s1_setup_resp_ies_o::value_c::served_dcns() { - assert_choice_type("ServedDCNs", type_.to_string(), "Value"); + assert_choice_type(types::served_dcns, type_, "Value"); return c.get(); } const printable_string<1, 150, true, true>& s1_setup_resp_ies_o::value_c::mm_ename() const { - assert_choice_type("PrintableString", type_.to_string(), "Value"); + assert_choice_type(types::mm_ename, type_, "Value"); return c.get >(); } const served_gummeis_l& s1_setup_resp_ies_o::value_c::served_gummeis() const { - assert_choice_type("ServedGUMMEIs", type_.to_string(), "Value"); + assert_choice_type(types::served_gummeis, type_, "Value"); return c.get(); } const uint16_t& s1_setup_resp_ies_o::value_c::relative_mme_capacity() const { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::relative_mme_capacity, type_, "Value"); return c.get(); } const mme_relay_support_ind_e& s1_setup_resp_ies_o::value_c::mme_relay_support_ind() const { - assert_choice_type("MMERelaySupportIndicator", type_.to_string(), "Value"); + assert_choice_type(types::mme_relay_support_ind, type_, "Value"); return c.get(); } const crit_diagnostics_s& s1_setup_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const ue_retention_info_e& s1_setup_resp_ies_o::value_c::ue_retention_info() const { - assert_choice_type("UE-RetentionInformation", type_.to_string(), "Value"); + assert_choice_type(types::ue_retention_info, type_, "Value"); return c.get(); } const served_dcns_l& s1_setup_resp_ies_o::value_c::served_dcns() const { - assert_choice_type("ServedDCNs", type_.to_string(), "Value"); + assert_choice_type(types::served_dcns, type_, "Value"); return c.get(); } void s1_setup_resp_ies_o::value_c::to_json(json_writer& j) const @@ -47708,65 +47708,65 @@ secondary_rat_data_usage_report_ies_o::value_c::operator=(const secondary_rat_da } uint64_t& secondary_rat_data_usage_report_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& secondary_rat_data_usage_report_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } secondary_rat_data_usage_report_list_l& secondary_rat_data_usage_report_ies_o::value_c::secondary_rat_data_usage_report_list() { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } ho_flag_e& secondary_rat_data_usage_report_ies_o::value_c::ho_flag() { - assert_choice_type("HandoverFlag", type_.to_string(), "Value"); + assert_choice_type(types::ho_flag, type_, "Value"); return c.get(); } user_location_info_s& secondary_rat_data_usage_report_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } fixed_octstring<4, true>& secondary_rat_data_usage_report_ies_o::value_c::time_since_secondary_node_release() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::time_since_secondary_node_release, type_, "Value"); return c.get >(); } const uint64_t& secondary_rat_data_usage_report_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& secondary_rat_data_usage_report_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const secondary_rat_data_usage_report_list_l& secondary_rat_data_usage_report_ies_o::value_c::secondary_rat_data_usage_report_list() const { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } const ho_flag_e& secondary_rat_data_usage_report_ies_o::value_c::ho_flag() const { - assert_choice_type("HandoverFlag", type_.to_string(), "Value"); + assert_choice_type(types::ho_flag, type_, "Value"); return c.get(); } const user_location_info_s& secondary_rat_data_usage_report_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const fixed_octstring<4, true>& secondary_rat_data_usage_report_ies_o::value_c::time_since_secondary_node_release() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::time_since_secondary_node_release, type_, "Value"); return c.get >(); } void secondary_rat_data_usage_report_ies_o::value_c::to_json(json_writer& j) const @@ -48025,42 +48025,42 @@ trace_fail_ind_ies_o::value_c& trace_fail_ind_ies_o::value_c::operator=(const tr } uint64_t& trace_fail_ind_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& trace_fail_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } fixed_octstring<8, true>& trace_fail_ind_ies_o::value_c::e_utran_trace_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::e_utran_trace_id, type_, "Value"); return c.get >(); } cause_c& trace_fail_ind_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const uint64_t& trace_fail_ind_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& trace_fail_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const fixed_octstring<8, true>& trace_fail_ind_ies_o::value_c::e_utran_trace_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::e_utran_trace_id, type_, "Value"); return c.get >(); } const cause_c& trace_fail_ind_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } void trace_fail_ind_ies_o::value_c::to_json(json_writer& j) const @@ -48273,32 +48273,32 @@ trace_start_ies_o::value_c& trace_start_ies_o::value_c::operator=(const trace_st } uint64_t& trace_start_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& trace_start_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } trace_activation_s& trace_start_ies_o::value_c::trace_activation() { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } const uint64_t& trace_start_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& trace_start_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const trace_activation_s& trace_start_ies_o::value_c::trace_activation() const { - assert_choice_type("TraceActivation", type_.to_string(), "Value"); + assert_choice_type(types::trace_activation, type_, "Value"); return c.get(); } void trace_start_ies_o::value_c::to_json(json_writer& j) const @@ -48555,62 +48555,62 @@ ue_cap_info_ind_ies_o::value_c& ue_cap_info_ind_ies_o::value_c::operator=(const } uint64_t& ue_cap_info_ind_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_cap_info_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } unbounded_octstring& ue_cap_info_ind_ies_o::value_c::ue_radio_cap() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } unbounded_octstring& ue_cap_info_ind_ies_o::value_c::ue_radio_cap_for_paging() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap_for_paging, type_, "Value"); return c.get >(); } fixed_bitstring<8, false, true>& ue_cap_info_ind_ies_o::value_c::ue_application_layer_meas_cap() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_application_layer_meas_cap, type_, "Value"); return c.get >(); } lte_m_ind_e& ue_cap_info_ind_ies_o::value_c::lte_m_ind() { - assert_choice_type("LTE-M-Indication", type_.to_string(), "Value"); + assert_choice_type(types::lte_m_ind, type_, "Value"); return c.get(); } const uint64_t& ue_cap_info_ind_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_cap_info_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const unbounded_octstring& ue_cap_info_ind_ies_o::value_c::ue_radio_cap() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } const unbounded_octstring& ue_cap_info_ind_ies_o::value_c::ue_radio_cap_for_paging() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap_for_paging, type_, "Value"); return c.get >(); } const fixed_bitstring<8, false, true>& ue_cap_info_ind_ies_o::value_c::ue_application_layer_meas_cap() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_application_layer_meas_cap, type_, "Value"); return c.get >(); } const lte_m_ind_e& ue_cap_info_ind_ies_o::value_c::lte_m_ind() const { - assert_choice_type("LTE-M-Indication", type_.to_string(), "Value"); + assert_choice_type(types::lte_m_ind, type_, "Value"); return c.get(); } void ue_cap_info_ind_ies_o::value_c::to_json(json_writer& j) const @@ -48861,42 +48861,42 @@ ue_context_mod_confirm_ies_o::value_c::operator=(const ue_context_mod_confirm_ie } uint64_t& ue_context_mod_confirm_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_mod_confirm_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } csg_membership_status_e& ue_context_mod_confirm_ies_o::value_c::csg_membership_status() { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } crit_diagnostics_s& ue_context_mod_confirm_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ue_context_mod_confirm_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_mod_confirm_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const csg_membership_status_e& ue_context_mod_confirm_ies_o::value_c::csg_membership_status() const { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } const crit_diagnostics_s& ue_context_mod_confirm_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ue_context_mod_confirm_ies_o::value_c::to_json(json_writer& j) const @@ -49130,42 +49130,42 @@ ue_context_mod_fail_ies_o::value_c::operator=(const ue_context_mod_fail_ies_o::v } uint64_t& ue_context_mod_fail_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_mod_fail_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } cause_c& ue_context_mod_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& ue_context_mod_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ue_context_mod_fail_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_mod_fail_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const cause_c& ue_context_mod_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& ue_context_mod_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ue_context_mod_fail_ies_o::value_c::to_json(json_writer& j) const @@ -49381,32 +49381,32 @@ ue_context_mod_ind_ies_o::value_c::operator=(const ue_context_mod_ind_ies_o::val } uint64_t& ue_context_mod_ind_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_mod_ind_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } csg_membership_info_s& ue_context_mod_ind_ies_o::value_c::csg_membership_info() { - assert_choice_type("CSGMembershipInfo", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_info, type_, "Value"); return c.get(); } const uint64_t& ue_context_mod_ind_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_mod_ind_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const csg_membership_info_s& ue_context_mod_ind_ies_o::value_c::csg_membership_info() const { - assert_choice_type("CSGMembershipInfo", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_info, type_, "Value"); return c.get(); } void ue_context_mod_ind_ies_o::value_c::to_json(json_writer& j) const @@ -49870,183 +49870,183 @@ ue_context_mod_request_ies_o::value_c::operator=(const ue_context_mod_request_ie } uint64_t& ue_context_mod_request_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_mod_request_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } fixed_bitstring<256, false, true>& ue_context_mod_request_ies_o::value_c::security_key() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::security_key, type_, "Value"); return c.get >(); } uint16_t& ue_context_mod_request_ies_o::value_c::subscriber_profile_idfor_rfp() { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::subscriber_profile_idfor_rfp, type_, "Value"); return c.get(); } ue_aggregate_maximum_bitrate_s& ue_context_mod_request_ies_o::value_c::ueaggregate_maximum_bitrate() { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } cs_fallback_ind_e& ue_context_mod_request_ies_o::value_c::cs_fallback_ind() { - assert_choice_type("CSFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::cs_fallback_ind, type_, "Value"); return c.get(); } ue_security_cap_s& ue_context_mod_request_ies_o::value_c::ue_security_cap() { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } csg_membership_status_e& ue_context_mod_request_ies_o::value_c::csg_membership_status() { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } lai_s& ue_context_mod_request_ies_o::value_c::registered_lai() { - assert_choice_type("LAI", type_.to_string(), "Value"); + assert_choice_type(types::registered_lai, type_, "Value"); return c.get(); } add_cs_fallback_ind_e& ue_context_mod_request_ies_o::value_c::add_cs_fallback_ind() { - assert_choice_type("AdditionalCSFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::add_cs_fallback_ind, type_, "Value"); return c.get(); } pro_se_authorized_s& ue_context_mod_request_ies_o::value_c::pro_se_authorized() { - assert_choice_type("ProSeAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::pro_se_authorized, type_, "Value"); return c.get(); } srvcc_operation_possible_e& ue_context_mod_request_ies_o::value_c::srvcc_operation_possible() { - assert_choice_type("SRVCCOperationPossible", type_.to_string(), "Value"); + assert_choice_type(types::srvcc_operation_possible, type_, "Value"); return c.get(); } srvcc_operation_not_possible_e& ue_context_mod_request_ies_o::value_c::srvcc_operation_not_possible() { - assert_choice_type("SRVCCOperationNotPossible", type_.to_string(), "Value"); + assert_choice_type(types::srvcc_operation_not_possible, type_, "Value"); return c.get(); } v2xservices_authorized_s& ue_context_mod_request_ies_o::value_c::v2xservices_authorized() { - assert_choice_type("V2XServicesAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::v2xservices_authorized, type_, "Value"); return c.get(); } ue_sidelink_aggregate_maximum_bitrate_s& ue_context_mod_request_ies_o::value_c::ue_sidelink_aggregate_maximum_bitrate() { - assert_choice_type("UESidelinkAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ue_sidelink_aggregate_maximum_bitrate, type_, "Value"); return c.get(); } nrue_security_cap_s& ue_context_mod_request_ies_o::value_c::nrue_security_cap() { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } aerial_uesubscription_info_e& ue_context_mod_request_ies_o::value_c::aerial_uesubscription_info() { - assert_choice_type("AerialUEsubscriptionInformation", type_.to_string(), "Value"); + assert_choice_type(types::aerial_uesubscription_info, type_, "Value"); return c.get(); } fixed_bitstring<32, false, true>& ue_context_mod_request_ies_o::value_c::add_rrm_prio_idx() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Value"); return c.get >(); } const uint64_t& ue_context_mod_request_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_mod_request_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const fixed_bitstring<256, false, true>& ue_context_mod_request_ies_o::value_c::security_key() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::security_key, type_, "Value"); return c.get >(); } const uint16_t& ue_context_mod_request_ies_o::value_c::subscriber_profile_idfor_rfp() const { - assert_choice_type("INTEGER (1..256)", type_.to_string(), "Value"); + assert_choice_type(types::subscriber_profile_idfor_rfp, type_, "Value"); return c.get(); } const ue_aggregate_maximum_bitrate_s& ue_context_mod_request_ies_o::value_c::ueaggregate_maximum_bitrate() const { - assert_choice_type("UEAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ueaggregate_maximum_bitrate, type_, "Value"); return c.get(); } const cs_fallback_ind_e& ue_context_mod_request_ies_o::value_c::cs_fallback_ind() const { - assert_choice_type("CSFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::cs_fallback_ind, type_, "Value"); return c.get(); } const ue_security_cap_s& ue_context_mod_request_ies_o::value_c::ue_security_cap() const { - assert_choice_type("UESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::ue_security_cap, type_, "Value"); return c.get(); } const csg_membership_status_e& ue_context_mod_request_ies_o::value_c::csg_membership_status() const { - assert_choice_type("CSGMembershipStatus", type_.to_string(), "Value"); + assert_choice_type(types::csg_membership_status, type_, "Value"); return c.get(); } const lai_s& ue_context_mod_request_ies_o::value_c::registered_lai() const { - assert_choice_type("LAI", type_.to_string(), "Value"); + assert_choice_type(types::registered_lai, type_, "Value"); return c.get(); } const add_cs_fallback_ind_e& ue_context_mod_request_ies_o::value_c::add_cs_fallback_ind() const { - assert_choice_type("AdditionalCSFallbackIndicator", type_.to_string(), "Value"); + assert_choice_type(types::add_cs_fallback_ind, type_, "Value"); return c.get(); } const pro_se_authorized_s& ue_context_mod_request_ies_o::value_c::pro_se_authorized() const { - assert_choice_type("ProSeAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::pro_se_authorized, type_, "Value"); return c.get(); } const srvcc_operation_possible_e& ue_context_mod_request_ies_o::value_c::srvcc_operation_possible() const { - assert_choice_type("SRVCCOperationPossible", type_.to_string(), "Value"); + assert_choice_type(types::srvcc_operation_possible, type_, "Value"); return c.get(); } const srvcc_operation_not_possible_e& ue_context_mod_request_ies_o::value_c::srvcc_operation_not_possible() const { - assert_choice_type("SRVCCOperationNotPossible", type_.to_string(), "Value"); + assert_choice_type(types::srvcc_operation_not_possible, type_, "Value"); return c.get(); } const v2xservices_authorized_s& ue_context_mod_request_ies_o::value_c::v2xservices_authorized() const { - assert_choice_type("V2XServicesAuthorized", type_.to_string(), "Value"); + assert_choice_type(types::v2xservices_authorized, type_, "Value"); return c.get(); } const ue_sidelink_aggregate_maximum_bitrate_s& ue_context_mod_request_ies_o::value_c::ue_sidelink_aggregate_maximum_bitrate() const { - assert_choice_type("UESidelinkAggregateMaximumBitrate", type_.to_string(), "Value"); + assert_choice_type(types::ue_sidelink_aggregate_maximum_bitrate, type_, "Value"); return c.get(); } const nrue_security_cap_s& ue_context_mod_request_ies_o::value_c::nrue_security_cap() const { - assert_choice_type("NRUESecurityCapabilities", type_.to_string(), "Value"); + assert_choice_type(types::nrue_security_cap, type_, "Value"); return c.get(); } const aerial_uesubscription_info_e& ue_context_mod_request_ies_o::value_c::aerial_uesubscription_info() const { - assert_choice_type("AerialUEsubscriptionInformation", type_.to_string(), "Value"); + assert_choice_type(types::aerial_uesubscription_info, type_, "Value"); return c.get(); } const fixed_bitstring<32, false, true>& ue_context_mod_request_ies_o::value_c::add_rrm_prio_idx() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Value"); return c.get >(); } void ue_context_mod_request_ies_o::value_c::to_json(json_writer& j) const @@ -50409,32 +50409,32 @@ ue_context_mod_resp_ies_o::value_c::operator=(const ue_context_mod_resp_ies_o::v } uint64_t& ue_context_mod_resp_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_mod_resp_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } crit_diagnostics_s& ue_context_mod_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ue_context_mod_resp_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_mod_resp_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const crit_diagnostics_s& ue_context_mod_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ue_context_mod_resp_ies_o::value_c::to_json(json_writer& j) const @@ -50628,22 +50628,22 @@ ue_context_release_cmd_ies_o::value_c::operator=(const ue_context_release_cmd_ie } ue_s1ap_ids_c& ue_context_release_cmd_ies_o::value_c::ue_s1ap_ids() { - assert_choice_type("UE-S1AP-IDs", type_.to_string(), "Value"); + assert_choice_type(types::ue_s1ap_ids, type_, "Value"); return c.get(); } cause_c& ue_context_release_cmd_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const ue_s1ap_ids_c& ue_context_release_cmd_ies_o::value_c::ue_s1ap_ids() const { - assert_choice_type("UE-S1AP-IDs", type_.to_string(), "Value"); + assert_choice_type(types::ue_s1ap_ids, type_, "Value"); return c.get(); } const cause_c& ue_context_release_cmd_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } void ue_context_release_cmd_ies_o::value_c::to_json(json_writer& j) const @@ -50940,88 +50940,88 @@ ue_context_release_complete_ies_o::value_c::operator=(const ue_context_release_c } uint64_t& ue_context_release_complete_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_release_complete_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } crit_diagnostics_s& ue_context_release_complete_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } user_location_info_s& ue_context_release_complete_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } info_on_recommended_cells_and_enbs_for_paging_s& ue_context_release_complete_ies_o::value_c::info_on_recommended_cells_and_enbs_for_paging() { - assert_choice_type("InformationOnRecommendedCellsAndENBsForPaging", type_.to_string(), "Value"); + assert_choice_type(types::info_on_recommended_cells_and_enbs_for_paging, type_, "Value"); return c.get(); } cell_id_and_ce_level_for_ce_capable_ues_s& ue_context_release_complete_ies_o::value_c::cell_id_and_ce_level_for_ce_capable_ues() { - assert_choice_type("CellIdentifierAndCELevelForCECapableUEs", type_.to_string(), "Value"); + assert_choice_type(types::cell_id_and_ce_level_for_ce_capable_ues, type_, "Value"); return c.get(); } secondary_rat_data_usage_report_list_l& ue_context_release_complete_ies_o::value_c::secondary_rat_data_usage_report_list() { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } fixed_octstring<4, true>& ue_context_release_complete_ies_o::value_c::time_since_secondary_node_release() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::time_since_secondary_node_release, type_, "Value"); return c.get >(); } const uint64_t& ue_context_release_complete_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_release_complete_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const crit_diagnostics_s& ue_context_release_complete_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const user_location_info_s& ue_context_release_complete_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const info_on_recommended_cells_and_enbs_for_paging_s& ue_context_release_complete_ies_o::value_c::info_on_recommended_cells_and_enbs_for_paging() const { - assert_choice_type("InformationOnRecommendedCellsAndENBsForPaging", type_.to_string(), "Value"); + assert_choice_type(types::info_on_recommended_cells_and_enbs_for_paging, type_, "Value"); return c.get(); } const cell_id_and_ce_level_for_ce_capable_ues_s& ue_context_release_complete_ies_o::value_c::cell_id_and_ce_level_for_ce_capable_ues() const { - assert_choice_type("CellIdentifierAndCELevelForCECapableUEs", type_.to_string(), "Value"); + assert_choice_type(types::cell_id_and_ce_level_for_ce_capable_ues, type_, "Value"); return c.get(); } const secondary_rat_data_usage_report_list_l& ue_context_release_complete_ies_o::value_c::secondary_rat_data_usage_report_list() const { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } const fixed_octstring<4, true>& ue_context_release_complete_ies_o::value_c::time_since_secondary_node_release() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::time_since_secondary_node_release, type_, "Value"); return c.get >(); } void ue_context_release_complete_ies_o::value_c::to_json(json_writer& j) const @@ -51319,54 +51319,54 @@ ue_context_release_request_ies_o::value_c::operator=(const ue_context_release_re } uint64_t& ue_context_release_request_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_release_request_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } cause_c& ue_context_release_request_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } gw_context_release_ind_e& ue_context_release_request_ies_o::value_c::gw_context_release_ind() { - assert_choice_type("GWContextReleaseIndication", type_.to_string(), "Value"); + assert_choice_type(types::gw_context_release_ind, type_, "Value"); return c.get(); } secondary_rat_data_usage_report_list_l& ue_context_release_request_ies_o::value_c::secondary_rat_data_usage_report_list() { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } const uint64_t& ue_context_release_request_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_release_request_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const cause_c& ue_context_release_request_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const gw_context_release_ind_e& ue_context_release_request_ies_o::value_c::gw_context_release_ind() const { - assert_choice_type("GWContextReleaseIndication", type_.to_string(), "Value"); + assert_choice_type(types::gw_context_release_ind, type_, "Value"); return c.get(); } const secondary_rat_data_usage_report_list_l& ue_context_release_request_ies_o::value_c::secondary_rat_data_usage_report_list() const { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } void ue_context_release_request_ies_o::value_c::to_json(json_writer& j) const @@ -51616,42 +51616,42 @@ ue_context_resume_fail_ies_o::value_c::operator=(const ue_context_resume_fail_ie } uint64_t& ue_context_resume_fail_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_resume_fail_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } cause_c& ue_context_resume_fail_ies_o::value_c::cause() { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } crit_diagnostics_s& ue_context_resume_fail_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ue_context_resume_fail_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_resume_fail_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const cause_c& ue_context_resume_fail_ies_o::value_c::cause() const { - assert_choice_type("Cause", type_.to_string(), "Value"); + assert_choice_type(types::cause, type_, "Value"); return c.get(); } const crit_diagnostics_s& ue_context_resume_fail_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ue_context_resume_fail_ies_o::value_c::to_json(json_writer& j) const @@ -51882,44 +51882,44 @@ ue_context_resume_request_ies_o::value_c::operator=(const ue_context_resume_requ } uint64_t& ue_context_resume_request_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_resume_request_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_ie_container_list_l& ue_context_resume_request_ies_o::value_c::erab_failed_to_resume_list_resume_req() { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABFailedToResumeItemResumeReqIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_resume_list_resume_req, type_, "Value"); return c.get >(); } rrc_establishment_cause_e& ue_context_resume_request_ies_o::value_c::rrc_resume_cause() { - assert_choice_type("RRC-Establishment-Cause", type_.to_string(), "Value"); + assert_choice_type(types::rrc_resume_cause, type_, "Value"); return c.get(); } const uint64_t& ue_context_resume_request_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_resume_request_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_ie_container_list_l& ue_context_resume_request_ies_o::value_c::erab_failed_to_resume_list_resume_req() const { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABFailedToResumeItemResumeReqIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_resume_list_resume_req, type_, "Value"); return c.get >(); } const rrc_establishment_cause_e& ue_context_resume_request_ies_o::value_c::rrc_resume_cause() const { - assert_choice_type("RRC-Establishment-Cause", type_.to_string(), "Value"); + assert_choice_type(types::rrc_resume_cause, type_, "Value"); return c.get(); } void ue_context_resume_request_ies_o::value_c::to_json(json_writer& j) const @@ -52190,64 +52190,64 @@ ue_context_resume_resp_ies_o::value_c::operator=(const ue_context_resume_resp_ie } uint64_t& ue_context_resume_resp_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_resume_resp_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } erab_ie_container_list_l& ue_context_resume_resp_ies_o::value_c::erab_failed_to_resume_list_resume_res() { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABFailedToResumeItemResumeResIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_resume_list_resume_res, type_, "Value"); return c.get >(); } crit_diagnostics_s& ue_context_resume_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } security_context_s& ue_context_resume_resp_ies_o::value_c::security_context() { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } pending_data_ind_e& ue_context_resume_resp_ies_o::value_c::pending_data_ind() { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } const uint64_t& ue_context_resume_resp_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_resume_resp_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const erab_ie_container_list_l& ue_context_resume_resp_ies_o::value_c::erab_failed_to_resume_list_resume_res() const { - assert_choice_type("E-RAB-IE-ContainerList{{E-RABFailedToResumeItemResumeResIEs}}", type_.to_string(), "Value"); + assert_choice_type(types::erab_failed_to_resume_list_resume_res, type_, "Value"); return c.get >(); } const crit_diagnostics_s& ue_context_resume_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const security_context_s& ue_context_resume_resp_ies_o::value_c::security_context() const { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } const pending_data_ind_e& ue_context_resume_resp_ies_o::value_c::pending_data_ind() const { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } void ue_context_resume_resp_ies_o::value_c::to_json(json_writer& j) const @@ -52563,78 +52563,78 @@ ue_context_suspend_request_ies_o::value_c::operator=(const ue_context_suspend_re } uint64_t& ue_context_suspend_request_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_suspend_request_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } info_on_recommended_cells_and_enbs_for_paging_s& ue_context_suspend_request_ies_o::value_c::info_on_recommended_cells_and_enbs_for_paging() { - assert_choice_type("InformationOnRecommendedCellsAndENBsForPaging", type_.to_string(), "Value"); + assert_choice_type(types::info_on_recommended_cells_and_enbs_for_paging, type_, "Value"); return c.get(); } cell_id_and_ce_level_for_ce_capable_ues_s& ue_context_suspend_request_ies_o::value_c::cell_id_and_ce_level_for_ce_capable_ues() { - assert_choice_type("CellIdentifierAndCELevelForCECapableUEs", type_.to_string(), "Value"); + assert_choice_type(types::cell_id_and_ce_level_for_ce_capable_ues, type_, "Value"); return c.get(); } secondary_rat_data_usage_report_list_l& ue_context_suspend_request_ies_o::value_c::secondary_rat_data_usage_report_list() { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } user_location_info_s& ue_context_suspend_request_ies_o::value_c::user_location_info() { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } fixed_octstring<4, true>& ue_context_suspend_request_ies_o::value_c::time_since_secondary_node_release() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::time_since_secondary_node_release, type_, "Value"); return c.get >(); } const uint64_t& ue_context_suspend_request_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_suspend_request_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const info_on_recommended_cells_and_enbs_for_paging_s& ue_context_suspend_request_ies_o::value_c::info_on_recommended_cells_and_enbs_for_paging() const { - assert_choice_type("InformationOnRecommendedCellsAndENBsForPaging", type_.to_string(), "Value"); + assert_choice_type(types::info_on_recommended_cells_and_enbs_for_paging, type_, "Value"); return c.get(); } const cell_id_and_ce_level_for_ce_capable_ues_s& ue_context_suspend_request_ies_o::value_c::cell_id_and_ce_level_for_ce_capable_ues() const { - assert_choice_type("CellIdentifierAndCELevelForCECapableUEs", type_.to_string(), "Value"); + assert_choice_type(types::cell_id_and_ce_level_for_ce_capable_ues, type_, "Value"); return c.get(); } const secondary_rat_data_usage_report_list_l& ue_context_suspend_request_ies_o::value_c::secondary_rat_data_usage_report_list() const { - assert_choice_type("SecondaryRATDataUsageReportList", type_.to_string(), "Value"); + assert_choice_type(types::secondary_rat_data_usage_report_list, type_, "Value"); return c.get(); } const user_location_info_s& ue_context_suspend_request_ies_o::value_c::user_location_info() const { - assert_choice_type("UserLocationInformation", type_.to_string(), "Value"); + assert_choice_type(types::user_location_info, type_, "Value"); return c.get(); } const fixed_octstring<4, true>& ue_context_suspend_request_ies_o::value_c::time_since_secondary_node_release() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::time_since_secondary_node_release, type_, "Value"); return c.get >(); } void ue_context_suspend_request_ies_o::value_c::to_json(json_writer& j) const @@ -52906,42 +52906,42 @@ ue_context_suspend_resp_ies_o::value_c::operator=(const ue_context_suspend_resp_ } uint64_t& ue_context_suspend_resp_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_context_suspend_resp_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } crit_diagnostics_s& ue_context_suspend_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } security_context_s& ue_context_suspend_resp_ies_o::value_c::security_context() { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } const uint64_t& ue_context_suspend_resp_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_context_suspend_resp_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const crit_diagnostics_s& ue_context_suspend_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const security_context_s& ue_context_suspend_resp_ies_o::value_c::security_context() const { - assert_choice_type("SecurityContext", type_.to_string(), "Value"); + assert_choice_type(types::security_context, type_, "Value"); return c.get(); } void ue_context_suspend_resp_ies_o::value_c::to_json(json_writer& j) const @@ -53199,54 +53199,54 @@ ue_info_transfer_ies_o::value_c::operator=(const ue_info_transfer_ies_o::value_c } s_tmsi_s& ue_info_transfer_ies_o::value_c::s_tmsi() { - assert_choice_type("S-TMSI", type_.to_string(), "Value"); + assert_choice_type(types::s_tmsi, type_, "Value"); return c.get(); } erab_level_qos_params_s& ue_info_transfer_ies_o::value_c::ue_level_qos_params() { - assert_choice_type("E-RABLevelQoSParameters", type_.to_string(), "Value"); + assert_choice_type(types::ue_level_qos_params, type_, "Value"); return c.get(); } unbounded_octstring& ue_info_transfer_ies_o::value_c::ue_radio_cap() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } subscription_based_ue_differentiation_info_s& ue_info_transfer_ies_o::value_c::subscription_based_ue_differentiation_info() { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } pending_data_ind_e& ue_info_transfer_ies_o::value_c::pending_data_ind() { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } const s_tmsi_s& ue_info_transfer_ies_o::value_c::s_tmsi() const { - assert_choice_type("S-TMSI", type_.to_string(), "Value"); + assert_choice_type(types::s_tmsi, type_, "Value"); return c.get(); } const erab_level_qos_params_s& ue_info_transfer_ies_o::value_c::ue_level_qos_params() const { - assert_choice_type("E-RABLevelQoSParameters", type_.to_string(), "Value"); + assert_choice_type(types::ue_level_qos_params, type_, "Value"); return c.get(); } const unbounded_octstring& ue_info_transfer_ies_o::value_c::ue_radio_cap() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } const subscription_based_ue_differentiation_info_s& ue_info_transfer_ies_o::value_c::subscription_based_ue_differentiation_info() const { - assert_choice_type("Subscription-Based-UE-DifferentiationInfo", type_.to_string(), "Value"); + assert_choice_type(types::subscription_based_ue_differentiation_info, type_, "Value"); return c.get(); } const pending_data_ind_e& ue_info_transfer_ies_o::value_c::pending_data_ind() const { - assert_choice_type("PendingDataIndication", type_.to_string(), "Value"); + assert_choice_type(types::pending_data_ind, type_, "Value"); return c.get(); } void ue_info_transfer_ies_o::value_c::to_json(json_writer& j) const @@ -53475,32 +53475,32 @@ ue_radio_cap_match_request_ies_o::value_c::operator=(const ue_radio_cap_match_re } uint64_t& ue_radio_cap_match_request_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_radio_cap_match_request_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } unbounded_octstring& ue_radio_cap_match_request_ies_o::value_c::ue_radio_cap() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } const uint64_t& ue_radio_cap_match_request_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_radio_cap_match_request_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const unbounded_octstring& ue_radio_cap_match_request_ies_o::value_c::ue_radio_cap() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::ue_radio_cap, type_, "Value"); return c.get >(); } void ue_radio_cap_match_request_ies_o::value_c::to_json(json_writer& j) const @@ -53719,42 +53719,42 @@ ue_radio_cap_match_resp_ies_o::value_c::operator=(const ue_radio_cap_match_resp_ } uint64_t& ue_radio_cap_match_resp_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ue_radio_cap_match_resp_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } voice_support_match_ind_e& ue_radio_cap_match_resp_ies_o::value_c::voice_support_match_ind() { - assert_choice_type("VoiceSupportMatchIndicator", type_.to_string(), "Value"); + assert_choice_type(types::voice_support_match_ind, type_, "Value"); return c.get(); } crit_diagnostics_s& ue_radio_cap_match_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const uint64_t& ue_radio_cap_match_resp_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ue_radio_cap_match_resp_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const voice_support_match_ind_e& ue_radio_cap_match_resp_ies_o::value_c::voice_support_match_ind() const { - assert_choice_type("VoiceSupportMatchIndicator", type_.to_string(), "Value"); + assert_choice_type(types::voice_support_match_ind, type_, "Value"); return c.get(); } const crit_diagnostics_s& ue_radio_cap_match_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void ue_radio_cap_match_resp_ies_o::value_c::to_json(json_writer& j) const @@ -54083,92 +54083,92 @@ ul_nas_transport_ies_o::value_c::operator=(const ul_nas_transport_ies_o::value_c } uint64_t& ul_nas_transport_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ul_nas_transport_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } unbounded_octstring& ul_nas_transport_ies_o::value_c::nas_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } eutran_cgi_s& ul_nas_transport_ies_o::value_c::eutran_cgi() { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } tai_s& ul_nas_transport_ies_o::value_c::tai() { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } bounded_bitstring<1, 160, true, true>& ul_nas_transport_ies_o::value_c::gw_transport_layer_address() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::gw_transport_layer_address, type_, "Value"); return c.get >(); } bounded_bitstring<1, 160, true, true>& ul_nas_transport_ies_o::value_c::sipto_l_gw_transport_layer_address() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::sipto_l_gw_transport_layer_address, type_, "Value"); return c.get >(); } bounded_octstring<32, 256, true>& ul_nas_transport_ies_o::value_c::lhn_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lhn_id, type_, "Value"); return c.get >(); } ps_cell_info_s& ul_nas_transport_ies_o::value_c::ps_cell_info() { - assert_choice_type("PSCellInformation", type_.to_string(), "Value"); + assert_choice_type(types::ps_cell_info, type_, "Value"); return c.get(); } const uint64_t& ul_nas_transport_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ul_nas_transport_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const unbounded_octstring& ul_nas_transport_ies_o::value_c::nas_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::nas_pdu, type_, "Value"); return c.get >(); } const eutran_cgi_s& ul_nas_transport_ies_o::value_c::eutran_cgi() const { - assert_choice_type("EUTRAN-CGI", type_.to_string(), "Value"); + assert_choice_type(types::eutran_cgi, type_, "Value"); return c.get(); } const tai_s& ul_nas_transport_ies_o::value_c::tai() const { - assert_choice_type("TAI", type_.to_string(), "Value"); + assert_choice_type(types::tai, type_, "Value"); return c.get(); } const bounded_bitstring<1, 160, true, true>& ul_nas_transport_ies_o::value_c::gw_transport_layer_address() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::gw_transport_layer_address, type_, "Value"); return c.get >(); } const bounded_bitstring<1, 160, true, true>& ul_nas_transport_ies_o::value_c::sipto_l_gw_transport_layer_address() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::sipto_l_gw_transport_layer_address, type_, "Value"); return c.get >(); } const bounded_octstring<32, 256, true>& ul_nas_transport_ies_o::value_c::lhn_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lhn_id, type_, "Value"); return c.get >(); } const ps_cell_info_s& ul_nas_transport_ies_o::value_c::ps_cell_info() const { - assert_choice_type("PSCellInformation", type_.to_string(), "Value"); + assert_choice_type(types::ps_cell_info, type_, "Value"); return c.get(); } void ul_nas_transport_ies_o::value_c::to_json(json_writer& j) const @@ -54424,22 +54424,22 @@ ul_non_ueassociated_lp_pa_transport_ies_o::value_c& ul_non_ueassociated_lp_pa_tr } uint16_t& ul_non_ueassociated_lp_pa_transport_ies_o::value_c::routing_id() { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get(); } unbounded_octstring& ul_non_ueassociated_lp_pa_transport_ies_o::value_c::lp_pa_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lp_pa_pdu, type_, "Value"); return c.get >(); } const uint16_t& ul_non_ueassociated_lp_pa_transport_ies_o::value_c::routing_id() const { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get(); } const unbounded_octstring& ul_non_ueassociated_lp_pa_transport_ies_o::value_c::lp_pa_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lp_pa_pdu, type_, "Value"); return c.get >(); } void ul_non_ueassociated_lp_pa_transport_ies_o::value_c::to_json(json_writer& j) const @@ -54741,92 +54741,92 @@ ul_s1cdma2000tunnelling_ies_o::value_c::operator=(const ul_s1cdma2000tunnelling_ } uint64_t& ul_s1cdma2000tunnelling_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ul_s1cdma2000tunnelling_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } cdma2000_rat_type_e& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_rat_type() { - assert_choice_type("Cdma2000RATType", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_rat_type, type_, "Value"); return c.get(); } unbounded_octstring& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_sector_id() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_sector_id, type_, "Value"); return c.get >(); } cdma2000_ho_required_ind_e& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_ho_required_ind() { - assert_choice_type("Cdma2000HORequiredIndication", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_ho_required_ind, type_, "Value"); return c.get(); } cdma2000_one_xsrvcc_info_s& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_one_xsrvcc_info() { - assert_choice_type("Cdma2000OneXSRVCCInfo", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_one_xsrvcc_info, type_, "Value"); return c.get(); } unbounded_octstring& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_one_xrand() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_one_xrand, type_, "Value"); return c.get >(); } unbounded_octstring& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_pdu, type_, "Value"); return c.get >(); } uint16_t& ul_s1cdma2000tunnelling_ies_o::value_c::eutran_round_trip_delay_estimation_info() { - assert_choice_type("INTEGER (0..2047)", type_.to_string(), "Value"); + assert_choice_type(types::eutran_round_trip_delay_estimation_info, type_, "Value"); return c.get(); } const uint64_t& ul_s1cdma2000tunnelling_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ul_s1cdma2000tunnelling_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const cdma2000_rat_type_e& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_rat_type() const { - assert_choice_type("Cdma2000RATType", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_rat_type, type_, "Value"); return c.get(); } const unbounded_octstring& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_sector_id() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_sector_id, type_, "Value"); return c.get >(); } const cdma2000_ho_required_ind_e& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_ho_required_ind() const { - assert_choice_type("Cdma2000HORequiredIndication", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_ho_required_ind, type_, "Value"); return c.get(); } const cdma2000_one_xsrvcc_info_s& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_one_xsrvcc_info() const { - assert_choice_type("Cdma2000OneXSRVCCInfo", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_one_xsrvcc_info, type_, "Value"); return c.get(); } const unbounded_octstring& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_one_xrand() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_one_xrand, type_, "Value"); return c.get >(); } const unbounded_octstring& ul_s1cdma2000tunnelling_ies_o::value_c::cdma2000_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::cdma2000_pdu, type_, "Value"); return c.get >(); } const uint16_t& ul_s1cdma2000tunnelling_ies_o::value_c::eutran_round_trip_delay_estimation_info() const { - assert_choice_type("INTEGER (0..2047)", type_.to_string(), "Value"); + assert_choice_type(types::eutran_round_trip_delay_estimation_info, type_, "Value"); return c.get(); } void ul_s1cdma2000tunnelling_ies_o::value_c::to_json(json_writer& j) const @@ -55108,42 +55108,42 @@ ul_ueassociated_lp_pa_transport_ies_o::value_c::operator=(const ul_ueassociated_ } uint64_t& ul_ueassociated_lp_pa_transport_ies_o::value_c::mme_ue_s1ap_id() { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } uint32_t& ul_ueassociated_lp_pa_transport_ies_o::value_c::enb_ue_s1ap_id() { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } uint16_t& ul_ueassociated_lp_pa_transport_ies_o::value_c::routing_id() { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get(); } unbounded_octstring& ul_ueassociated_lp_pa_transport_ies_o::value_c::lp_pa_pdu() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lp_pa_pdu, type_, "Value"); return c.get >(); } const uint64_t& ul_ueassociated_lp_pa_transport_ies_o::value_c::mme_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..4294967295)", type_.to_string(), "Value"); + assert_choice_type(types::mme_ue_s1ap_id, type_, "Value"); return c.get(); } const uint32_t& ul_ueassociated_lp_pa_transport_ies_o::value_c::enb_ue_s1ap_id() const { - assert_choice_type("INTEGER (0..16777215)", type_.to_string(), "Value"); + assert_choice_type(types::enb_ue_s1ap_id, type_, "Value"); return c.get(); } const uint16_t& ul_ueassociated_lp_pa_transport_ies_o::value_c::routing_id() const { - assert_choice_type("INTEGER (0..255)", type_.to_string(), "Value"); + assert_choice_type(types::routing_id, type_, "Value"); return c.get(); } const unbounded_octstring& ul_ueassociated_lp_pa_transport_ies_o::value_c::lp_pa_pdu() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::lp_pa_pdu, type_, "Value"); return c.get >(); } void ul_ueassociated_lp_pa_transport_ies_o::value_c::to_json(json_writer& j) const @@ -55520,122 +55520,122 @@ write_replace_warning_request_ies_o::value_c::operator=(const write_replace_warn } fixed_bitstring<16, false, true>& write_replace_warning_request_ies_o::value_c::msg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } fixed_bitstring<16, false, true>& write_replace_warning_request_ies_o::value_c::serial_num() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } warning_area_list_c& write_replace_warning_request_ies_o::value_c::warning_area_list() { - assert_choice_type("WarningAreaList", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_list, type_, "Value"); return c.get(); } uint16_t& write_replace_warning_request_ies_o::value_c::repeat_period() { - assert_choice_type("INTEGER (0..4095)", type_.to_string(), "Value"); + assert_choice_type(types::repeat_period, type_, "Value"); return c.get(); } uint32_t& write_replace_warning_request_ies_o::value_c::extended_repeat_period() { - assert_choice_type("INTEGER (4096..131071)", type_.to_string(), "Value"); + assert_choice_type(types::extended_repeat_period, type_, "Value"); return c.get(); } uint32_t& write_replace_warning_request_ies_o::value_c::numof_broadcast_request() { - assert_choice_type("INTEGER (0..65535)", type_.to_string(), "Value"); + assert_choice_type(types::numof_broadcast_request, type_, "Value"); return c.get(); } fixed_octstring<2, true>& write_replace_warning_request_ies_o::value_c::warning_type() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_type, type_, "Value"); return c.get >(); } fixed_octstring<50, true>& write_replace_warning_request_ies_o::value_c::warning_security_info() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_security_info, type_, "Value"); return c.get >(); } fixed_bitstring<8, false, true>& write_replace_warning_request_ies_o::value_c::data_coding_scheme() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::data_coding_scheme, type_, "Value"); return c.get >(); } bounded_octstring<1, 9600, true>& write_replace_warning_request_ies_o::value_c::warning_msg_contents() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_msg_contents, type_, "Value"); return c.get >(); } concurrent_warning_msg_ind_e& write_replace_warning_request_ies_o::value_c::concurrent_warning_msg_ind() { - assert_choice_type("ConcurrentWarningMessageIndicator", type_.to_string(), "Value"); + assert_choice_type(types::concurrent_warning_msg_ind, type_, "Value"); return c.get(); } bounded_octstring<1, 1024, true>& write_replace_warning_request_ies_o::value_c::warning_area_coordinates() { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_coordinates, type_, "Value"); return c.get >(); } const fixed_bitstring<16, false, true>& write_replace_warning_request_ies_o::value_c::msg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } const fixed_bitstring<16, false, true>& write_replace_warning_request_ies_o::value_c::serial_num() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } const warning_area_list_c& write_replace_warning_request_ies_o::value_c::warning_area_list() const { - assert_choice_type("WarningAreaList", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_list, type_, "Value"); return c.get(); } const uint16_t& write_replace_warning_request_ies_o::value_c::repeat_period() const { - assert_choice_type("INTEGER (0..4095)", type_.to_string(), "Value"); + assert_choice_type(types::repeat_period, type_, "Value"); return c.get(); } const uint32_t& write_replace_warning_request_ies_o::value_c::extended_repeat_period() const { - assert_choice_type("INTEGER (4096..131071)", type_.to_string(), "Value"); + assert_choice_type(types::extended_repeat_period, type_, "Value"); return c.get(); } const uint32_t& write_replace_warning_request_ies_o::value_c::numof_broadcast_request() const { - assert_choice_type("INTEGER (0..65535)", type_.to_string(), "Value"); + assert_choice_type(types::numof_broadcast_request, type_, "Value"); return c.get(); } const fixed_octstring<2, true>& write_replace_warning_request_ies_o::value_c::warning_type() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_type, type_, "Value"); return c.get >(); } const fixed_octstring<50, true>& write_replace_warning_request_ies_o::value_c::warning_security_info() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_security_info, type_, "Value"); return c.get >(); } const fixed_bitstring<8, false, true>& write_replace_warning_request_ies_o::value_c::data_coding_scheme() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::data_coding_scheme, type_, "Value"); return c.get >(); } const bounded_octstring<1, 9600, true>& write_replace_warning_request_ies_o::value_c::warning_msg_contents() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_msg_contents, type_, "Value"); return c.get >(); } const concurrent_warning_msg_ind_e& write_replace_warning_request_ies_o::value_c::concurrent_warning_msg_ind() const { - assert_choice_type("ConcurrentWarningMessageIndicator", type_.to_string(), "Value"); + assert_choice_type(types::concurrent_warning_msg_ind, type_, "Value"); return c.get(); } const bounded_octstring<1, 1024, true>& write_replace_warning_request_ies_o::value_c::warning_area_coordinates() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Value"); + assert_choice_type(types::warning_area_coordinates, type_, "Value"); return c.get >(); } void write_replace_warning_request_ies_o::value_c::to_json(json_writer& j) const @@ -55959,42 +55959,42 @@ write_replace_warning_resp_ies_o::value_c::operator=(const write_replace_warning } fixed_bitstring<16, false, true>& write_replace_warning_resp_ies_o::value_c::msg_id() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } fixed_bitstring<16, false, true>& write_replace_warning_resp_ies_o::value_c::serial_num() { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } broadcast_completed_area_list_c& write_replace_warning_resp_ies_o::value_c::broadcast_completed_area_list() { - assert_choice_type("BroadcastCompletedAreaList", type_.to_string(), "Value"); + assert_choice_type(types::broadcast_completed_area_list, type_, "Value"); return c.get(); } crit_diagnostics_s& write_replace_warning_resp_ies_o::value_c::crit_diagnostics() { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } const fixed_bitstring<16, false, true>& write_replace_warning_resp_ies_o::value_c::msg_id() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::msg_id, type_, "Value"); return c.get >(); } const fixed_bitstring<16, false, true>& write_replace_warning_resp_ies_o::value_c::serial_num() const { - assert_choice_type("BIT STRING", type_.to_string(), "Value"); + assert_choice_type(types::serial_num, type_, "Value"); return c.get >(); } const broadcast_completed_area_list_c& write_replace_warning_resp_ies_o::value_c::broadcast_completed_area_list() const { - assert_choice_type("BroadcastCompletedAreaList", type_.to_string(), "Value"); + assert_choice_type(types::broadcast_completed_area_list, type_, "Value"); return c.get(); } const crit_diagnostics_s& write_replace_warning_resp_ies_o::value_c::crit_diagnostics() const { - assert_choice_type("CriticalityDiagnostics", type_.to_string(), "Value"); + assert_choice_type(types::crit_diagnostics, type_, "Value"); return c.get(); } void write_replace_warning_resp_ies_o::value_c::to_json(json_writer& j) const @@ -63864,442 +63864,442 @@ s1ap_elem_procs_o::init_msg_c& s1ap_elem_procs_o::init_msg_c::operator=(const s1 } ho_required_s& s1ap_elem_procs_o::init_msg_c::ho_required() { - assert_choice_type("HandoverRequired", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_required, type_, "InitiatingMessage"); return c.get(); } ho_request_s& s1ap_elem_procs_o::init_msg_c::ho_request() { - assert_choice_type("HandoverRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_request, type_, "InitiatingMessage"); return c.get(); } path_switch_request_s& s1ap_elem_procs_o::init_msg_c::path_switch_request() { - assert_choice_type("PathSwitchRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::path_switch_request, type_, "InitiatingMessage"); return c.get(); } erab_setup_request_s& s1ap_elem_procs_o::init_msg_c::erab_setup_request() { - assert_choice_type("E-RABSetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::erab_setup_request, type_, "InitiatingMessage"); return c.get(); } erab_modify_request_s& s1ap_elem_procs_o::init_msg_c::erab_modify_request() { - assert_choice_type("E-RABModifyRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::erab_modify_request, type_, "InitiatingMessage"); return c.get(); } erab_release_cmd_s& s1ap_elem_procs_o::init_msg_c::erab_release_cmd() { - assert_choice_type("E-RABReleaseCommand", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::erab_release_cmd, type_, "InitiatingMessage"); return c.get(); } init_context_setup_request_s& s1ap_elem_procs_o::init_msg_c::init_context_setup_request() { - assert_choice_type("InitialContextSetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::init_context_setup_request, type_, "InitiatingMessage"); return c.get(); } ho_cancel_s& s1ap_elem_procs_o::init_msg_c::ho_cancel() { - assert_choice_type("HandoverCancel", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_cancel, type_, "InitiatingMessage"); return c.get(); } kill_request_s& s1ap_elem_procs_o::init_msg_c::kill_request() { - assert_choice_type("KillRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::kill_request, type_, "InitiatingMessage"); return c.get(); } reset_s& s1ap_elem_procs_o::init_msg_c::reset() { - assert_choice_type("Reset", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::reset, type_, "InitiatingMessage"); return c.get(); } s1_setup_request_s& s1ap_elem_procs_o::init_msg_c::s1_setup_request() { - assert_choice_type("S1SetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::s1_setup_request, type_, "InitiatingMessage"); return c.get(); } ue_context_mod_request_s& s1ap_elem_procs_o::init_msg_c::ue_context_mod_request() { - assert_choice_type("UEContextModificationRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_mod_request, type_, "InitiatingMessage"); return c.get(); } ue_context_release_cmd_s& s1ap_elem_procs_o::init_msg_c::ue_context_release_cmd() { - assert_choice_type("UEContextReleaseCommand", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_release_cmd, type_, "InitiatingMessage"); return c.get(); } enb_cfg_upd_s& s1ap_elem_procs_o::init_msg_c::enb_cfg_upd() { - assert_choice_type("ENBConfigurationUpdate", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::enb_cfg_upd, type_, "InitiatingMessage"); return c.get(); } mme_cfg_upd_s& s1ap_elem_procs_o::init_msg_c::mme_cfg_upd() { - assert_choice_type("MMEConfigurationUpdate", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::mme_cfg_upd, type_, "InitiatingMessage"); return c.get(); } write_replace_warning_request_s& s1ap_elem_procs_o::init_msg_c::write_replace_warning_request() { - assert_choice_type("WriteReplaceWarningRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::write_replace_warning_request, type_, "InitiatingMessage"); return c.get(); } ho_notify_s& s1ap_elem_procs_o::init_msg_c::ho_notify() { - assert_choice_type("HandoverNotify", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_notify, type_, "InitiatingMessage"); return c.get(); } erab_release_ind_s& s1ap_elem_procs_o::init_msg_c::erab_release_ind() { - assert_choice_type("E-RABReleaseIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::erab_release_ind, type_, "InitiatingMessage"); return c.get(); } paging_s& s1ap_elem_procs_o::init_msg_c::paging() { - assert_choice_type("Paging", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::paging, type_, "InitiatingMessage"); return c.get(); } dl_nas_transport_s& s1ap_elem_procs_o::init_msg_c::dl_nas_transport() { - assert_choice_type("DownlinkNASTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_nas_transport, type_, "InitiatingMessage"); return c.get(); } init_ue_msg_s& s1ap_elem_procs_o::init_msg_c::init_ue_msg() { - assert_choice_type("InitialUEMessage", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::init_ue_msg, type_, "InitiatingMessage"); return c.get(); } ul_nas_transport_s& s1ap_elem_procs_o::init_msg_c::ul_nas_transport() { - assert_choice_type("UplinkNASTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_nas_transport, type_, "InitiatingMessage"); return c.get(); } error_ind_s& s1ap_elem_procs_o::init_msg_c::error_ind() { - assert_choice_type("ErrorIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::error_ind, type_, "InitiatingMessage"); return c.get(); } nas_non_delivery_ind_s& s1ap_elem_procs_o::init_msg_c::nas_non_delivery_ind() { - assert_choice_type("NASNonDeliveryIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::nas_non_delivery_ind, type_, "InitiatingMessage"); return c.get(); } ue_context_release_request_s& s1ap_elem_procs_o::init_msg_c::ue_context_release_request() { - assert_choice_type("UEContextReleaseRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_release_request, type_, "InitiatingMessage"); return c.get(); } dl_s1cdma2000tunnelling_s& s1ap_elem_procs_o::init_msg_c::dl_s1cdma2000tunnelling() { - assert_choice_type("DownlinkS1cdma2000tunnelling", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_s1cdma2000tunnelling, type_, "InitiatingMessage"); return c.get(); } ul_s1cdma2000tunnelling_s& s1ap_elem_procs_o::init_msg_c::ul_s1cdma2000tunnelling() { - assert_choice_type("UplinkS1cdma2000tunnelling", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_s1cdma2000tunnelling, type_, "InitiatingMessage"); return c.get(); } ue_cap_info_ind_s& s1ap_elem_procs_o::init_msg_c::ue_cap_info_ind() { - assert_choice_type("UECapabilityInfoIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_cap_info_ind, type_, "InitiatingMessage"); return c.get(); } enb_status_transfer_s& s1ap_elem_procs_o::init_msg_c::enb_status_transfer() { - assert_choice_type("ENBStatusTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::enb_status_transfer, type_, "InitiatingMessage"); return c.get(); } mme_status_transfer_s& s1ap_elem_procs_o::init_msg_c::mme_status_transfer() { - assert_choice_type("MMEStatusTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::mme_status_transfer, type_, "InitiatingMessage"); return c.get(); } deactiv_trace_s& s1ap_elem_procs_o::init_msg_c::deactiv_trace() { - assert_choice_type("DeactivateTrace", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::deactiv_trace, type_, "InitiatingMessage"); return c.get(); } trace_start_s& s1ap_elem_procs_o::init_msg_c::trace_start() { - assert_choice_type("TraceStart", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::trace_start, type_, "InitiatingMessage"); return c.get(); } trace_fail_ind_s& s1ap_elem_procs_o::init_msg_c::trace_fail_ind() { - assert_choice_type("TraceFailureIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::trace_fail_ind, type_, "InitiatingMessage"); return c.get(); } cell_traffic_trace_s& s1ap_elem_procs_o::init_msg_c::cell_traffic_trace() { - assert_choice_type("CellTrafficTrace", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::cell_traffic_trace, type_, "InitiatingMessage"); return c.get(); } location_report_ctrl_s& s1ap_elem_procs_o::init_msg_c::location_report_ctrl() { - assert_choice_type("LocationReportingControl", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report_ctrl, type_, "InitiatingMessage"); return c.get(); } location_report_fail_ind_s& s1ap_elem_procs_o::init_msg_c::location_report_fail_ind() { - assert_choice_type("LocationReportingFailureIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report_fail_ind, type_, "InitiatingMessage"); return c.get(); } location_report_s& s1ap_elem_procs_o::init_msg_c::location_report() { - assert_choice_type("LocationReport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report, type_, "InitiatingMessage"); return c.get(); } overload_start_s& s1ap_elem_procs_o::init_msg_c::overload_start() { - assert_choice_type("OverloadStart", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::overload_start, type_, "InitiatingMessage"); return c.get(); } overload_stop_s& s1ap_elem_procs_o::init_msg_c::overload_stop() { - assert_choice_type("OverloadStop", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::overload_stop, type_, "InitiatingMessage"); return c.get(); } enb_direct_info_transfer_s& s1ap_elem_procs_o::init_msg_c::enb_direct_info_transfer() { - assert_choice_type("ENBDirectInformationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::enb_direct_info_transfer, type_, "InitiatingMessage"); return c.get(); } mme_direct_info_transfer_s& s1ap_elem_procs_o::init_msg_c::mme_direct_info_transfer() { - assert_choice_type("MMEDirectInformationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::mme_direct_info_transfer, type_, "InitiatingMessage"); return c.get(); } enb_cfg_transfer_s& s1ap_elem_procs_o::init_msg_c::enb_cfg_transfer() { - assert_choice_type("ENBConfigurationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::enb_cfg_transfer, type_, "InitiatingMessage"); return c.get(); } mme_cfg_transfer_s& s1ap_elem_procs_o::init_msg_c::mme_cfg_transfer() { - assert_choice_type("MMEConfigurationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::mme_cfg_transfer, type_, "InitiatingMessage"); return c.get(); } private_msg_s& s1ap_elem_procs_o::init_msg_c::private_msg() { - assert_choice_type("PrivateMessage", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::private_msg, type_, "InitiatingMessage"); return c.get(); } const ho_required_s& s1ap_elem_procs_o::init_msg_c::ho_required() const { - assert_choice_type("HandoverRequired", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_required, type_, "InitiatingMessage"); return c.get(); } const ho_request_s& s1ap_elem_procs_o::init_msg_c::ho_request() const { - assert_choice_type("HandoverRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_request, type_, "InitiatingMessage"); return c.get(); } const path_switch_request_s& s1ap_elem_procs_o::init_msg_c::path_switch_request() const { - assert_choice_type("PathSwitchRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::path_switch_request, type_, "InitiatingMessage"); return c.get(); } const erab_setup_request_s& s1ap_elem_procs_o::init_msg_c::erab_setup_request() const { - assert_choice_type("E-RABSetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::erab_setup_request, type_, "InitiatingMessage"); return c.get(); } const erab_modify_request_s& s1ap_elem_procs_o::init_msg_c::erab_modify_request() const { - assert_choice_type("E-RABModifyRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::erab_modify_request, type_, "InitiatingMessage"); return c.get(); } const erab_release_cmd_s& s1ap_elem_procs_o::init_msg_c::erab_release_cmd() const { - assert_choice_type("E-RABReleaseCommand", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::erab_release_cmd, type_, "InitiatingMessage"); return c.get(); } const init_context_setup_request_s& s1ap_elem_procs_o::init_msg_c::init_context_setup_request() const { - assert_choice_type("InitialContextSetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::init_context_setup_request, type_, "InitiatingMessage"); return c.get(); } const ho_cancel_s& s1ap_elem_procs_o::init_msg_c::ho_cancel() const { - assert_choice_type("HandoverCancel", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_cancel, type_, "InitiatingMessage"); return c.get(); } const kill_request_s& s1ap_elem_procs_o::init_msg_c::kill_request() const { - assert_choice_type("KillRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::kill_request, type_, "InitiatingMessage"); return c.get(); } const reset_s& s1ap_elem_procs_o::init_msg_c::reset() const { - assert_choice_type("Reset", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::reset, type_, "InitiatingMessage"); return c.get(); } const s1_setup_request_s& s1ap_elem_procs_o::init_msg_c::s1_setup_request() const { - assert_choice_type("S1SetupRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::s1_setup_request, type_, "InitiatingMessage"); return c.get(); } const ue_context_mod_request_s& s1ap_elem_procs_o::init_msg_c::ue_context_mod_request() const { - assert_choice_type("UEContextModificationRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_mod_request, type_, "InitiatingMessage"); return c.get(); } const ue_context_release_cmd_s& s1ap_elem_procs_o::init_msg_c::ue_context_release_cmd() const { - assert_choice_type("UEContextReleaseCommand", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_release_cmd, type_, "InitiatingMessage"); return c.get(); } const enb_cfg_upd_s& s1ap_elem_procs_o::init_msg_c::enb_cfg_upd() const { - assert_choice_type("ENBConfigurationUpdate", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::enb_cfg_upd, type_, "InitiatingMessage"); return c.get(); } const mme_cfg_upd_s& s1ap_elem_procs_o::init_msg_c::mme_cfg_upd() const { - assert_choice_type("MMEConfigurationUpdate", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::mme_cfg_upd, type_, "InitiatingMessage"); return c.get(); } const write_replace_warning_request_s& s1ap_elem_procs_o::init_msg_c::write_replace_warning_request() const { - assert_choice_type("WriteReplaceWarningRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::write_replace_warning_request, type_, "InitiatingMessage"); return c.get(); } const ho_notify_s& s1ap_elem_procs_o::init_msg_c::ho_notify() const { - assert_choice_type("HandoverNotify", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ho_notify, type_, "InitiatingMessage"); return c.get(); } const erab_release_ind_s& s1ap_elem_procs_o::init_msg_c::erab_release_ind() const { - assert_choice_type("E-RABReleaseIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::erab_release_ind, type_, "InitiatingMessage"); return c.get(); } const paging_s& s1ap_elem_procs_o::init_msg_c::paging() const { - assert_choice_type("Paging", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::paging, type_, "InitiatingMessage"); return c.get(); } const dl_nas_transport_s& s1ap_elem_procs_o::init_msg_c::dl_nas_transport() const { - assert_choice_type("DownlinkNASTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_nas_transport, type_, "InitiatingMessage"); return c.get(); } const init_ue_msg_s& s1ap_elem_procs_o::init_msg_c::init_ue_msg() const { - assert_choice_type("InitialUEMessage", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::init_ue_msg, type_, "InitiatingMessage"); return c.get(); } const ul_nas_transport_s& s1ap_elem_procs_o::init_msg_c::ul_nas_transport() const { - assert_choice_type("UplinkNASTransport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_nas_transport, type_, "InitiatingMessage"); return c.get(); } const error_ind_s& s1ap_elem_procs_o::init_msg_c::error_ind() const { - assert_choice_type("ErrorIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::error_ind, type_, "InitiatingMessage"); return c.get(); } const nas_non_delivery_ind_s& s1ap_elem_procs_o::init_msg_c::nas_non_delivery_ind() const { - assert_choice_type("NASNonDeliveryIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::nas_non_delivery_ind, type_, "InitiatingMessage"); return c.get(); } const ue_context_release_request_s& s1ap_elem_procs_o::init_msg_c::ue_context_release_request() const { - assert_choice_type("UEContextReleaseRequest", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_context_release_request, type_, "InitiatingMessage"); return c.get(); } const dl_s1cdma2000tunnelling_s& s1ap_elem_procs_o::init_msg_c::dl_s1cdma2000tunnelling() const { - assert_choice_type("DownlinkS1cdma2000tunnelling", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::dl_s1cdma2000tunnelling, type_, "InitiatingMessage"); return c.get(); } const ul_s1cdma2000tunnelling_s& s1ap_elem_procs_o::init_msg_c::ul_s1cdma2000tunnelling() const { - assert_choice_type("UplinkS1cdma2000tunnelling", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ul_s1cdma2000tunnelling, type_, "InitiatingMessage"); return c.get(); } const ue_cap_info_ind_s& s1ap_elem_procs_o::init_msg_c::ue_cap_info_ind() const { - assert_choice_type("UECapabilityInfoIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::ue_cap_info_ind, type_, "InitiatingMessage"); return c.get(); } const enb_status_transfer_s& s1ap_elem_procs_o::init_msg_c::enb_status_transfer() const { - assert_choice_type("ENBStatusTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::enb_status_transfer, type_, "InitiatingMessage"); return c.get(); } const mme_status_transfer_s& s1ap_elem_procs_o::init_msg_c::mme_status_transfer() const { - assert_choice_type("MMEStatusTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::mme_status_transfer, type_, "InitiatingMessage"); return c.get(); } const deactiv_trace_s& s1ap_elem_procs_o::init_msg_c::deactiv_trace() const { - assert_choice_type("DeactivateTrace", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::deactiv_trace, type_, "InitiatingMessage"); return c.get(); } const trace_start_s& s1ap_elem_procs_o::init_msg_c::trace_start() const { - assert_choice_type("TraceStart", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::trace_start, type_, "InitiatingMessage"); return c.get(); } const trace_fail_ind_s& s1ap_elem_procs_o::init_msg_c::trace_fail_ind() const { - assert_choice_type("TraceFailureIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::trace_fail_ind, type_, "InitiatingMessage"); return c.get(); } const cell_traffic_trace_s& s1ap_elem_procs_o::init_msg_c::cell_traffic_trace() const { - assert_choice_type("CellTrafficTrace", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::cell_traffic_trace, type_, "InitiatingMessage"); return c.get(); } const location_report_ctrl_s& s1ap_elem_procs_o::init_msg_c::location_report_ctrl() const { - assert_choice_type("LocationReportingControl", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report_ctrl, type_, "InitiatingMessage"); return c.get(); } const location_report_fail_ind_s& s1ap_elem_procs_o::init_msg_c::location_report_fail_ind() const { - assert_choice_type("LocationReportingFailureIndication", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report_fail_ind, type_, "InitiatingMessage"); return c.get(); } const location_report_s& s1ap_elem_procs_o::init_msg_c::location_report() const { - assert_choice_type("LocationReport", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::location_report, type_, "InitiatingMessage"); return c.get(); } const overload_start_s& s1ap_elem_procs_o::init_msg_c::overload_start() const { - assert_choice_type("OverloadStart", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::overload_start, type_, "InitiatingMessage"); return c.get(); } const overload_stop_s& s1ap_elem_procs_o::init_msg_c::overload_stop() const { - assert_choice_type("OverloadStop", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::overload_stop, type_, "InitiatingMessage"); return c.get(); } const enb_direct_info_transfer_s& s1ap_elem_procs_o::init_msg_c::enb_direct_info_transfer() const { - assert_choice_type("ENBDirectInformationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::enb_direct_info_transfer, type_, "InitiatingMessage"); return c.get(); } const mme_direct_info_transfer_s& s1ap_elem_procs_o::init_msg_c::mme_direct_info_transfer() const { - assert_choice_type("MMEDirectInformationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::mme_direct_info_transfer, type_, "InitiatingMessage"); return c.get(); } const enb_cfg_transfer_s& s1ap_elem_procs_o::init_msg_c::enb_cfg_transfer() const { - assert_choice_type("ENBConfigurationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::enb_cfg_transfer, type_, "InitiatingMessage"); return c.get(); } const mme_cfg_transfer_s& s1ap_elem_procs_o::init_msg_c::mme_cfg_transfer() const { - assert_choice_type("MMEConfigurationTransfer", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::mme_cfg_transfer, type_, "InitiatingMessage"); return c.get(); } const private_msg_s& s1ap_elem_procs_o::init_msg_c::private_msg() const { - assert_choice_type("PrivateMessage", type_.to_string(), "InitiatingMessage"); + assert_choice_type(types::private_msg, type_, "InitiatingMessage"); return c.get(); } void s1ap_elem_procs_o::init_msg_c::to_json(json_writer& j) const @@ -65060,162 +65060,162 @@ s1ap_elem_procs_o::successful_outcome_c::operator=(const s1ap_elem_procs_o::succ } ho_cmd_s& s1ap_elem_procs_o::successful_outcome_c::ho_cmd() { - assert_choice_type("HandoverCommand", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_cmd, type_, "SuccessfulOutcome"); return c.get(); } ho_request_ack_s& s1ap_elem_procs_o::successful_outcome_c::ho_request_ack() { - assert_choice_type("HandoverRequestAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_request_ack, type_, "SuccessfulOutcome"); return c.get(); } path_switch_request_ack_s& s1ap_elem_procs_o::successful_outcome_c::path_switch_request_ack() { - assert_choice_type("PathSwitchRequestAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::path_switch_request_ack, type_, "SuccessfulOutcome"); return c.get(); } erab_setup_resp_s& s1ap_elem_procs_o::successful_outcome_c::erab_setup_resp() { - assert_choice_type("E-RABSetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::erab_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } erab_modify_resp_s& s1ap_elem_procs_o::successful_outcome_c::erab_modify_resp() { - assert_choice_type("E-RABModifyResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::erab_modify_resp, type_, "SuccessfulOutcome"); return c.get(); } erab_release_resp_s& s1ap_elem_procs_o::successful_outcome_c::erab_release_resp() { - assert_choice_type("E-RABReleaseResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::erab_release_resp, type_, "SuccessfulOutcome"); return c.get(); } init_context_setup_resp_s& s1ap_elem_procs_o::successful_outcome_c::init_context_setup_resp() { - assert_choice_type("InitialContextSetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::init_context_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } ho_cancel_ack_s& s1ap_elem_procs_o::successful_outcome_c::ho_cancel_ack() { - assert_choice_type("HandoverCancelAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_cancel_ack, type_, "SuccessfulOutcome"); return c.get(); } kill_resp_s& s1ap_elem_procs_o::successful_outcome_c::kill_resp() { - assert_choice_type("KillResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::kill_resp, type_, "SuccessfulOutcome"); return c.get(); } reset_ack_s& s1ap_elem_procs_o::successful_outcome_c::reset_ack() { - assert_choice_type("ResetAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::reset_ack, type_, "SuccessfulOutcome"); return c.get(); } s1_setup_resp_s& s1ap_elem_procs_o::successful_outcome_c::s1_setup_resp() { - assert_choice_type("S1SetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::s1_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } ue_context_mod_resp_s& s1ap_elem_procs_o::successful_outcome_c::ue_context_mod_resp() { - assert_choice_type("UEContextModificationResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ue_context_mod_resp, type_, "SuccessfulOutcome"); return c.get(); } ue_context_release_complete_s& s1ap_elem_procs_o::successful_outcome_c::ue_context_release_complete() { - assert_choice_type("UEContextReleaseComplete", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ue_context_release_complete, type_, "SuccessfulOutcome"); return c.get(); } enb_cfg_upd_ack_s& s1ap_elem_procs_o::successful_outcome_c::enb_cfg_upd_ack() { - assert_choice_type("ENBConfigurationUpdateAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::enb_cfg_upd_ack, type_, "SuccessfulOutcome"); return c.get(); } mme_cfg_upd_ack_s& s1ap_elem_procs_o::successful_outcome_c::mme_cfg_upd_ack() { - assert_choice_type("MMEConfigurationUpdateAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::mme_cfg_upd_ack, type_, "SuccessfulOutcome"); return c.get(); } write_replace_warning_resp_s& s1ap_elem_procs_o::successful_outcome_c::write_replace_warning_resp() { - assert_choice_type("WriteReplaceWarningResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::write_replace_warning_resp, type_, "SuccessfulOutcome"); return c.get(); } const ho_cmd_s& s1ap_elem_procs_o::successful_outcome_c::ho_cmd() const { - assert_choice_type("HandoverCommand", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_cmd, type_, "SuccessfulOutcome"); return c.get(); } const ho_request_ack_s& s1ap_elem_procs_o::successful_outcome_c::ho_request_ack() const { - assert_choice_type("HandoverRequestAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_request_ack, type_, "SuccessfulOutcome"); return c.get(); } const path_switch_request_ack_s& s1ap_elem_procs_o::successful_outcome_c::path_switch_request_ack() const { - assert_choice_type("PathSwitchRequestAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::path_switch_request_ack, type_, "SuccessfulOutcome"); return c.get(); } const erab_setup_resp_s& s1ap_elem_procs_o::successful_outcome_c::erab_setup_resp() const { - assert_choice_type("E-RABSetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::erab_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } const erab_modify_resp_s& s1ap_elem_procs_o::successful_outcome_c::erab_modify_resp() const { - assert_choice_type("E-RABModifyResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::erab_modify_resp, type_, "SuccessfulOutcome"); return c.get(); } const erab_release_resp_s& s1ap_elem_procs_o::successful_outcome_c::erab_release_resp() const { - assert_choice_type("E-RABReleaseResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::erab_release_resp, type_, "SuccessfulOutcome"); return c.get(); } const init_context_setup_resp_s& s1ap_elem_procs_o::successful_outcome_c::init_context_setup_resp() const { - assert_choice_type("InitialContextSetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::init_context_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } const ho_cancel_ack_s& s1ap_elem_procs_o::successful_outcome_c::ho_cancel_ack() const { - assert_choice_type("HandoverCancelAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ho_cancel_ack, type_, "SuccessfulOutcome"); return c.get(); } const kill_resp_s& s1ap_elem_procs_o::successful_outcome_c::kill_resp() const { - assert_choice_type("KillResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::kill_resp, type_, "SuccessfulOutcome"); return c.get(); } const reset_ack_s& s1ap_elem_procs_o::successful_outcome_c::reset_ack() const { - assert_choice_type("ResetAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::reset_ack, type_, "SuccessfulOutcome"); return c.get(); } const s1_setup_resp_s& s1ap_elem_procs_o::successful_outcome_c::s1_setup_resp() const { - assert_choice_type("S1SetupResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::s1_setup_resp, type_, "SuccessfulOutcome"); return c.get(); } const ue_context_mod_resp_s& s1ap_elem_procs_o::successful_outcome_c::ue_context_mod_resp() const { - assert_choice_type("UEContextModificationResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ue_context_mod_resp, type_, "SuccessfulOutcome"); return c.get(); } const ue_context_release_complete_s& s1ap_elem_procs_o::successful_outcome_c::ue_context_release_complete() const { - assert_choice_type("UEContextReleaseComplete", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::ue_context_release_complete, type_, "SuccessfulOutcome"); return c.get(); } const enb_cfg_upd_ack_s& s1ap_elem_procs_o::successful_outcome_c::enb_cfg_upd_ack() const { - assert_choice_type("ENBConfigurationUpdateAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::enb_cfg_upd_ack, type_, "SuccessfulOutcome"); return c.get(); } const mme_cfg_upd_ack_s& s1ap_elem_procs_o::successful_outcome_c::mme_cfg_upd_ack() const { - assert_choice_type("MMEConfigurationUpdateAcknowledge", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::mme_cfg_upd_ack, type_, "SuccessfulOutcome"); return c.get(); } const write_replace_warning_resp_s& s1ap_elem_procs_o::successful_outcome_c::write_replace_warning_resp() const { - assert_choice_type("WriteReplaceWarningResponse", type_.to_string(), "SuccessfulOutcome"); + assert_choice_type(types::write_replace_warning_resp, type_, "SuccessfulOutcome"); return c.get(); } void s1ap_elem_procs_o::successful_outcome_c::to_json(json_writer& j) const @@ -65581,82 +65581,82 @@ s1ap_elem_procs_o::unsuccessful_outcome_c::operator=(const s1ap_elem_procs_o::un } ho_prep_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::ho_prep_fail() { - assert_choice_type("HandoverPreparationFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ho_prep_fail, type_, "UnsuccessfulOutcome"); return c.get(); } ho_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::ho_fail() { - assert_choice_type("HandoverFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ho_fail, type_, "UnsuccessfulOutcome"); return c.get(); } path_switch_request_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::path_switch_request_fail() { - assert_choice_type("PathSwitchRequestFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::path_switch_request_fail, type_, "UnsuccessfulOutcome"); return c.get(); } init_context_setup_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::init_context_setup_fail() { - assert_choice_type("InitialContextSetupFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::init_context_setup_fail, type_, "UnsuccessfulOutcome"); return c.get(); } s1_setup_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::s1_setup_fail() { - assert_choice_type("S1SetupFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::s1_setup_fail, type_, "UnsuccessfulOutcome"); return c.get(); } ue_context_mod_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::ue_context_mod_fail() { - assert_choice_type("UEContextModificationFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ue_context_mod_fail, type_, "UnsuccessfulOutcome"); return c.get(); } enb_cfg_upd_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::enb_cfg_upd_fail() { - assert_choice_type("ENBConfigurationUpdateFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::enb_cfg_upd_fail, type_, "UnsuccessfulOutcome"); return c.get(); } mme_cfg_upd_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::mme_cfg_upd_fail() { - assert_choice_type("MMEConfigurationUpdateFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::mme_cfg_upd_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const ho_prep_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::ho_prep_fail() const { - assert_choice_type("HandoverPreparationFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ho_prep_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const ho_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::ho_fail() const { - assert_choice_type("HandoverFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ho_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const path_switch_request_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::path_switch_request_fail() const { - assert_choice_type("PathSwitchRequestFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::path_switch_request_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const init_context_setup_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::init_context_setup_fail() const { - assert_choice_type("InitialContextSetupFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::init_context_setup_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const s1_setup_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::s1_setup_fail() const { - assert_choice_type("S1SetupFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::s1_setup_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const ue_context_mod_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::ue_context_mod_fail() const { - assert_choice_type("UEContextModificationFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::ue_context_mod_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const enb_cfg_upd_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::enb_cfg_upd_fail() const { - assert_choice_type("ENBConfigurationUpdateFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::enb_cfg_upd_fail, type_, "UnsuccessfulOutcome"); return c.get(); } const mme_cfg_upd_fail_s& s1ap_elem_procs_o::unsuccessful_outcome_c::mme_cfg_upd_fail() const { - assert_choice_type("MMEConfigurationUpdateFailure", type_.to_string(), "UnsuccessfulOutcome"); + assert_choice_type(types::mme_cfg_upd_fail, type_, "UnsuccessfulOutcome"); return c.get(); } void s1ap_elem_procs_o::unsuccessful_outcome_c::to_json(json_writer& j) const @@ -65952,22 +65952,22 @@ last_visited_eutran_cell_info_ext_ies_o::ext_c::operator=(const last_visited_eut } uint16_t& last_visited_eutran_cell_info_ext_ies_o::ext_c::time_ue_stayed_in_cell_enhanced_granularity() { - assert_choice_type("INTEGER (0..40950)", type_.to_string(), "Extension"); + assert_choice_type(types::time_ue_stayed_in_cell_enhanced_granularity, type_, "Extension"); return c.get(); } cause_c& last_visited_eutran_cell_info_ext_ies_o::ext_c::ho_cause() { - assert_choice_type("Cause", type_.to_string(), "Extension"); + assert_choice_type(types::ho_cause, type_, "Extension"); return c.get(); } const uint16_t& last_visited_eutran_cell_info_ext_ies_o::ext_c::time_ue_stayed_in_cell_enhanced_granularity() const { - assert_choice_type("INTEGER (0..40950)", type_.to_string(), "Extension"); + assert_choice_type(types::time_ue_stayed_in_cell_enhanced_granularity, type_, "Extension"); return c.get(); } const cause_c& last_visited_eutran_cell_info_ext_ies_o::ext_c::ho_cause() const { - assert_choice_type("Cause", type_.to_string(), "Extension"); + assert_choice_type(types::ho_cause, type_, "Extension"); return c.get(); } void last_visited_eutran_cell_info_ext_ies_o::ext_c::to_json(json_writer& j) const @@ -67827,56 +67827,56 @@ sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::operator=( } fixed_bitstring<32, false, true>& sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::mob_info() { - assert_choice_type("BIT STRING", type_.to_string(), "Extension"); + assert_choice_type(types::mob_info, type_, "Extension"); return c.get >(); } unbounded_octstring& sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::ue_history_info_from_the_ue() { - assert_choice_type("OCTET STRING", type_.to_string(), "Extension"); + assert_choice_type(types::ue_history_info_from_the_ue, type_, "Extension"); return c.get >(); } im_svoice_ep_sfallbackfrom5_g_e& sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::im_svoice_ep_sfallbackfrom5_g() { - assert_choice_type("IMSvoiceEPSfallbackfrom5G", type_.to_string(), "Extension"); + assert_choice_type(types::im_svoice_ep_sfallbackfrom5_g, type_, "Extension"); return c.get(); } fixed_bitstring<32, false, true>& sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::add_rrm_prio_idx() { - assert_choice_type("BIT STRING", type_.to_string(), "Extension"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Extension"); return c.get >(); } contextat_source_s& sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::contextat_source() { - assert_choice_type("ContextatSource", type_.to_string(), "Extension"); + assert_choice_type(types::contextat_source, type_, "Extension"); return c.get(); } const fixed_bitstring<32, false, true>& sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::mob_info() const { - assert_choice_type("BIT STRING", type_.to_string(), "Extension"); + assert_choice_type(types::mob_info, type_, "Extension"); return c.get >(); } const unbounded_octstring& sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::ue_history_info_from_the_ue() const { - assert_choice_type("OCTET STRING", type_.to_string(), "Extension"); + assert_choice_type(types::ue_history_info_from_the_ue, type_, "Extension"); return c.get >(); } const im_svoice_ep_sfallbackfrom5_g_e& sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::im_svoice_ep_sfallbackfrom5_g() const { - assert_choice_type("IMSvoiceEPSfallbackfrom5G", type_.to_string(), "Extension"); + assert_choice_type(types::im_svoice_ep_sfallbackfrom5_g, type_, "Extension"); return c.get(); } const fixed_bitstring<32, false, true>& sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::add_rrm_prio_idx() const { - assert_choice_type("BIT STRING", type_.to_string(), "Extension"); + assert_choice_type(types::add_rrm_prio_idx, type_, "Extension"); return c.get >(); } const contextat_source_s& sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::contextat_source() const { - assert_choice_type("ContextatSource", type_.to_string(), "Extension"); + assert_choice_type(types::contextat_source, type_, "Extension"); return c.get(); } void sourceenb_to_targetenb_transparent_container_ext_ies_o::ext_c::to_json(json_writer& j) const