[Epic-ID: ODUHIGH-516][Task-ID: ODUHIGH-522] Generating the E2SM-KPM code
[o-du/l2.git] / src / codec_utils / E2SM_KPM / TestCond-Value.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 "TestCond-Value.h"
9
10 static asn_oer_constraints_t asn_OER_type_TestCond_Value_constr_1 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 asn_per_constraints_t asn_PER_type_TestCond_Value_constr_1 CC_NOTUSED = {
14         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  5 }    /* (0..5,...) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 asn_TYPE_member_t asn_MBR_TestCond_Value_1[] = {
19         { ATF_NOFLAGS, 0, offsetof(struct TestCond_Value, choice.valueInt),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_NativeInteger,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "valueInt"
27                 },
28         { ATF_NOFLAGS, 0, offsetof(struct TestCond_Value, choice.valueEnum),
29                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_NativeInteger,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "valueEnum"
36                 },
37         { ATF_NOFLAGS, 0, offsetof(struct TestCond_Value, choice.valueBool),
38                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
39                 -1,     /* IMPLICIT tag at current level */
40                 &asn_DEF_BOOLEAN,
41                 0,
42                 { 0, 0, 0 },
43                 0, 0, /* No default value */
44                 "valueBool"
45                 },
46         { ATF_NOFLAGS, 0, offsetof(struct TestCond_Value, choice.valueBitS),
47                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
48                 -1,     /* IMPLICIT tag at current level */
49                 &asn_DEF_BIT_STRING,
50                 0,
51                 { 0, 0, 0 },
52                 0, 0, /* No default value */
53                 "valueBitS"
54                 },
55         { ATF_NOFLAGS, 0, offsetof(struct TestCond_Value, choice.valueOctS),
56                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
57                 -1,     /* IMPLICIT tag at current level */
58                 &asn_DEF_OCTET_STRING,
59                 0,
60                 { 0, 0, 0 },
61                 0, 0, /* No default value */
62                 "valueOctS"
63                 },
64         { ATF_NOFLAGS, 0, offsetof(struct TestCond_Value, choice.valuePrtS),
65                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
66                 -1,     /* IMPLICIT tag at current level */
67                 &asn_DEF_PrintableString,
68                 0,
69                 { 0, 0, 0 },
70                 0, 0, /* No default value */
71                 "valuePrtS"
72                 },
73         { ATF_NOFLAGS, 0, offsetof(struct TestCond_Value, choice.valueReal),
74                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
75                 -1,     /* IMPLICIT tag at current level */
76                 &asn_DEF_NativeReal,
77                 0,
78                 { 0, 0, 0 },
79                 0, 0, /* No default value */
80                 "valueReal"
81                 },
82 };
83 static const asn_TYPE_tag2member_t asn_MAP_TestCond_Value_tag2el_1[] = {
84     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* valueInt */
85     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* valueEnum */
86     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* valueBool */
87     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* valueBitS */
88     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* valueOctS */
89     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* valuePrtS */
90     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* valueReal */
91 };
92 asn_CHOICE_specifics_t asn_SPC_TestCond_Value_specs_1 = {
93         sizeof(struct TestCond_Value),
94         offsetof(struct TestCond_Value, _asn_ctx),
95         offsetof(struct TestCond_Value, present),
96         sizeof(((struct TestCond_Value *)0)->present),
97         asn_MAP_TestCond_Value_tag2el_1,
98         7,      /* Count of tags in the map */
99         0, 0,
100         6       /* Extensions start */
101 };
102 asn_TYPE_descriptor_t asn_DEF_TestCond_Value = {
103         "TestCond-Value",
104         "TestCond-Value",
105         &asn_OP_CHOICE,
106         0,      /* No effective tags (pointer) */
107         0,      /* No effective tags (count) */
108         0,      /* No tags (pointer) */
109         0,      /* No tags (count) */
110         { &asn_OER_type_TestCond_Value_constr_1, &asn_PER_type_TestCond_Value_constr_1, CHOICE_constraint },
111         asn_MBR_TestCond_Value_1,
112         7,      /* Elements count */
113         &asn_SPC_TestCond_Value_specs_1 /* Additional specs */
114 };
115