blob: a806cd31affe4d118a97aa488af51a045e57f79d [file] [log] [blame]
Lev Walkina00d6b32006-03-21 03:40:38 +00001
2/*** <<< INCLUDES [Collection] >>> ***/
3
4#include <REAL.h>
5#include <asn_SET_OF.h>
6#include <constr_SET_OF.h>
7#include <IA5String.h>
8
9/*** <<< TYPE-DECLS [Collection] >>> ***/
10
11typedef struct Collection_16P0 {
12 A_SET_OF(REAL_t) list;
13
14 /* Context for parsing across buffer boundaries */
15 asn_struct_ctx_t _asn_ctx;
16} Collection_16P0_t;
17typedef struct Collection_16P1 {
18 A_SET_OF(IA5String_t) list;
19
20 /* Context for parsing across buffer boundaries */
21 asn_struct_ctx_t _asn_ctx;
22} Collection_16P1_t;
23
24/*** <<< FUNC-DECLS [Collection] >>> ***/
25
26extern asn_TYPE_descriptor_t asn_DEF_Collection_16P0;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080027extern asn_SET_OF_specifics_t asn_SPC_Collection_16P0_specs_1;
28extern asn_TYPE_member_t asn_MBR_Collection_16P0_1[1];
Lev Walkina00d6b32006-03-21 03:40:38 +000029extern asn_TYPE_descriptor_t asn_DEF_Collection_16P1;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080030extern asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3;
31extern asn_TYPE_member_t asn_MBR_Collection_16P1_3[1];
Lev Walkina00d6b32006-03-21 03:40:38 +000032
33/*** <<< STAT-DEFS [Collection] >>> ***/
34
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080035asn_TYPE_member_t asn_MBR_Collection_16P0_1[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000036 { ATF_POINTER, 0, 0,
37 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
38 .tag_mode = 0,
39 .type = &asn_DEF_REAL,
40 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040041 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +000042 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
43 .default_value = 0,
44 .name = ""
45 },
46};
Lev Walkina7591b52014-10-12 18:37:35 -070047static const ber_tlv_tag_t asn_DEF_Collection_16P0_tags_1[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000048 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
49};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080050asn_SET_OF_specifics_t asn_SPC_Collection_16P0_specs_1 = {
Lev Walkina00d6b32006-03-21 03:40:38 +000051 sizeof(struct Collection_16P0),
52 offsetof(struct Collection_16P0, _asn_ctx),
53 0, /* XER encoding is XMLDelimitedItemList */
54};
55asn_TYPE_descriptor_t asn_DEF_Collection_16P0 = {
56 "Collection",
57 "Collection",
58 SET_OF_free,
59 SET_OF_print,
60 SET_OF_constraint,
61 SET_OF_decode_ber,
62 SET_OF_encode_der,
63 SET_OF_decode_xer,
64 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -070065 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +040066 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +000067 0, /* Use generic outmost tag fetcher */
68 asn_DEF_Collection_16P0_tags_1,
69 sizeof(asn_DEF_Collection_16P0_tags_1)
70 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
71 asn_DEF_Collection_16P0_tags_1, /* Same as above */
72 sizeof(asn_DEF_Collection_16P0_tags_1)
73 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +040074 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +000075 0, /* No PER visible constraints */
76 asn_MBR_Collection_16P0_1,
77 1, /* Single element */
78 &asn_SPC_Collection_16P0_specs_1 /* Additional specs */
79};
80
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080081asn_TYPE_member_t asn_MBR_Collection_16P1_3[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000082 { ATF_POINTER, 0, 0,
83 .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
84 .tag_mode = 0,
85 .type = &asn_DEF_IA5String,
86 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040087 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +000088 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
89 .default_value = 0,
90 .name = ""
91 },
92};
Lev Walkina7591b52014-10-12 18:37:35 -070093static const ber_tlv_tag_t asn_DEF_Collection_16P1_tags_3[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000094 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
95};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080096asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3 = {
Lev Walkina00d6b32006-03-21 03:40:38 +000097 sizeof(struct Collection_16P1),
98 offsetof(struct Collection_16P1, _asn_ctx),
99 0, /* XER encoding is XMLDelimitedItemList */
100};
101asn_TYPE_descriptor_t asn_DEF_Collection_16P1 = {
102 "Collection",
103 "Collection",
104 SET_OF_free,
105 SET_OF_print,
106 SET_OF_constraint,
107 SET_OF_decode_ber,
108 SET_OF_encode_der,
109 SET_OF_decode_xer,
110 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700111 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400112 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +0000113 0, /* Use generic outmost tag fetcher */
114 asn_DEF_Collection_16P1_tags_3,
115 sizeof(asn_DEF_Collection_16P1_tags_3)
116 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
117 asn_DEF_Collection_16P1_tags_3, /* Same as above */
118 sizeof(asn_DEF_Collection_16P1_tags_3)
119 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400120 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +0000121 0, /* No PER visible constraints */
122 asn_MBR_Collection_16P1_3,
123 1, /* Single element */
124 &asn_SPC_Collection_16P1_specs_3 /* Additional specs */
125};
126
127
128/*** <<< INCLUDES [Bunch] >>> ***/
129
Lev Walkin22b5ed42006-09-13 02:51:20 +0000130#include "Collection.h"
Lev Walkina00d6b32006-03-21 03:40:38 +0000131#include <constr_SEQUENCE.h>
132
133/*** <<< TYPE-DECLS [Bunch] >>> ***/
134
135typedef struct Bunch {
136 Collection_16P0_t field_REAL;
137 Collection_16P1_t field_IA5String;
138
139 /* Context for parsing across buffer boundaries */
140 asn_struct_ctx_t _asn_ctx;
141} Bunch_t;
142
143/*** <<< FUNC-DECLS [Bunch] >>> ***/
144
145extern asn_TYPE_descriptor_t asn_DEF_Bunch;
146
147/*** <<< STAT-DEFS [Bunch] >>> ***/
148
149static asn_TYPE_member_t asn_MBR_Bunch_1[] = {
150 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_REAL),
151 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
152 .tag_mode = 0,
153 .type = &asn_DEF_Collection_16P0,
154 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400155 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +0000156 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
157 .default_value = 0,
158 .name = "field-REAL"
159 },
160 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_IA5String),
161 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
162 .tag_mode = 0,
163 .type = &asn_DEF_Collection_16P1,
164 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400165 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +0000166 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
167 .default_value = 0,
168 .name = "field-IA5String"
169 },
170};
Lev Walkina7591b52014-10-12 18:37:35 -0700171static const ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +0000172 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
173};
Lev Walkina7591b52014-10-12 18:37:35 -0700174static const asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700175 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL */
176 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String */
Lev Walkina00d6b32006-03-21 03:40:38 +0000177};
178static asn_SEQUENCE_specifics_t asn_SPC_Bunch_specs_1 = {
179 sizeof(struct Bunch),
180 offsetof(struct Bunch, _asn_ctx),
181 asn_MAP_Bunch_tag2el_1,
182 2, /* Count of tags in the map */
183 0, 0, 0, /* Optional elements (not needed) */
184 -1, /* Start extensions */
185 -1 /* Stop extensions */
186};
187asn_TYPE_descriptor_t asn_DEF_Bunch = {
188 "Bunch",
189 "Bunch",
190 SEQUENCE_free,
191 SEQUENCE_print,
192 SEQUENCE_constraint,
193 SEQUENCE_decode_ber,
194 SEQUENCE_encode_der,
195 SEQUENCE_decode_xer,
196 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700197 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400198 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +0000199 0, /* Use generic outmost tag fetcher */
200 asn_DEF_Bunch_tags_1,
201 sizeof(asn_DEF_Bunch_tags_1)
202 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
203 asn_DEF_Bunch_tags_1, /* Same as above */
204 sizeof(asn_DEF_Bunch_tags_1)
205 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400206 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +0000207 0, /* No PER visible constraints */
208 asn_MBR_Bunch_1,
209 2, /* Elements count */
210 &asn_SPC_Bunch_specs_1 /* Additional specs */
211};
212