2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-RC-IEs"
4 * found in "e2sm_rc.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example`
8 #include "E2SM-RC-EventTrigger-Format1-Item.h"
10 #include "EventTrigger-UE-Info.h"
11 #include "EventTrigger-UEevent-Info.h"
13 * This type is implemented using NativeEnumerated,
14 * so here we adjust the DEF accordingly.
16 static asn_oer_constraints_t asn_OER_type_messageDirection_constr_4 CC_NOTUSED = {
19 static asn_per_constraints_t asn_PER_type_messageDirection_constr_4 CC_NOTUSED = {
20 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
21 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
22 0, 0 /* No PER value map */
24 static const asn_INTEGER_enum_map_t asn_MAP_messageDirection_value2enum_4[] = {
27 /* This list is extensible */
29 static const unsigned int asn_MAP_messageDirection_enum2value_4[] = {
32 /* This list is extensible */
34 static const asn_INTEGER_specifics_t asn_SPC_messageDirection_specs_4 = {
35 asn_MAP_messageDirection_value2enum_4, /* "tag" => N; sorted by tag */
36 asn_MAP_messageDirection_enum2value_4, /* N => "tag"; sorted by N */
37 2, /* Number of elements in the maps */
38 3, /* Extensions before this member */
39 1, /* Strict enumeration */
40 0, /* Native long size */
43 static const ber_tlv_tag_t asn_DEF_messageDirection_tags_4[] = {
44 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
45 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
47 static /* Use -fall-defs-global to expose */
48 asn_TYPE_descriptor_t asn_DEF_messageDirection_4 = {
51 &asn_OP_NativeEnumerated,
52 asn_DEF_messageDirection_tags_4,
53 sizeof(asn_DEF_messageDirection_tags_4)
54 /sizeof(asn_DEF_messageDirection_tags_4[0]) - 1, /* 1 */
55 asn_DEF_messageDirection_tags_4, /* Same as above */
56 sizeof(asn_DEF_messageDirection_tags_4)
57 /sizeof(asn_DEF_messageDirection_tags_4[0]), /* 2 */
58 { &asn_OER_type_messageDirection_constr_4, &asn_PER_type_messageDirection_constr_4, NativeEnumerated_constraint },
59 0, 0, /* Defined elsewhere */
60 &asn_SPC_messageDirection_specs_4 /* Additional specs */
63 asn_TYPE_member_t asn_MBR_E2SM_RC_EventTrigger_Format1_Item_1[] = {
64 { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_EventTrigger_Format1_Item, ric_eventTriggerCondition_ID),
65 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
66 -1, /* IMPLICIT tag at current level */
67 &asn_DEF_RIC_EventTriggerCondition_ID,
70 0, 0, /* No default value */
71 "ric-eventTriggerCondition-ID"
73 { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_EventTrigger_Format1_Item, messageType),
74 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
75 +1, /* EXPLICIT tag at current level */
76 &asn_DEF_MessageType_Choice,
79 0, 0, /* No default value */
82 { ATF_POINTER, 4, offsetof(struct E2SM_RC_EventTrigger_Format1_Item, messageDirection),
83 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
84 -1, /* IMPLICIT tag at current level */
85 &asn_DEF_messageDirection_4,
88 0, 0, /* No default value */
91 { ATF_POINTER, 3, offsetof(struct E2SM_RC_EventTrigger_Format1_Item, associatedUEInfo),
92 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
93 -1, /* IMPLICIT tag at current level */
94 &asn_DEF_EventTrigger_UE_Info,
97 0, 0, /* No default value */
100 { ATF_POINTER, 2, offsetof(struct E2SM_RC_EventTrigger_Format1_Item, associatedUEEvent),
101 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
102 -1, /* IMPLICIT tag at current level */
103 &asn_DEF_EventTrigger_UEevent_Info,
106 0, 0, /* No default value */
109 { ATF_POINTER, 1, offsetof(struct E2SM_RC_EventTrigger_Format1_Item, logicalOR),
110 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
111 -1, /* IMPLICIT tag at current level */
115 0, 0, /* No default value */
119 static const int asn_MAP_E2SM_RC_EventTrigger_Format1_Item_oms_1[] = { 2, 3, 4, 5 };
120 static const ber_tlv_tag_t asn_DEF_E2SM_RC_EventTrigger_Format1_Item_tags_1[] = {
121 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
123 static const asn_TYPE_tag2member_t asn_MAP_E2SM_RC_EventTrigger_Format1_Item_tag2el_1[] = {
124 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ric-eventTriggerCondition-ID */
125 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* messageType */
126 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* messageDirection */
127 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* associatedUEInfo */
128 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* associatedUEEvent */
129 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* logicalOR */
131 asn_SEQUENCE_specifics_t asn_SPC_E2SM_RC_EventTrigger_Format1_Item_specs_1 = {
132 sizeof(struct E2SM_RC_EventTrigger_Format1_Item),
133 offsetof(struct E2SM_RC_EventTrigger_Format1_Item, _asn_ctx),
134 asn_MAP_E2SM_RC_EventTrigger_Format1_Item_tag2el_1,
135 6, /* Count of tags in the map */
136 asn_MAP_E2SM_RC_EventTrigger_Format1_Item_oms_1, /* Optional members */
137 4, 0, /* Root/Additions */
138 6, /* First extension addition */
140 asn_TYPE_descriptor_t asn_DEF_E2SM_RC_EventTrigger_Format1_Item = {
141 "E2SM-RC-EventTrigger-Format1-Item",
142 "E2SM-RC-EventTrigger-Format1-Item",
144 asn_DEF_E2SM_RC_EventTrigger_Format1_Item_tags_1,
145 sizeof(asn_DEF_E2SM_RC_EventTrigger_Format1_Item_tags_1)
146 /sizeof(asn_DEF_E2SM_RC_EventTrigger_Format1_Item_tags_1[0]), /* 1 */
147 asn_DEF_E2SM_RC_EventTrigger_Format1_Item_tags_1, /* Same as above */
148 sizeof(asn_DEF_E2SM_RC_EventTrigger_Format1_Item_tags_1)
149 /sizeof(asn_DEF_E2SM_RC_EventTrigger_Format1_Item_tags_1[0]), /* 1 */
150 { 0, 0, SEQUENCE_constraint },
151 asn_MBR_E2SM_RC_EventTrigger_Format1_Item_1,
152 6, /* Elements count */
153 &asn_SPC_E2SM_RC_EventTrigger_Format1_Item_specs_1 /* Additional specs */