blob: df6981865c898ace7e6ec0a6fdacc1f453629953 [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,
Lev Walkin67a30122017-08-10 05:48:54 -070040 .type_selector = 0,
Lev Walkina00d6b32006-03-21 03:40:38 +000041 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040042 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +000043 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
44 .default_value = 0,
45 .name = ""
46 },
47};
Lev Walkina7591b52014-10-12 18:37:35 -070048static const ber_tlv_tag_t asn_DEF_Collection_16P0_tags_1[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000049 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
50};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080051asn_SET_OF_specifics_t asn_SPC_Collection_16P0_specs_1 = {
Lev Walkina00d6b32006-03-21 03:40:38 +000052 sizeof(struct Collection_16P0),
53 offsetof(struct Collection_16P0, _asn_ctx),
54 0, /* XER encoding is XMLDelimitedItemList */
55};
56asn_TYPE_descriptor_t asn_DEF_Collection_16P0 = {
57 "Collection",
58 "Collection",
59 SET_OF_free,
60 SET_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -070061 SET_OF_compare,
Lev Walkina00d6b32006-03-21 03:40:38 +000062 SET_OF_constraint,
63 SET_OF_decode_ber,
64 SET_OF_encode_der,
65 SET_OF_decode_xer,
66 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -070067 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +040068 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +000069 0, /* Use generic outmost tag fetcher */
70 asn_DEF_Collection_16P0_tags_1,
71 sizeof(asn_DEF_Collection_16P0_tags_1)
72 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
73 asn_DEF_Collection_16P0_tags_1, /* Same as above */
74 sizeof(asn_DEF_Collection_16P0_tags_1)
75 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +040076 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +000077 0, /* No PER visible constraints */
78 asn_MBR_Collection_16P0_1,
79 1, /* Single element */
80 &asn_SPC_Collection_16P0_specs_1 /* Additional specs */
81};
82
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080083asn_TYPE_member_t asn_MBR_Collection_16P1_3[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000084 { ATF_POINTER, 0, 0,
85 .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
86 .tag_mode = 0,
87 .type = &asn_DEF_IA5String,
Lev Walkin67a30122017-08-10 05:48:54 -070088 .type_selector = 0,
Lev Walkina00d6b32006-03-21 03:40:38 +000089 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040090 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +000091 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
92 .default_value = 0,
93 .name = ""
94 },
95};
Lev Walkina7591b52014-10-12 18:37:35 -070096static const ber_tlv_tag_t asn_DEF_Collection_16P1_tags_3[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000097 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
98};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080099asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3 = {
Lev Walkina00d6b32006-03-21 03:40:38 +0000100 sizeof(struct Collection_16P1),
101 offsetof(struct Collection_16P1, _asn_ctx),
102 0, /* XER encoding is XMLDelimitedItemList */
103};
104asn_TYPE_descriptor_t asn_DEF_Collection_16P1 = {
105 "Collection",
106 "Collection",
107 SET_OF_free,
108 SET_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700109 SET_OF_compare,
Lev Walkina00d6b32006-03-21 03:40:38 +0000110 SET_OF_constraint,
111 SET_OF_decode_ber,
112 SET_OF_encode_der,
113 SET_OF_decode_xer,
114 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700115 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400116 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +0000117 0, /* Use generic outmost tag fetcher */
118 asn_DEF_Collection_16P1_tags_3,
119 sizeof(asn_DEF_Collection_16P1_tags_3)
120 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
121 asn_DEF_Collection_16P1_tags_3, /* Same as above */
122 sizeof(asn_DEF_Collection_16P1_tags_3)
123 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400124 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +0000125 0, /* No PER visible constraints */
126 asn_MBR_Collection_16P1_3,
127 1, /* Single element */
128 &asn_SPC_Collection_16P1_specs_3 /* Additional specs */
129};
130
131
132/*** <<< INCLUDES [Bunch] >>> ***/
133
Lev Walkin22b5ed42006-09-13 02:51:20 +0000134#include "Collection.h"
Lev Walkina00d6b32006-03-21 03:40:38 +0000135#include <constr_SEQUENCE.h>
136
137/*** <<< TYPE-DECLS [Bunch] >>> ***/
138
139typedef struct Bunch {
140 Collection_16P0_t field_REAL;
141 Collection_16P1_t field_IA5String;
142
143 /* Context for parsing across buffer boundaries */
144 asn_struct_ctx_t _asn_ctx;
145} Bunch_t;
146
147/*** <<< FUNC-DECLS [Bunch] >>> ***/
148
149extern asn_TYPE_descriptor_t asn_DEF_Bunch;
150
151/*** <<< STAT-DEFS [Bunch] >>> ***/
152
153static asn_TYPE_member_t asn_MBR_Bunch_1[] = {
154 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_REAL),
155 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
156 .tag_mode = 0,
157 .type = &asn_DEF_Collection_16P0,
Lev Walkin67a30122017-08-10 05:48:54 -0700158 .type_selector = 0,
Lev Walkina00d6b32006-03-21 03:40:38 +0000159 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400160 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +0000161 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
162 .default_value = 0,
163 .name = "field-REAL"
164 },
165 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_IA5String),
166 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
167 .tag_mode = 0,
168 .type = &asn_DEF_Collection_16P1,
Lev Walkin67a30122017-08-10 05:48:54 -0700169 .type_selector = 0,
Lev Walkina00d6b32006-03-21 03:40:38 +0000170 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400171 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +0000172 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
173 .default_value = 0,
174 .name = "field-IA5String"
175 },
176};
Lev Walkina7591b52014-10-12 18:37:35 -0700177static const ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +0000178 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
179};
Lev Walkina7591b52014-10-12 18:37:35 -0700180static const asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700181 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL */
182 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String */
Lev Walkina00d6b32006-03-21 03:40:38 +0000183};
184static asn_SEQUENCE_specifics_t asn_SPC_Bunch_specs_1 = {
185 sizeof(struct Bunch),
186 offsetof(struct Bunch, _asn_ctx),
187 asn_MAP_Bunch_tag2el_1,
188 2, /* Count of tags in the map */
189 0, 0, 0, /* Optional elements (not needed) */
190 -1, /* Start extensions */
191 -1 /* Stop extensions */
192};
193asn_TYPE_descriptor_t asn_DEF_Bunch = {
194 "Bunch",
195 "Bunch",
196 SEQUENCE_free,
197 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700198 SEQUENCE_compare,
Lev Walkina00d6b32006-03-21 03:40:38 +0000199 SEQUENCE_constraint,
200 SEQUENCE_decode_ber,
201 SEQUENCE_encode_der,
202 SEQUENCE_decode_xer,
203 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700204 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400205 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +0000206 0, /* Use generic outmost tag fetcher */
207 asn_DEF_Bunch_tags_1,
208 sizeof(asn_DEF_Bunch_tags_1)
209 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
210 asn_DEF_Bunch_tags_1, /* Same as above */
211 sizeof(asn_DEF_Bunch_tags_1)
212 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400213 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +0000214 0, /* No PER visible constraints */
215 asn_MBR_Bunch_1,
216 2, /* Elements count */
217 &asn_SPC_Bunch_specs_1 /* Additional specs */
218};
219