| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
#include <asn_internal.h> |
| 8 |
|
| 9 |
#include "EnumVal.h" |
| 10 |
|
| 11 |
static asn_TYPE_member_t asn_MBR_EnumVal_1[] = { |
| 12 |
{ ATF_NOFLAGS, 0, offsetof(struct EnumVal, choice.enum_obj_id), |
| 13 |
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 14 |
-1, |
| 15 |
&asn_DEF_EnumObject, |
| 16 |
0, |
| 17 |
0, |
| 18 |
0, |
| 19 |
"enum-obj-id" |
| 20 |
}, |
| 21 |
{ ATF_NOFLAGS, 0, offsetof(struct EnumVal, choice.enum_text_string), |
| 22 |
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 23 |
-1, |
| 24 |
&asn_DEF_FEFString, |
| 25 |
0, |
| 26 |
0, |
| 27 |
0, |
| 28 |
"enum-text-string" |
| 29 |
}, |
| 30 |
{ ATF_NOFLAGS, 0, offsetof(struct EnumVal, choice.enum_external_code), |
| 31 |
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), |
| 32 |
-1, |
| 33 |
&asn_DEF_ExtNomenRef, |
| 34 |
0, |
| 35 |
0, |
| 36 |
0, |
| 37 |
"enum-external-code" |
| 38 |
}, |
| 39 |
{ ATF_NOFLAGS, 0, offsetof(struct EnumVal, choice.enum_bit_str), |
| 40 |
(ASN_TAG_CLASS_CONTEXT | (16 << 2)), |
| 41 |
-1, |
| 42 |
&asn_DEF_BIT_STRING, |
| 43 |
0, |
| 44 |
0, |
| 45 |
0, |
| 46 |
"enum-bit-str" |
| 47 |
}, |
| 48 |
{ ATF_NOFLAGS, 0, offsetof(struct EnumVal, choice.enum_record), |
| 49 |
(ASN_TAG_CLASS_CONTEXT | (33 << 2)), |
| 50 |
-1, |
| 51 |
&asn_DEF_EnumRecordMetric, |
| 52 |
0, |
| 53 |
0, |
| 54 |
0, |
| 55 |
"enum-record" |
| 56 |
}, |
| 57 |
{ ATF_NOFLAGS, 0, offsetof(struct EnumVal, choice.enum_record_oo), |
| 58 |
(ASN_TAG_CLASS_CONTEXT | (34 << 2)), |
| 59 |
-1, |
| 60 |
&asn_DEF_EnumRecordOO, |
| 61 |
0, |
| 62 |
0, |
| 63 |
0, |
| 64 |
"enum-record-oo" |
| 65 |
}, |
| 66 |
}; |
| 67 |
static asn_TYPE_tag2member_t asn_MAP_EnumVal_tag2el_1[] = { |
| 68 |
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, |
| 69 |
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, |
| 70 |
{ (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 2, 0, 0 }, |
| 71 |
{ (ASN_TAG_CLASS_CONTEXT | (16 << 2)), 3, 0, 0 }, |
| 72 |
{ (ASN_TAG_CLASS_CONTEXT | (33 << 2)), 4, 0, 0 }, |
| 73 |
{ (ASN_TAG_CLASS_CONTEXT | (34 << 2)), 5, 0, 0 } |
| 74 |
}; |
| 75 |
static asn_CHOICE_specifics_t asn_SPC_EnumVal_specs_1 = { |
| 76 |
sizeof(struct EnumVal), |
| 77 |
offsetof(struct EnumVal, _asn_ctx), |
| 78 |
offsetof(struct EnumVal, present), |
| 79 |
sizeof(((struct EnumVal *)0)->present), |
| 80 |
asn_MAP_EnumVal_tag2el_1, |
| 81 |
6, |
| 82 |
0, |
| 83 |
-1 |
| 84 |
}; |
| 85 |
asn_TYPE_descriptor_t asn_DEF_EnumVal = { |
| 86 |
"EnumVal", |
| 87 |
"EnumVal", |
| 88 |
CHOICE_free, |
| 89 |
CHOICE_print, |
| 90 |
CHOICE_constraint, |
| 91 |
CHOICE_decode_ber, |
| 92 |
CHOICE_encode_der, |
| 93 |
CHOICE_decode_xer, |
| 94 |
CHOICE_encode_xer, |
| 95 |
0, 0, |
| 96 |
CHOICE_outmost_tag, |
| 97 |
0, |
| 98 |
0, |
| 99 |
0, |
| 100 |
0, |
| 101 |
0, |
| 102 |
asn_MBR_EnumVal_1, |
| 103 |
6, |
| 104 |
&asn_SPC_EnumVal_specs_1 |
| 105 |
}; |
| 106 |
|