2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-KPM-IEs"
4 * found in "e2sm-kpm-v03.00.asn"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
8 #include "E2SM-KPM-RANfunction-Description.h"
10 #include "RIC-EventTriggerStyle-Item.h"
11 #include "RIC-ReportStyle-Item.h"
13 memb_ric_EventTriggerStyle_List_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
14 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
18 ASN__CTFAIL(app_key, td, sptr,
19 "%s: value not given (%s:%d)",
20 td->name, __FILE__, __LINE__);
24 /* Determine the number of elements */
25 size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
27 if((size >= 1UL && size <= 63UL)) {
28 /* Perform validation of the inner elements */
29 return SEQUENCE_OF_constraint(td, sptr, ctfailcb, app_key);
31 ASN__CTFAIL(app_key, td, sptr,
32 "%s: constraint failed (%s:%d)",
33 td->name, __FILE__, __LINE__);
39 memb_ric_ReportStyle_List_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
40 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
44 ASN__CTFAIL(app_key, td, sptr,
45 "%s: value not given (%s:%d)",
46 td->name, __FILE__, __LINE__);
50 /* Determine the number of elements */
51 size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
53 if((size >= 1UL && size <= 63UL)) {
54 /* Perform validation of the inner elements */
55 return SEQUENCE_OF_constraint(td, sptr, ctfailcb, app_key);
57 ASN__CTFAIL(app_key, td, sptr,
58 "%s: constraint failed (%s:%d)",
59 td->name, __FILE__, __LINE__);
64 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
65 static asn_per_constraints_t asn_PER_type_ric_EventTriggerStyle_List_constr_3 CC_NOTUSED = {
66 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
67 { APC_CONSTRAINED, 6, 6, 1, 63 } /* (SIZE(1..63)) */,
68 0, 0 /* No PER value map */
70 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
71 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
72 static asn_per_constraints_t asn_PER_type_ric_ReportStyle_List_constr_5 CC_NOTUSED = {
73 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
74 { APC_CONSTRAINED, 6, 6, 1, 63 } /* (SIZE(1..63)) */,
75 0, 0 /* No PER value map */
77 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
78 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
79 static asn_per_constraints_t asn_PER_memb_ric_EventTriggerStyle_List_constr_3 CC_NOTUSED = {
80 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
81 { APC_CONSTRAINED, 6, 6, 1, 63 } /* (SIZE(1..63)) */,
82 0, 0 /* No PER value map */
84 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
85 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
86 static asn_per_constraints_t asn_PER_memb_ric_ReportStyle_List_constr_5 CC_NOTUSED = {
87 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
88 { APC_CONSTRAINED, 6, 6, 1, 63 } /* (SIZE(1..63)) */,
89 0, 0 /* No PER value map */
91 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
92 static asn_TYPE_member_t asn_MBR_ric_EventTriggerStyle_List_3[] = {
94 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
96 &asn_DEF_RIC_EventTriggerStyle_Item,
99 #if !defined(ASN_DISABLE_OER_SUPPORT)
101 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
102 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
104 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
107 0, 0, /* No default value */
111 static const ber_tlv_tag_t asn_DEF_ric_EventTriggerStyle_List_tags_3[] = {
112 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
113 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
115 static asn_SET_OF_specifics_t asn_SPC_ric_EventTriggerStyle_List_specs_3 = {
116 sizeof(struct E2SM_KPM_RANfunction_Description__ric_EventTriggerStyle_List),
117 offsetof(struct E2SM_KPM_RANfunction_Description__ric_EventTriggerStyle_List, _asn_ctx),
118 0, /* XER encoding is XMLDelimitedItemList */
120 static /* Use -fall-defs-global to expose */
121 asn_TYPE_descriptor_t asn_DEF_ric_EventTriggerStyle_List_3 = {
122 "ric-EventTriggerStyle-List",
123 "ric-EventTriggerStyle-List",
125 asn_DEF_ric_EventTriggerStyle_List_tags_3,
126 sizeof(asn_DEF_ric_EventTriggerStyle_List_tags_3)
127 /sizeof(asn_DEF_ric_EventTriggerStyle_List_tags_3[0]) - 1, /* 1 */
128 asn_DEF_ric_EventTriggerStyle_List_tags_3, /* Same as above */
129 sizeof(asn_DEF_ric_EventTriggerStyle_List_tags_3)
130 /sizeof(asn_DEF_ric_EventTriggerStyle_List_tags_3[0]), /* 2 */
132 #if !defined(ASN_DISABLE_OER_SUPPORT)
134 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
135 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
136 &asn_PER_type_ric_EventTriggerStyle_List_constr_3,
137 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
138 SEQUENCE_OF_constraint
140 asn_MBR_ric_EventTriggerStyle_List_3,
141 1, /* Single element */
142 &asn_SPC_ric_EventTriggerStyle_List_specs_3 /* Additional specs */
145 static asn_TYPE_member_t asn_MBR_ric_ReportStyle_List_5[] = {
147 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
149 &asn_DEF_RIC_ReportStyle_Item,
152 #if !defined(ASN_DISABLE_OER_SUPPORT)
154 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
155 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
157 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
160 0, 0, /* No default value */
164 static const ber_tlv_tag_t asn_DEF_ric_ReportStyle_List_tags_5[] = {
165 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
166 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
168 static asn_SET_OF_specifics_t asn_SPC_ric_ReportStyle_List_specs_5 = {
169 sizeof(struct E2SM_KPM_RANfunction_Description__ric_ReportStyle_List),
170 offsetof(struct E2SM_KPM_RANfunction_Description__ric_ReportStyle_List, _asn_ctx),
171 0, /* XER encoding is XMLDelimitedItemList */
173 static /* Use -fall-defs-global to expose */
174 asn_TYPE_descriptor_t asn_DEF_ric_ReportStyle_List_5 = {
175 "ric-ReportStyle-List",
176 "ric-ReportStyle-List",
178 asn_DEF_ric_ReportStyle_List_tags_5,
179 sizeof(asn_DEF_ric_ReportStyle_List_tags_5)
180 /sizeof(asn_DEF_ric_ReportStyle_List_tags_5[0]) - 1, /* 1 */
181 asn_DEF_ric_ReportStyle_List_tags_5, /* Same as above */
182 sizeof(asn_DEF_ric_ReportStyle_List_tags_5)
183 /sizeof(asn_DEF_ric_ReportStyle_List_tags_5[0]), /* 2 */
185 #if !defined(ASN_DISABLE_OER_SUPPORT)
187 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
188 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
189 &asn_PER_type_ric_ReportStyle_List_constr_5,
190 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
191 SEQUENCE_OF_constraint
193 asn_MBR_ric_ReportStyle_List_5,
194 1, /* Single element */
195 &asn_SPC_ric_ReportStyle_List_specs_5 /* Additional specs */
198 static asn_TYPE_member_t asn_MBR_E2SM_KPM_RANfunction_Description_1[] = {
199 { ATF_NOFLAGS, 0, offsetof(struct E2SM_KPM_RANfunction_Description, ranFunction_Name),
200 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
201 -1, /* IMPLICIT tag at current level */
202 &asn_DEF_RANfunction_Name,
205 #if !defined(ASN_DISABLE_OER_SUPPORT)
207 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
208 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
210 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
213 0, 0, /* No default value */
216 { ATF_POINTER, 2, offsetof(struct E2SM_KPM_RANfunction_Description, ric_EventTriggerStyle_List),
217 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
219 &asn_DEF_ric_EventTriggerStyle_List_3,
222 #if !defined(ASN_DISABLE_OER_SUPPORT)
224 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
225 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
226 &asn_PER_memb_ric_EventTriggerStyle_List_constr_3,
227 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
228 memb_ric_EventTriggerStyle_List_constraint_1
230 0, 0, /* No default value */
231 "ric-EventTriggerStyle-List"
233 { ATF_POINTER, 1, offsetof(struct E2SM_KPM_RANfunction_Description, ric_ReportStyle_List),
234 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
236 &asn_DEF_ric_ReportStyle_List_5,
239 #if !defined(ASN_DISABLE_OER_SUPPORT)
241 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
242 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
243 &asn_PER_memb_ric_ReportStyle_List_constr_5,
244 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
245 memb_ric_ReportStyle_List_constraint_1
247 0, 0, /* No default value */
248 "ric-ReportStyle-List"
251 static const int asn_MAP_E2SM_KPM_RANfunction_Description_oms_1[] = { 1, 2 };
252 static const ber_tlv_tag_t asn_DEF_E2SM_KPM_RANfunction_Description_tags_1[] = {
253 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
255 static const asn_TYPE_tag2member_t asn_MAP_E2SM_KPM_RANfunction_Description_tag2el_1[] = {
256 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ranFunction-Name */
257 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ric-EventTriggerStyle-List */
258 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* ric-ReportStyle-List */
260 static asn_SEQUENCE_specifics_t asn_SPC_E2SM_KPM_RANfunction_Description_specs_1 = {
261 sizeof(struct E2SM_KPM_RANfunction_Description),
262 offsetof(struct E2SM_KPM_RANfunction_Description, _asn_ctx),
263 asn_MAP_E2SM_KPM_RANfunction_Description_tag2el_1,
264 3, /* Count of tags in the map */
265 asn_MAP_E2SM_KPM_RANfunction_Description_oms_1, /* Optional members */
266 2, 0, /* Root/Additions */
267 3, /* First extension addition */
269 asn_TYPE_descriptor_t asn_DEF_E2SM_KPM_RANfunction_Description = {
270 "E2SM-KPM-RANfunction-Description",
271 "E2SM-KPM-RANfunction-Description",
273 asn_DEF_E2SM_KPM_RANfunction_Description_tags_1,
274 sizeof(asn_DEF_E2SM_KPM_RANfunction_Description_tags_1)
275 /sizeof(asn_DEF_E2SM_KPM_RANfunction_Description_tags_1[0]), /* 1 */
276 asn_DEF_E2SM_KPM_RANfunction_Description_tags_1, /* Same as above */
277 sizeof(asn_DEF_E2SM_KPM_RANfunction_Description_tags_1)
278 /sizeof(asn_DEF_E2SM_KPM_RANfunction_Description_tags_1[0]), /* 1 */
280 #if !defined(ASN_DISABLE_OER_SUPPORT)
282 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
283 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
285 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
288 asn_MBR_E2SM_KPM_RANfunction_Description_1,
289 3, /* Elements count */
290 &asn_SPC_E2SM_KPM_RANfunction_Description_specs_1 /* Additional specs */