blob: c5b7465d594260be94dc8e113c06840cc119021e [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 Walkin0bfea562017-09-29 23:16:48 -070041 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -070042 0, 0, /* No default value */
Lev Walkina00d6b32006-03-21 03:40:38 +000043 .name = ""
44 },
45};
Lev Walkina7591b52014-10-12 18:37:35 -070046static const ber_tlv_tag_t asn_DEF_Collection_16P0_tags_1[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000047 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
48};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080049asn_SET_OF_specifics_t asn_SPC_Collection_16P0_specs_1 = {
Lev Walkina00d6b32006-03-21 03:40:38 +000050 sizeof(struct Collection_16P0),
51 offsetof(struct Collection_16P0, _asn_ctx),
52 0, /* XER encoding is XMLDelimitedItemList */
53};
54asn_TYPE_descriptor_t asn_DEF_Collection_16P0 = {
55 "Collection",
56 "Collection",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080057 &asn_OP_SET_OF,
Lev Walkina00d6b32006-03-21 03:40:38 +000058 asn_DEF_Collection_16P0_tags_1,
59 sizeof(asn_DEF_Collection_16P0_tags_1)
60 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
61 asn_DEF_Collection_16P0_tags_1, /* Same as above */
62 sizeof(asn_DEF_Collection_16P0_tags_1)
63 /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -070064 { 0, 0, SET_OF_constraint },
Lev Walkina00d6b32006-03-21 03:40:38 +000065 asn_MBR_Collection_16P0_1,
66 1, /* Single element */
67 &asn_SPC_Collection_16P0_specs_1 /* Additional specs */
68};
69
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080070asn_TYPE_member_t asn_MBR_Collection_16P1_3[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000071 { ATF_POINTER, 0, 0,
72 .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
73 .tag_mode = 0,
74 .type = &asn_DEF_IA5String,
Lev Walkin67a30122017-08-10 05:48:54 -070075 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -070076 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -070077 0, 0, /* No default value */
Lev Walkina00d6b32006-03-21 03:40:38 +000078 .name = ""
79 },
80};
Lev Walkina7591b52014-10-12 18:37:35 -070081static const ber_tlv_tag_t asn_DEF_Collection_16P1_tags_3[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +000082 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
83};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080084asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3 = {
Lev Walkina00d6b32006-03-21 03:40:38 +000085 sizeof(struct Collection_16P1),
86 offsetof(struct Collection_16P1, _asn_ctx),
87 0, /* XER encoding is XMLDelimitedItemList */
88};
89asn_TYPE_descriptor_t asn_DEF_Collection_16P1 = {
90 "Collection",
91 "Collection",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080092 &asn_OP_SET_OF,
Lev Walkina00d6b32006-03-21 03:40:38 +000093 asn_DEF_Collection_16P1_tags_3,
94 sizeof(asn_DEF_Collection_16P1_tags_3)
95 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
96 asn_DEF_Collection_16P1_tags_3, /* Same as above */
97 sizeof(asn_DEF_Collection_16P1_tags_3)
98 /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -070099 { 0, 0, SET_OF_constraint },
Lev Walkina00d6b32006-03-21 03:40:38 +0000100 asn_MBR_Collection_16P1_3,
101 1, /* Single element */
102 &asn_SPC_Collection_16P1_specs_3 /* Additional specs */
103};
104
105
106/*** <<< INCLUDES [Bunch] >>> ***/
107
Lev Walkin22b5ed42006-09-13 02:51:20 +0000108#include "Collection.h"
Lev Walkina00d6b32006-03-21 03:40:38 +0000109#include <constr_SEQUENCE.h>
110
111/*** <<< TYPE-DECLS [Bunch] >>> ***/
112
113typedef struct Bunch {
114 Collection_16P0_t field_REAL;
115 Collection_16P1_t field_IA5String;
116
117 /* Context for parsing across buffer boundaries */
118 asn_struct_ctx_t _asn_ctx;
119} Bunch_t;
120
121/*** <<< FUNC-DECLS [Bunch] >>> ***/
122
123extern asn_TYPE_descriptor_t asn_DEF_Bunch;
124
125/*** <<< STAT-DEFS [Bunch] >>> ***/
126
127static asn_TYPE_member_t asn_MBR_Bunch_1[] = {
128 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_REAL),
129 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
130 .tag_mode = 0,
131 .type = &asn_DEF_Collection_16P0,
Lev Walkin67a30122017-08-10 05:48:54 -0700132 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700133 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700134 0, 0, /* No default value */
Lev Walkina00d6b32006-03-21 03:40:38 +0000135 .name = "field-REAL"
136 },
137 { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_IA5String),
138 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
139 .tag_mode = 0,
140 .type = &asn_DEF_Collection_16P1,
Lev Walkin67a30122017-08-10 05:48:54 -0700141 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700142 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700143 0, 0, /* No default value */
Lev Walkina00d6b32006-03-21 03:40:38 +0000144 .name = "field-IA5String"
145 },
146};
Lev Walkina7591b52014-10-12 18:37:35 -0700147static const ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = {
Lev Walkina00d6b32006-03-21 03:40:38 +0000148 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
149};
Lev Walkina7591b52014-10-12 18:37:35 -0700150static const asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700151 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL */
152 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String */
Lev Walkina00d6b32006-03-21 03:40:38 +0000153};
154static asn_SEQUENCE_specifics_t asn_SPC_Bunch_specs_1 = {
155 sizeof(struct Bunch),
156 offsetof(struct Bunch, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700157 .tag2el = asn_MAP_Bunch_tag2el_1,
158 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkina00d6b32006-03-21 03:40:38 +0000159 0, 0, 0, /* Optional elements (not needed) */
Lev Walkindf2edbb2017-10-21 13:40:07 -0700160 -1, /* First extension addition */
Lev Walkina00d6b32006-03-21 03:40:38 +0000161};
162asn_TYPE_descriptor_t asn_DEF_Bunch = {
163 "Bunch",
164 "Bunch",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800165 &asn_OP_SEQUENCE,
Lev Walkina00d6b32006-03-21 03:40:38 +0000166 asn_DEF_Bunch_tags_1,
167 sizeof(asn_DEF_Bunch_tags_1)
168 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
169 asn_DEF_Bunch_tags_1, /* Same as above */
170 sizeof(asn_DEF_Bunch_tags_1)
171 /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700172 { 0, 0, SEQUENCE_constraint },
Lev Walkina00d6b32006-03-21 03:40:38 +0000173 asn_MBR_Bunch_1,
174 2, /* Elements count */
175 &asn_SPC_Bunch_specs_1 /* Additional specs */
176};
177