blob: c2abeed7bac460f9505d99532448180e5ab162e9 [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",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080059 &asn_OP_SET_OF,
Lev Walkina00d6b32006-03-21 03:40:38 +000060 SET_OF_constraint,
Lev Walkina00d6b32006-03-21 03:40:38 +000061 asn_DEF_Collection_16P0_tags_1,
62 sizeof(asn_DEF_Collection_16P0_tags_1)
63 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
64 asn_DEF_Collection_16P0_tags_1, /* Same as above */
65 sizeof(asn_DEF_Collection_16P0_tags_1)
66 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +040067 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +000068 0, /* No PER visible constraints */
69 asn_MBR_Collection_16P0_1,
70 1, /* Single element */
71 &asn_SPC_Collection_16P0_specs_1 /* Additional specs */
72};
73
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080074asn_TYPE_member_t asn_MBR_Collection_16P1_3[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000075 { ATF_POINTER, 0, 0,
76 .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
77 .tag_mode = 0,
78 .type = &asn_DEF_IA5String,
Lev Walkin67a30122017-08-10 05:48:54 -070079 .type_selector = 0,
Lev Walkina00d6b32006-03-21 03:40:38 +000080 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040081 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +000082 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
83 .default_value = 0,
84 .name = ""
85 },
86};
Lev Walkina7591b52014-10-12 18:37:35 -070087static const ber_tlv_tag_t asn_DEF_Collection_16P1_tags_3[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000088 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
89};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080090asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3 = {
Lev Walkina00d6b32006-03-21 03:40:38 +000091 sizeof(struct Collection_16P1),
92 offsetof(struct Collection_16P1, _asn_ctx),
93 0, /* XER encoding is XMLDelimitedItemList */
94};
95asn_TYPE_descriptor_t asn_DEF_Collection_16P1 = {
96 "Collection",
97 "Collection",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080098 &asn_OP_SET_OF,
Lev Walkina00d6b32006-03-21 03:40:38 +000099 SET_OF_constraint,
Lev Walkina00d6b32006-03-21 03:40:38 +0000100 asn_DEF_Collection_16P1_tags_3,
101 sizeof(asn_DEF_Collection_16P1_tags_3)
102 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
103 asn_DEF_Collection_16P1_tags_3, /* Same as above */
104 sizeof(asn_DEF_Collection_16P1_tags_3)
105 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400106 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +0000107 0, /* No PER visible constraints */
108 asn_MBR_Collection_16P1_3,
109 1, /* Single element */
110 &asn_SPC_Collection_16P1_specs_3 /* Additional specs */
111};
112
113
114/*** <<< INCLUDES [Bunch] >>> ***/
115
Lev Walkin22b5ed42006-09-13 02:51:20 +0000116#include "Collection.h"
Lev Walkina00d6b32006-03-21 03:40:38 +0000117#include <constr_SEQUENCE.h>
118
119/*** <<< TYPE-DECLS [Bunch] >>> ***/
120
121typedef struct Bunch {
122 Collection_16P0_t field_REAL;
123 Collection_16P1_t field_IA5String;
124
125 /* Context for parsing across buffer boundaries */
126 asn_struct_ctx_t _asn_ctx;
127} Bunch_t;
128
129/*** <<< FUNC-DECLS [Bunch] >>> ***/
130
131extern asn_TYPE_descriptor_t asn_DEF_Bunch;
132
133/*** <<< STAT-DEFS [Bunch] >>> ***/
134
135static asn_TYPE_member_t asn_MBR_Bunch_1[] = {
136 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_REAL),
137 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
138 .tag_mode = 0,
139 .type = &asn_DEF_Collection_16P0,
Lev Walkin67a30122017-08-10 05:48:54 -0700140 .type_selector = 0,
Lev Walkina00d6b32006-03-21 03:40:38 +0000141 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400142 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +0000143 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
144 .default_value = 0,
145 .name = "field-REAL"
146 },
147 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_IA5String),
148 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
149 .tag_mode = 0,
150 .type = &asn_DEF_Collection_16P1,
Lev Walkin67a30122017-08-10 05:48:54 -0700151 .type_selector = 0,
Lev Walkina00d6b32006-03-21 03:40:38 +0000152 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400153 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkina00d6b32006-03-21 03:40:38 +0000154 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
155 .default_value = 0,
156 .name = "field-IA5String"
157 },
158};
Lev Walkina7591b52014-10-12 18:37:35 -0700159static const ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +0000160 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
161};
Lev Walkina7591b52014-10-12 18:37:35 -0700162static const asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700163 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL */
164 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String */
Lev Walkina00d6b32006-03-21 03:40:38 +0000165};
166static asn_SEQUENCE_specifics_t asn_SPC_Bunch_specs_1 = {
167 sizeof(struct Bunch),
168 offsetof(struct Bunch, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700169 .tag2el = asn_MAP_Bunch_tag2el_1,
170 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkina00d6b32006-03-21 03:40:38 +0000171 0, 0, 0, /* Optional elements (not needed) */
172 -1, /* Start extensions */
173 -1 /* Stop extensions */
174};
175asn_TYPE_descriptor_t asn_DEF_Bunch = {
176 "Bunch",
177 "Bunch",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800178 &asn_OP_SEQUENCE,
Lev Walkina00d6b32006-03-21 03:40:38 +0000179 SEQUENCE_constraint,
Lev Walkina00d6b32006-03-21 03:40:38 +0000180 asn_DEF_Bunch_tags_1,
181 sizeof(asn_DEF_Bunch_tags_1)
182 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
183 asn_DEF_Bunch_tags_1, /* Same as above */
184 sizeof(asn_DEF_Bunch_tags_1)
185 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400186 0, /* No OER visible constraints */
Lev Walkina00d6b32006-03-21 03:40:38 +0000187 0, /* No PER visible constraints */
188 asn_MBR_Bunch_1,
189 2, /* Elements count */
190 &asn_SPC_Bunch_specs_1 /* Additional specs */
191};
192