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`
8 #include "TestCond-Value.h"
10 static asn_oer_constraints_t asn_OER_type_TestCond_Value_constr_1 CC_NOTUSED = {
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 */
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,
25 0, 0, /* No default value */
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,
34 0, 0, /* No default value */
37 { ATF_NOFLAGS, 0, offsetof(struct TestCond_Value, choice.valueBool),
38 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
39 -1, /* IMPLICIT tag at current level */
43 0, 0, /* No default value */
46 { ATF_NOFLAGS, 0, offsetof(struct TestCond_Value, choice.valueBitS),
47 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
48 -1, /* IMPLICIT tag at current level */
52 0, 0, /* No default value */
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,
61 0, 0, /* No default value */
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,
70 0, 0, /* No default value */
73 { ATF_NOFLAGS, 0, offsetof(struct TestCond_Value, choice.valueReal),
74 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
75 -1, /* IMPLICIT tag at current level */
79 0, 0, /* No default value */
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 */
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 */
100 6 /* Extensions start */
102 asn_TYPE_descriptor_t asn_DEF_TestCond_Value = {
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 */