blob: 51308dd82c37fdf56e4c9e62a37881e83aa17ad1 [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,
Lev Walkincd2f48e2017-08-10 02:14:59 -070060 SET_OF_compare,
Lev Walkina00d6b32006-03-21 03:40:38 +000061 SET_OF_constraint,
62 SET_OF_decode_ber,
63 SET_OF_encode_der,
64 SET_OF_decode_xer,
65 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -070066 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +040067 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +000068 0, /* Use generic outmost tag fetcher */
69 asn_DEF_Collection_16P0_tags_1,
70 sizeof(asn_DEF_Collection_16P0_tags_1)
71 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
72 asn_DEF_Collection_16P0_tags_1, /* Same as above */
73 sizeof(asn_DEF_Collection_16P0_tags_1)
74 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +040075 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +000076 0, /* No PER visible constraints */
77 asn_MBR_Collection_16P0_1,
78 1, /* Single element */
79 &asn_SPC_Collection_16P0_specs_1 /* Additional specs */
80};
81
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080082asn_TYPE_member_t asn_MBR_Collection_16P1_3[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000083 { ATF_POINTER, 0, 0,
84 .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
85 .tag_mode = 0,
86 .type = &asn_DEF_IA5String,
87 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040088 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +000089 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
90 .default_value = 0,
91 .name = ""
92 },
93};
Lev Walkina7591b52014-10-12 18:37:35 -070094static const ber_tlv_tag_t asn_DEF_Collection_16P1_tags_3[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000095 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
96};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080097asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3 = {
Lev Walkina00d6b32006-03-21 03:40:38 +000098 sizeof(struct Collection_16P1),
99 offsetof(struct Collection_16P1, _asn_ctx),
100 0, /* XER encoding is XMLDelimitedItemList */
101};
102asn_TYPE_descriptor_t asn_DEF_Collection_16P1 = {
103 "Collection",
104 "Collection",
105 SET_OF_free,
106 SET_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700107 SET_OF_compare,
Lev Walkina00d6b32006-03-21 03:40:38 +0000108 SET_OF_constraint,
109 SET_OF_decode_ber,
110 SET_OF_encode_der,
111 SET_OF_decode_xer,
112 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700113 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400114 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +0000115 0, /* Use generic outmost tag fetcher */
116 asn_DEF_Collection_16P1_tags_3,
117 sizeof(asn_DEF_Collection_16P1_tags_3)
118 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
119 asn_DEF_Collection_16P1_tags_3, /* Same as above */
120 sizeof(asn_DEF_Collection_16P1_tags_3)
121 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400122 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +0000123 0, /* No PER visible constraints */
124 asn_MBR_Collection_16P1_3,
125 1, /* Single element */
126 &asn_SPC_Collection_16P1_specs_3 /* Additional specs */
127};
128
129
130/*** <<< INCLUDES [Bunch] >>> ***/
131
Lev Walkin22b5ed42006-09-13 02:51:20 +0000132#include "Collection.h"
Lev Walkina00d6b32006-03-21 03:40:38 +0000133#include <constr_SEQUENCE.h>
134
135/*** <<< TYPE-DECLS [Bunch] >>> ***/
136
137typedef struct Bunch {
138 Collection_16P0_t field_REAL;
139 Collection_16P1_t field_IA5String;
140
141 /* Context for parsing across buffer boundaries */
142 asn_struct_ctx_t _asn_ctx;
143} Bunch_t;
144
145/*** <<< FUNC-DECLS [Bunch] >>> ***/
146
147extern asn_TYPE_descriptor_t asn_DEF_Bunch;
148
149/*** <<< STAT-DEFS [Bunch] >>> ***/
150
151static asn_TYPE_member_t asn_MBR_Bunch_1[] = {
152 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_REAL),
153 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
154 .tag_mode = 0,
155 .type = &asn_DEF_Collection_16P0,
156 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400157 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +0000158 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
159 .default_value = 0,
160 .name = "field-REAL"
161 },
162 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_IA5String),
163 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
164 .tag_mode = 0,
165 .type = &asn_DEF_Collection_16P1,
166 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400167 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +0000168 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
169 .default_value = 0,
170 .name = "field-IA5String"
171 },
172};
Lev Walkina7591b52014-10-12 18:37:35 -0700173static const ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +0000174 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
175};
Lev Walkina7591b52014-10-12 18:37:35 -0700176static const asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700177 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL */
178 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String */
Lev Walkina00d6b32006-03-21 03:40:38 +0000179};
180static asn_SEQUENCE_specifics_t asn_SPC_Bunch_specs_1 = {
181 sizeof(struct Bunch),
182 offsetof(struct Bunch, _asn_ctx),
183 asn_MAP_Bunch_tag2el_1,
184 2, /* Count of tags in the map */
185 0, 0, 0, /* Optional elements (not needed) */
186 -1, /* Start extensions */
187 -1 /* Stop extensions */
188};
189asn_TYPE_descriptor_t asn_DEF_Bunch = {
190 "Bunch",
191 "Bunch",
192 SEQUENCE_free,
193 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700194 SEQUENCE_compare,
Lev Walkina00d6b32006-03-21 03:40:38 +0000195 SEQUENCE_constraint,
196 SEQUENCE_decode_ber,
197 SEQUENCE_encode_der,
198 SEQUENCE_decode_xer,
199 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700200 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400201 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +0000202 0, /* Use generic outmost tag fetcher */
203 asn_DEF_Bunch_tags_1,
204 sizeof(asn_DEF_Bunch_tags_1)
205 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
206 asn_DEF_Bunch_tags_1, /* Same as above */
207 sizeof(asn_DEF_Bunch_tags_1)
208 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400209 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +0000210 0, /* No PER visible constraints */
211 asn_MBR_Bunch_1,
212 2, /* Elements count */
213 &asn_SPC_Bunch_specs_1 /* Additional specs */
214};
215