Debian Codegraph @

biosig4c++/t240/EnumVal.c

raw symbols SCIP
1 /*
2 * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
3 * From ASN.1 module "FEF-IntermediateDraft"
4 * found in "../annexb-snacc-122001.asn1"
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, /* IMPLICIT tag at current level */
15 &asn_DEF_EnumObject,
16 0, /* Defer constraints checking to the member type */
17 0, /* PER is not compiled, use -gen-PER */
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, /* IMPLICIT tag at current level */
24 &asn_DEF_FEFString,
25 0, /* Defer constraints checking to the member type */
26 0, /* PER is not compiled, use -gen-PER */
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, /* IMPLICIT tag at current level */
33 &asn_DEF_ExtNomenRef,
34 0, /* Defer constraints checking to the member type */
35 0, /* PER is not compiled, use -gen-PER */
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, /* IMPLICIT tag at current level */
42 &asn_DEF_BIT_STRING,
43 0, /* Defer constraints checking to the member type */
44 0, /* PER is not compiled, use -gen-PER */
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, /* IMPLICIT tag at current level */
51 &asn_DEF_EnumRecordMetric,
52 0, /* Defer constraints checking to the member type */
53 0, /* PER is not compiled, use -gen-PER */
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, /* IMPLICIT tag at current level */
60 &asn_DEF_EnumRecordOO,
61 0, /* Defer constraints checking to the member type */
62 0, /* PER is not compiled, use -gen-PER */
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 }, /* enum-obj-id at 1340 */
69 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* enum-text-string at 1341 */
70 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 2, 0, 0 }, /* enum-external-code at 1342 */
71 { (ASN_TAG_CLASS_CONTEXT | (16 << 2)), 3, 0, 0 }, /* enum-bit-str at 1343 */
72 { (ASN_TAG_CLASS_CONTEXT | (33 << 2)), 4, 0, 0 }, /* enum-record at 1344 */
73 { (ASN_TAG_CLASS_CONTEXT | (34 << 2)), 5, 0, 0 } /* enum-record-oo at 1346 */
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, /* Count of tags in the map */
82 0,
83 -1 /* Extensions start */
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, /* No PER support, use "-gen-PER" to enable */
96 CHOICE_outmost_tag,
97 0, /* No effective tags (pointer) */
98 0, /* No effective tags (count) */
99 0, /* No tags (pointer) */
100 0, /* No tags (count) */
101 0, /* No PER visible constraints */
102 asn_MBR_EnumVal_1,
103 6, /* Elements count */
104 &asn_SPC_EnumVal_specs_1 /* Additional specs */
105 };
106