[Epic-ID: ODUHIGH-516][Task-ID: ODUHIGH-522] Generating the E2SM-KPM code
[o-du/l2.git] / src / codec_utils / E2SM_KPM / MeasurementType.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2SM-KPM-IEs"
4  *      found in "../../ASN1_Input/E2SM_KPM_V_3_0.asn1"
5  *      `asn1c -D ./../../E2_output/E2SM_KPM_v3.0_output -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "MeasurementType.h"
9
10 static asn_oer_constraints_t asn_OER_type_MeasurementType_constr_1 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 asn_per_constraints_t asn_PER_type_MeasurementType_constr_1 CC_NOTUSED = {
14         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 asn_TYPE_member_t asn_MBR_MeasurementType_1[] = {
19         { ATF_NOFLAGS, 0, offsetof(struct MeasurementType, choice.measName),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_MeasurementTypeName,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "measName"
27                 },
28         { ATF_NOFLAGS, 0, offsetof(struct MeasurementType, choice.measID),
29                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_MeasurementTypeID,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "measID"
36                 },
37 };
38 static const asn_TYPE_tag2member_t asn_MAP_MeasurementType_tag2el_1[] = {
39     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measName */
40     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* measID */
41 };
42 asn_CHOICE_specifics_t asn_SPC_MeasurementType_specs_1 = {
43         sizeof(struct MeasurementType),
44         offsetof(struct MeasurementType, _asn_ctx),
45         offsetof(struct MeasurementType, present),
46         sizeof(((struct MeasurementType *)0)->present),
47         asn_MAP_MeasurementType_tag2el_1,
48         2,      /* Count of tags in the map */
49         0, 0,
50         2       /* Extensions start */
51 };
52 asn_TYPE_descriptor_t asn_DEF_MeasurementType = {
53         "MeasurementType",
54         "MeasurementType",
55         &asn_OP_CHOICE,
56         0,      /* No effective tags (pointer) */
57         0,      /* No effective tags (count) */
58         0,      /* No tags (pointer) */
59         0,      /* No tags (count) */
60         { &asn_OER_type_MeasurementType_constr_1, &asn_PER_type_MeasurementType_constr_1, CHOICE_constraint },
61         asn_MBR_MeasurementType_1,
62         2,      /* Elements count */
63         &asn_SPC_MeasurementType_specs_1        /* Additional specs */
64 };
65