SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / MeasurementDataItem.c
1 /*
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/`
6  */
7
8 #include "MeasurementDataItem.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
15 static asn_per_constraints_t asn_PER_type_incompleteFlag_constr_3 CC_NOTUSED = {
16         { APC_CONSTRAINED | APC_EXTENSIBLE,  0,  0,  0,  0 }    /* (0..0,...) */,
17         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
18         0, 0    /* No PER value map */
19 };
20 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
21 static const asn_INTEGER_enum_map_t asn_MAP_incompleteFlag_value2enum_3[] = {
22         { 0,    4,      "true" }
23         /* This list is extensible */
24 };
25 static const unsigned int asn_MAP_incompleteFlag_enum2value_3[] = {
26         0       /* true(0) */
27         /* This list is extensible */
28 };
29 static const asn_INTEGER_specifics_t asn_SPC_incompleteFlag_specs_3 = {
30         asn_MAP_incompleteFlag_value2enum_3,    /* "tag" => N; sorted by tag */
31         asn_MAP_incompleteFlag_enum2value_3,    /* N => "tag"; sorted by N */
32         1,      /* Number of elements in the maps */
33         2,      /* Extensions before this member */
34         1,      /* Strict enumeration */
35         0,      /* Native long size */
36         0
37 };
38 static const ber_tlv_tag_t asn_DEF_incompleteFlag_tags_3[] = {
39         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
40         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
41 };
42 static /* Use -fall-defs-global to expose */
43 asn_TYPE_descriptor_t asn_DEF_incompleteFlag_3 = {
44         "incompleteFlag",
45         "incompleteFlag",
46         &asn_OP_NativeEnumerated,
47         asn_DEF_incompleteFlag_tags_3,
48         sizeof(asn_DEF_incompleteFlag_tags_3)
49                 /sizeof(asn_DEF_incompleteFlag_tags_3[0]) - 1, /* 1 */
50         asn_DEF_incompleteFlag_tags_3,  /* Same as above */
51         sizeof(asn_DEF_incompleteFlag_tags_3)
52                 /sizeof(asn_DEF_incompleteFlag_tags_3[0]), /* 2 */
53         {
54 #if !defined(ASN_DISABLE_OER_SUPPORT)
55                 0,
56 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
57 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
58                 &asn_PER_type_incompleteFlag_constr_3,
59 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
60                 NativeEnumerated_constraint
61         },
62         0, 0,   /* Defined elsewhere */
63         &asn_SPC_incompleteFlag_specs_3 /* Additional specs */
64 };
65
66 asn_TYPE_member_t asn_MBR_MeasurementDataItem_1[] = {
67         { ATF_NOFLAGS, 0, offsetof(struct MeasurementDataItem, measRecord),
68                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
69                 -1,     /* IMPLICIT tag at current level */
70                 &asn_DEF_MeasurementRecord,
71                 0,
72                 {
73 #if !defined(ASN_DISABLE_OER_SUPPORT)
74                         0,
75 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
76 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
77                         0,
78 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
79                         0
80                 },
81                 0, 0, /* No default value */
82                 "measRecord"
83                 },
84         { ATF_POINTER, 1, offsetof(struct MeasurementDataItem, incompleteFlag),
85                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
86                 -1,     /* IMPLICIT tag at current level */
87                 &asn_DEF_incompleteFlag_3,
88                 0,
89                 {
90 #if !defined(ASN_DISABLE_OER_SUPPORT)
91                         0,
92 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
93 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
94                         0,
95 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
96                         0
97                 },
98                 0, 0, /* No default value */
99                 "incompleteFlag"
100                 },
101 };
102 static const int asn_MAP_MeasurementDataItem_oms_1[] = { 1 };
103 static const ber_tlv_tag_t asn_DEF_MeasurementDataItem_tags_1[] = {
104         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
105 };
106 static const asn_TYPE_tag2member_t asn_MAP_MeasurementDataItem_tag2el_1[] = {
107     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measRecord */
108     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* incompleteFlag */
109 };
110 asn_SEQUENCE_specifics_t asn_SPC_MeasurementDataItem_specs_1 = {
111         sizeof(struct MeasurementDataItem),
112         offsetof(struct MeasurementDataItem, _asn_ctx),
113         asn_MAP_MeasurementDataItem_tag2el_1,
114         2,      /* Count of tags in the map */
115         asn_MAP_MeasurementDataItem_oms_1,      /* Optional members */
116         1, 0,   /* Root/Additions */
117         2,      /* First extension addition */
118 };
119 asn_TYPE_descriptor_t asn_DEF_MeasurementDataItem = {
120         "MeasurementDataItem",
121         "MeasurementDataItem",
122         &asn_OP_SEQUENCE,
123         asn_DEF_MeasurementDataItem_tags_1,
124         sizeof(asn_DEF_MeasurementDataItem_tags_1)
125                 /sizeof(asn_DEF_MeasurementDataItem_tags_1[0]), /* 1 */
126         asn_DEF_MeasurementDataItem_tags_1,     /* Same as above */
127         sizeof(asn_DEF_MeasurementDataItem_tags_1)
128                 /sizeof(asn_DEF_MeasurementDataItem_tags_1[0]), /* 1 */
129         {
130 #if !defined(ASN_DISABLE_OER_SUPPORT)
131                 0,
132 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
133 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
134                 0,
135 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
136                 SEQUENCE_constraint
137         },
138         asn_MBR_MeasurementDataItem_1,
139         2,      /* Elements count */
140         &asn_SPC_MeasurementDataItem_specs_1    /* Additional specs */
141 };
142