ISSUE ID:- RICAPP-216
[ric-app/bouncer.git] / Bouncer / e2sm_kpm / lib / 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 "kpmv2.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
6  */
7
8 #include "MeasurementType.h"
9
10 asn_per_constraints_t asn_PER_type_MeasurementType_constr_1 CC_NOTUSED = {
11         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
12         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
13         0, 0    /* No PER value map */
14 };
15 asn_TYPE_member_t asn_MBR_MeasurementType_1[] = {
16         { ATF_NOFLAGS, 0, offsetof(struct MeasurementType, choice.measName),
17                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18                 -1,     /* IMPLICIT tag at current level */
19                 &asn_DEF_MeasurementTypeName,
20                 0,
21                 { 0, 0, 0 },
22                 0, 0, /* No default value */
23                 "measName"
24                 },
25         { ATF_NOFLAGS, 0, offsetof(struct MeasurementType, choice.measID),
26                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27                 -1,     /* IMPLICIT tag at current level */
28                 &asn_DEF_MeasurementTypeID,
29                 0,
30                 { 0, 0, 0 },
31                 0, 0, /* No default value */
32                 "measID"
33                 },
34 };
35 static const asn_TYPE_tag2member_t asn_MAP_MeasurementType_tag2el_1[] = {
36     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measName */
37     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* measID */
38 };
39 asn_CHOICE_specifics_t asn_SPC_MeasurementType_specs_1 = {
40         sizeof(struct MeasurementType),
41         offsetof(struct MeasurementType, _asn_ctx),
42         offsetof(struct MeasurementType, present),
43         sizeof(((struct MeasurementType *)0)->present),
44         asn_MAP_MeasurementType_tag2el_1,
45         2,      /* Count of tags in the map */
46         0, 0,
47         2       /* Extensions start */
48 };
49 asn_TYPE_descriptor_t asn_DEF_MeasurementType = {
50         "MeasurementType",
51         "MeasurementType",
52         &asn_OP_CHOICE,
53         0,      /* No effective tags (pointer) */
54         0,      /* No effective tags (count) */
55         0,      /* No tags (pointer) */
56         0,      /* No tags (count) */
57         { 0, &asn_PER_type_MeasurementType_constr_1, CHOICE_constraint },
58         asn_MBR_MeasurementType_1,
59         2,      /* Elements count */
60         &asn_SPC_MeasurementType_specs_1        /* Additional specs */
61 };
62