Debian Codegraph @

biosig4c++/t240/ChoiceOfEnumTimeStamp.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 "ChoiceOfEnumTimeStamp.h"
10
11 static asn_TYPE_member_t asn_MBR_absolutetimestamparray_3[] = {
12 { ATF_POINTER, 0, 0,
13 (ASN_TAG_CLASS_UNIVERSAL | (24 << 2)),
14 0,
15 &asn_DEF_AbsoluteTime,
16 0, /* Defer constraints checking to the member type */
17 0, /* PER is not compiled, use -gen-PER */
18 0,
19 ""
20 },
21 };
22 static ber_tlv_tag_t asn_DEF_absolutetimestamparray_tags_3[] = {
23 (ASN_TAG_CLASS_APPLICATION | (6042 << 2)),
24 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
25 };
26 static asn_SET_OF_specifics_t asn_SPC_absolutetimestamparray_specs_3 = {
27 sizeof(struct ChoiceOfEnumTimeStamp__absolutetimestamparray),
28 offsetof(struct ChoiceOfEnumTimeStamp__absolutetimestamparray, _asn_ctx),
29 0, /* XER encoding is XMLDelimitedItemList */
30 };
31 static /* Use -fall-defs-global to expose */
32 asn_TYPE_descriptor_t asn_DEF_absolutetimestamparray_3 = {
33 "absolutetimestamparray",
34 "absolutetimestamparray",
35 SEQUENCE_OF_free,
36 SEQUENCE_OF_print,
37 SEQUENCE_OF_constraint,
38 SEQUENCE_OF_decode_ber,
39 SEQUENCE_OF_encode_der,
40 SEQUENCE_OF_decode_xer,
41 SEQUENCE_OF_encode_xer,
42 0, 0, /* No PER support, use "-gen-PER" to enable */
43 0, /* Use generic outmost tag fetcher */
44 asn_DEF_absolutetimestamparray_tags_3,
45 sizeof(asn_DEF_absolutetimestamparray_tags_3)
46 /sizeof(asn_DEF_absolutetimestamparray_tags_3[0]) - 1, /* 1 */
47 asn_DEF_absolutetimestamparray_tags_3, /* Same as above */
48 sizeof(asn_DEF_absolutetimestamparray_tags_3)
49 /sizeof(asn_DEF_absolutetimestamparray_tags_3[0]), /* 2 */
50 0, /* No PER visible constraints */
51 asn_MBR_absolutetimestamparray_3,
52 1, /* Single element */
53 &asn_SPC_absolutetimestamparray_specs_3 /* Additional specs */
54 };
55
56 static asn_TYPE_member_t asn_MBR_relativetimestamparray_5[] = {
57 { ATF_POINTER, 0, 0,
58 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
59 0,
60 &asn_DEF_RelativeTime,
61 0, /* Defer constraints checking to the member type */
62 0, /* PER is not compiled, use -gen-PER */
63 0,
64 ""
65 },
66 };
67 static ber_tlv_tag_t asn_DEF_relativetimestamparray_tags_5[] = {
68 (ASN_TAG_CLASS_APPLICATION | (6043 << 2)),
69 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
70 };
71 static asn_SET_OF_specifics_t asn_SPC_relativetimestamparray_specs_5 = {
72 sizeof(struct ChoiceOfEnumTimeStamp__relativetimestamparray),
73 offsetof(struct ChoiceOfEnumTimeStamp__relativetimestamparray, _asn_ctx),
74 0, /* XER encoding is XMLDelimitedItemList */
75 };
76 static /* Use -fall-defs-global to expose */
77 asn_TYPE_descriptor_t asn_DEF_relativetimestamparray_5 = {
78 "relativetimestamparray",
79 "relativetimestamparray",
80 SEQUENCE_OF_free,
81 SEQUENCE_OF_print,
82 SEQUENCE_OF_constraint,
83 SEQUENCE_OF_decode_ber,
84 SEQUENCE_OF_encode_der,
85 SEQUENCE_OF_decode_xer,
86 SEQUENCE_OF_encode_xer,
87 0, 0, /* No PER support, use "-gen-PER" to enable */
88 0, /* Use generic outmost tag fetcher */
89 asn_DEF_relativetimestamparray_tags_5,
90 sizeof(asn_DEF_relativetimestamparray_tags_5)
91 /sizeof(asn_DEF_relativetimestamparray_tags_5[0]) - 1, /* 1 */
92 asn_DEF_relativetimestamparray_tags_5, /* Same as above */
93 sizeof(asn_DEF_relativetimestamparray_tags_5)
94 /sizeof(asn_DEF_relativetimestamparray_tags_5[0]), /* 2 */
95 0, /* No PER visible constraints */
96 asn_MBR_relativetimestamparray_5,
97 1, /* Single element */
98 &asn_SPC_relativetimestamparray_specs_5 /* Additional specs */
99 };
100
101 static asn_TYPE_member_t asn_MBR_hirestimestamparray_7[] = {
102 { ATF_POINTER, 0, 0,
103 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
104 0,
105 &asn_DEF_HighResRelativeTime,
106 0, /* Defer constraints checking to the member type */
107 0, /* PER is not compiled, use -gen-PER */
108 0,
109 ""
110 },
111 };
112 static ber_tlv_tag_t asn_DEF_hirestimestamparray_tags_7[] = {
113 (ASN_TAG_CLASS_APPLICATION | (6044 << 2)),
114 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
115 };
116 static asn_SET_OF_specifics_t asn_SPC_hirestimestamparray_specs_7 = {
117 sizeof(struct ChoiceOfEnumTimeStamp__hirestimestamparray),
118 offsetof(struct ChoiceOfEnumTimeStamp__hirestimestamparray, _asn_ctx),
119 0, /* XER encoding is XMLDelimitedItemList */
120 };
121 static /* Use -fall-defs-global to expose */
122 asn_TYPE_descriptor_t asn_DEF_hirestimestamparray_7 = {
123 "hirestimestamparray",
124 "hirestimestamparray",
125 SEQUENCE_OF_free,
126 SEQUENCE_OF_print,
127 SEQUENCE_OF_constraint,
128 SEQUENCE_OF_decode_ber,
129 SEQUENCE_OF_encode_der,
130 SEQUENCE_OF_decode_xer,
131 SEQUENCE_OF_encode_xer,
132 0, 0, /* No PER support, use "-gen-PER" to enable */
133 0, /* Use generic outmost tag fetcher */
134 asn_DEF_hirestimestamparray_tags_7,
135 sizeof(asn_DEF_hirestimestamparray_tags_7)
136 /sizeof(asn_DEF_hirestimestamparray_tags_7[0]) - 1, /* 1 */
137 asn_DEF_hirestimestamparray_tags_7, /* Same as above */
138 sizeof(asn_DEF_hirestimestamparray_tags_7)
139 /sizeof(asn_DEF_hirestimestamparray_tags_7[0]), /* 2 */
140 0, /* No PER visible constraints */
141 asn_MBR_hirestimestamparray_7,
142 1, /* Single element */
143 &asn_SPC_hirestimestamparray_specs_7 /* Additional specs */
144 };
145
146 static asn_TYPE_member_t asn_MBR_ChoiceOfEnumTimeStamp_1[] = {
147 { ATF_NOFLAGS, 0, offsetof(struct ChoiceOfEnumTimeStamp, choice.timestamp),
148 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
149 0,
150 &asn_DEF_ObservationTime,
151 0, /* Defer constraints checking to the member type */
152 0, /* PER is not compiled, use -gen-PER */
153 0,
154 "timestamp"
155 },
156 { ATF_NOFLAGS, 0, offsetof(struct ChoiceOfEnumTimeStamp, choice.absolutetimestamparray),
157 (ASN_TAG_CLASS_APPLICATION | (6042 << 2)),
158 -1, /* IMPLICIT tag at current level */
159 &asn_DEF_absolutetimestamparray_3,
160 0, /* Defer constraints checking to the member type */
161 0, /* PER is not compiled, use -gen-PER */
162 0,
163 "absolutetimestamparray"
164 },
165 { ATF_NOFLAGS, 0, offsetof(struct ChoiceOfEnumTimeStamp, choice.relativetimestamparray),
166 (ASN_TAG_CLASS_APPLICATION | (6043 << 2)),
167 -1, /* IMPLICIT tag at current level */
168 &asn_DEF_relativetimestamparray_5,
169 0, /* Defer constraints checking to the member type */
170 0, /* PER is not compiled, use -gen-PER */
171 0,
172 "relativetimestamparray"
173 },
174 { ATF_NOFLAGS, 0, offsetof(struct ChoiceOfEnumTimeStamp, choice.hirestimestamparray),
175 (ASN_TAG_CLASS_APPLICATION | (6044 << 2)),
176 -1, /* IMPLICIT tag at current level */
177 &asn_DEF_hirestimestamparray_7,
178 0, /* Defer constraints checking to the member type */
179 0, /* PER is not compiled, use -gen-PER */
180 0,
181 "hirestimestamparray"
182 },
183 };
184 static asn_TYPE_tag2member_t asn_MAP_ChoiceOfEnumTimeStamp_tag2el_1[] = {
185 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* timestamp at 1367 */
186 { (ASN_TAG_CLASS_APPLICATION | (6042 << 2)), 1, 0, 0 }, /* absolutetimestamparray at 1368 */
187 { (ASN_TAG_CLASS_APPLICATION | (6043 << 2)), 2, 0, 0 }, /* relativetimestamparray at 1369 */
188 { (ASN_TAG_CLASS_APPLICATION | (6044 << 2)), 3, 0, 0 } /* hirestimestamparray at 1371 */
189 };
190 static asn_CHOICE_specifics_t asn_SPC_ChoiceOfEnumTimeStamp_specs_1 = {
191 sizeof(struct ChoiceOfEnumTimeStamp),
192 offsetof(struct ChoiceOfEnumTimeStamp, _asn_ctx),
193 offsetof(struct ChoiceOfEnumTimeStamp, present),
194 sizeof(((struct ChoiceOfEnumTimeStamp *)0)->present),
195 asn_MAP_ChoiceOfEnumTimeStamp_tag2el_1,
196 4, /* Count of tags in the map */
197 0,
198 -1 /* Extensions start */
199 };
200 asn_TYPE_descriptor_t asn_DEF_ChoiceOfEnumTimeStamp = {
201 "ChoiceOfEnumTimeStamp",
202 "ChoiceOfEnumTimeStamp",
203 CHOICE_free,
204 CHOICE_print,
205 CHOICE_constraint,
206 CHOICE_decode_ber,
207 CHOICE_encode_der,
208 CHOICE_decode_xer,
209 CHOICE_encode_xer,
210 0, 0, /* No PER support, use "-gen-PER" to enable */
211 CHOICE_outmost_tag,
212 0, /* No effective tags (pointer) */
213 0, /* No effective tags (count) */
214 0, /* No tags (pointer) */
215 0, /* No tags (count) */
216 0, /* No PER visible constraints */
217 asn_MBR_ChoiceOfEnumTimeStamp_1,
218 4, /* Elements count */
219 &asn_SPC_ChoiceOfEnumTimeStamp_specs_1 /* Additional specs */
220 };
221