blob: 1b9d60cc4507bcf23434b94c3c30a33911d72b6c [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;
27extern asn_TYPE_descriptor_t asn_DEF_Collection_16P1;
28
29/*** <<< STAT-DEFS [Collection] >>> ***/
30
31static asn_TYPE_member_t asn_MBR_Collection_16P0_1[] = {
32 { ATF_POINTER, 0, 0,
33 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
34 .tag_mode = 0,
35 .type = &asn_DEF_REAL,
36 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040037 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +000038 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
39 .default_value = 0,
40 .name = ""
41 },
42};
Lev Walkina7591b52014-10-12 18:37:35 -070043static const ber_tlv_tag_t asn_DEF_Collection_16P0_tags_1[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000044 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
45};
46static asn_SET_OF_specifics_t asn_SPC_Collection_16P0_specs_1 = {
47 sizeof(struct Collection_16P0),
48 offsetof(struct Collection_16P0, _asn_ctx),
49 0, /* XER encoding is XMLDelimitedItemList */
50};
51asn_TYPE_descriptor_t asn_DEF_Collection_16P0 = {
52 "Collection",
53 "Collection",
54 SET_OF_free,
55 SET_OF_print,
56 SET_OF_constraint,
57 SET_OF_decode_ber,
58 SET_OF_encode_der,
59 SET_OF_decode_xer,
60 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -070061 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +040062 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +000063 0, /* Use generic outmost tag fetcher */
64 asn_DEF_Collection_16P0_tags_1,
65 sizeof(asn_DEF_Collection_16P0_tags_1)
66 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
67 asn_DEF_Collection_16P0_tags_1, /* Same as above */
68 sizeof(asn_DEF_Collection_16P0_tags_1)
69 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +040070 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +000071 0, /* No PER visible constraints */
72 asn_MBR_Collection_16P0_1,
73 1, /* Single element */
74 &asn_SPC_Collection_16P0_specs_1 /* Additional specs */
75};
76
77static asn_TYPE_member_t asn_MBR_Collection_16P1_3[] = {
78 { ATF_POINTER, 0, 0,
79 .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
80 .tag_mode = 0,
81 .type = &asn_DEF_IA5String,
82 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040083 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +000084 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
85 .default_value = 0,
86 .name = ""
87 },
88};
Lev Walkina7591b52014-10-12 18:37:35 -070089static const ber_tlv_tag_t asn_DEF_Collection_16P1_tags_3[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000090 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
91};
92static asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3 = {
93 sizeof(struct Collection_16P1),
94 offsetof(struct Collection_16P1, _asn_ctx),
95 0, /* XER encoding is XMLDelimitedItemList */
96};
97asn_TYPE_descriptor_t asn_DEF_Collection_16P1 = {
98 "Collection",
99 "Collection",
100 SET_OF_free,
101 SET_OF_print,
102 SET_OF_constraint,
103 SET_OF_decode_ber,
104 SET_OF_encode_der,
105 SET_OF_decode_xer,
106 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700107 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400108 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +0000109 0, /* Use generic outmost tag fetcher */
110 asn_DEF_Collection_16P1_tags_3,
111 sizeof(asn_DEF_Collection_16P1_tags_3)
112 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
113 asn_DEF_Collection_16P1_tags_3, /* Same as above */
114 sizeof(asn_DEF_Collection_16P1_tags_3)
115 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400116 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +0000117 0, /* No PER visible constraints */
118 asn_MBR_Collection_16P1_3,
119 1, /* Single element */
120 &asn_SPC_Collection_16P1_specs_3 /* Additional specs */
121};
122
123
124/*** <<< INCLUDES [Bunch] >>> ***/
125
Lev Walkin22b5ed42006-09-13 02:51:20 +0000126#include "Collection.h"
Lev Walkina00d6b32006-03-21 03:40:38 +0000127#include <constr_SEQUENCE.h>
128
129/*** <<< TYPE-DECLS [Bunch] >>> ***/
130
131typedef struct Bunch {
132 Collection_16P0_t field_REAL;
133 Collection_16P1_t field_IA5String;
134
135 /* Context for parsing across buffer boundaries */
136 asn_struct_ctx_t _asn_ctx;
137} Bunch_t;
138
139/*** <<< FUNC-DECLS [Bunch] >>> ***/
140
141extern asn_TYPE_descriptor_t asn_DEF_Bunch;
142
143/*** <<< STAT-DEFS [Bunch] >>> ***/
144
145static asn_TYPE_member_t asn_MBR_Bunch_1[] = {
146 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_REAL),
147 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
148 .tag_mode = 0,
149 .type = &asn_DEF_Collection_16P0,
150 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400151 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +0000152 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
153 .default_value = 0,
154 .name = "field-REAL"
155 },
156 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_IA5String),
157 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
158 .tag_mode = 0,
159 .type = &asn_DEF_Collection_16P1,
160 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400161 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +0000162 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
163 .default_value = 0,
164 .name = "field-IA5String"
165 },
166};
Lev Walkina7591b52014-10-12 18:37:35 -0700167static const ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +0000168 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
169};
Lev Walkina7591b52014-10-12 18:37:35 -0700170static const asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700171 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL */
172 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String */
Lev Walkina00d6b32006-03-21 03:40:38 +0000173};
174static asn_SEQUENCE_specifics_t asn_SPC_Bunch_specs_1 = {
175 sizeof(struct Bunch),
176 offsetof(struct Bunch, _asn_ctx),
177 asn_MAP_Bunch_tag2el_1,
178 2, /* Count of tags in the map */
179 0, 0, 0, /* Optional elements (not needed) */
180 -1, /* Start extensions */
181 -1 /* Stop extensions */
182};
183asn_TYPE_descriptor_t asn_DEF_Bunch = {
184 "Bunch",
185 "Bunch",
186 SEQUENCE_free,
187 SEQUENCE_print,
188 SEQUENCE_constraint,
189 SEQUENCE_decode_ber,
190 SEQUENCE_encode_der,
191 SEQUENCE_decode_xer,
192 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700193 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400194 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina00d6b32006-03-21 03:40:38 +0000195 0, /* Use generic outmost tag fetcher */
196 asn_DEF_Bunch_tags_1,
197 sizeof(asn_DEF_Bunch_tags_1)
198 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
199 asn_DEF_Bunch_tags_1, /* Same as above */
200 sizeof(asn_DEF_Bunch_tags_1)
201 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400202 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +0000203 0, /* No PER visible constraints */
204 asn_MBR_Bunch_1,
205 2, /* Elements count */
206 &asn_SPC_Bunch_specs_1 /* Additional specs */
207};
208