2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-KPM-RC"
4 * found in "e2sm-kpm-rc.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .`
8 #include "MeasurementValue.h"
10 #include "L3-RRC-Measurements.h"
11 static asn_oer_constraints_t asn_OER_type_MeasurementValue_constr_1 CC_NOTUSED = {
14 asn_per_constraints_t asn_PER_type_MeasurementValue_constr_1 CC_NOTUSED = {
15 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */,
16 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
17 0, 0 /* No PER value map */
19 asn_TYPE_member_t asn_MBR_MeasurementValue_1[] = {
20 { ATF_NOFLAGS, 0, offsetof(struct MeasurementValue, choice.valueInt),
21 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
22 -1, /* IMPLICIT tag at current level */
23 &asn_DEF_NativeInteger,
26 0, 0, /* No default value */
29 { ATF_NOFLAGS, 0, offsetof(struct MeasurementValue, choice.valueReal),
30 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
31 -1, /* IMPLICIT tag at current level */
35 0, 0, /* No default value */
38 { ATF_NOFLAGS, 0, offsetof(struct MeasurementValue, choice.noValue),
39 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
40 -1, /* IMPLICIT tag at current level */
44 0, 0, /* No default value */
47 { ATF_POINTER, 0, offsetof(struct MeasurementValue, choice.valueRRC),
48 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
49 -1, /* IMPLICIT tag at current level */
50 &asn_DEF_L3_RRC_Measurements,
53 0, 0, /* No default value */
57 static const asn_TYPE_tag2member_t asn_MAP_MeasurementValue_tag2el_1[] = {
58 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* valueInt */
59 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* valueReal */
60 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* noValue */
61 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* valueRRC */
63 asn_CHOICE_specifics_t asn_SPC_MeasurementValue_specs_1 = {
64 sizeof(struct MeasurementValue),
65 offsetof(struct MeasurementValue, _asn_ctx),
66 offsetof(struct MeasurementValue, present),
67 sizeof(((struct MeasurementValue *)0)->present),
68 asn_MAP_MeasurementValue_tag2el_1,
69 4, /* Count of tags in the map */
71 4 /* Extensions start */
73 asn_TYPE_descriptor_t asn_DEF_MeasurementValue = {
77 0, /* No effective tags (pointer) */
78 0, /* No effective tags (count) */
79 0, /* No tags (pointer) */
80 0, /* No tags (count) */
81 { &asn_OER_type_MeasurementValue_constr_1, &asn_PER_type_MeasurementValue_constr_1, CHOICE_constraint },
82 asn_MBR_MeasurementValue_1,
83 4, /* Elements count */
84 &asn_SPC_MeasurementValue_specs_1 /* Additional specs */