Add version 0.5.0
[ric-plt/submgr.git] / e2ap / lib / CoMPInformationItem.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "Spec/e2ap-v031ex.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "CoMPInformationItem.h"
9
10 #include "ProtocolExtensionContainer.h"
11 static asn_oer_constraints_t asn_OER_type_CoMPInformationItem_constr_1 CC_NOTUSED = {
12         { 0, 0 },
13         -1      /* (SIZE(1..256)) */};
14 asn_per_constraints_t asn_PER_type_CoMPInformationItem_constr_1 CC_NOTUSED = {
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         { APC_CONSTRAINED,       8,  8,  1,  256 }      /* (SIZE(1..256)) */,
17         0, 0    /* No PER value map */
18 };
19 static asn_TYPE_member_t asn_MBR_Member_2[] = {
20         { ATF_NOFLAGS, 0, offsetof(struct CoMPInformationItem__Member, coMPHypothesisSet),
21                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
22                 -1,     /* IMPLICIT tag at current level */
23                 &asn_DEF_CoMPHypothesisSet,
24                 0,
25                 { 0, 0, 0 },
26                 0, 0, /* No default value */
27                 "coMPHypothesisSet"
28                 },
29         { ATF_NOFLAGS, 0, offsetof(struct CoMPInformationItem__Member, benefitMetric),
30                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
31                 -1,     /* IMPLICIT tag at current level */
32                 &asn_DEF_BenefitMetric,
33                 0,
34                 { 0, 0, 0 },
35                 0, 0, /* No default value */
36                 "benefitMetric"
37                 },
38         { ATF_POINTER, 1, offsetof(struct CoMPInformationItem__Member, iE_Extensions),
39                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
40                 -1,     /* IMPLICIT tag at current level */
41                 &asn_DEF_ProtocolExtensionContainer_9566P119,
42                 0,
43                 { 0, 0, 0 },
44                 0, 0, /* No default value */
45                 "iE-Extensions"
46                 },
47 };
48 static const int asn_MAP_Member_oms_2[] = { 2 };
49 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
50         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
51 };
52 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
53     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* coMPHypothesisSet */
54     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* benefitMetric */
55     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
56 };
57 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
58         sizeof(struct CoMPInformationItem__Member),
59         offsetof(struct CoMPInformationItem__Member, _asn_ctx),
60         asn_MAP_Member_tag2el_2,
61         3,      /* Count of tags in the map */
62         asn_MAP_Member_oms_2,   /* Optional members */
63         1, 0,   /* Root/Additions */
64         3,      /* First extension addition */
65 };
66 static /* Use -fall-defs-global to expose */
67 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
68         "SEQUENCE",
69         "SEQUENCE",
70         &asn_OP_SEQUENCE,
71         asn_DEF_Member_tags_2,
72         sizeof(asn_DEF_Member_tags_2)
73                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
74         asn_DEF_Member_tags_2,  /* Same as above */
75         sizeof(asn_DEF_Member_tags_2)
76                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
77         { 0, 0, SEQUENCE_constraint },
78         asn_MBR_Member_2,
79         3,      /* Elements count */
80         &asn_SPC_Member_specs_2 /* Additional specs */
81 };
82
83 asn_TYPE_member_t asn_MBR_CoMPInformationItem_1[] = {
84         { ATF_POINTER, 0, 0,
85                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
86                 0,
87                 &asn_DEF_Member_2,
88                 0,
89                 { 0, 0, 0 },
90                 0, 0, /* No default value */
91                 ""
92                 },
93 };
94 static const ber_tlv_tag_t asn_DEF_CoMPInformationItem_tags_1[] = {
95         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
96 };
97 asn_SET_OF_specifics_t asn_SPC_CoMPInformationItem_specs_1 = {
98         sizeof(struct CoMPInformationItem),
99         offsetof(struct CoMPInformationItem, _asn_ctx),
100         0,      /* XER encoding is XMLDelimitedItemList */
101 };
102 asn_TYPE_descriptor_t asn_DEF_CoMPInformationItem = {
103         "CoMPInformationItem",
104         "CoMPInformationItem",
105         &asn_OP_SEQUENCE_OF,
106         asn_DEF_CoMPInformationItem_tags_1,
107         sizeof(asn_DEF_CoMPInformationItem_tags_1)
108                 /sizeof(asn_DEF_CoMPInformationItem_tags_1[0]), /* 1 */
109         asn_DEF_CoMPInformationItem_tags_1,     /* Same as above */
110         sizeof(asn_DEF_CoMPInformationItem_tags_1)
111                 /sizeof(asn_DEF_CoMPInformationItem_tags_1[0]), /* 1 */
112         { &asn_OER_type_CoMPInformationItem_constr_1, &asn_PER_type_CoMPInformationItem_constr_1, SEQUENCE_OF_constraint },
113         asn_MBR_CoMPInformationItem_1,
114         1,      /* Single element */
115         &asn_SPC_CoMPInformationItem_specs_1    /* Additional specs */
116 };
117