Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 1 | |
| 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 | |
| 11 | typedef 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; |
| 17 | typedef 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 | |
| 26 | extern asn_TYPE_descriptor_t asn_DEF_Collection_16P0; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 27 | extern asn_SET_OF_specifics_t asn_SPC_Collection_16P0_specs_1; |
| 28 | extern asn_TYPE_member_t asn_MBR_Collection_16P0_1[1]; |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 29 | extern asn_TYPE_descriptor_t asn_DEF_Collection_16P1; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 30 | extern asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3; |
| 31 | extern asn_TYPE_member_t asn_MBR_Collection_16P1_3[1]; |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 32 | |
| 33 | /*** <<< STAT-DEFS [Collection] >>> ***/ |
| 34 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 35 | asn_TYPE_member_t asn_MBR_Collection_16P0_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 36 | { ATF_POINTER, 0, 0, |
| 37 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), |
| 38 | .tag_mode = 0, |
| 39 | .type = &asn_DEF_REAL, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 40 | .type_selector = 0, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 41 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 42 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 43 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 44 | .default_value = 0, |
| 45 | .name = "" |
| 46 | }, |
| 47 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 48 | static const ber_tlv_tag_t asn_DEF_Collection_16P0_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 49 | (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) |
| 50 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 51 | asn_SET_OF_specifics_t asn_SPC_Collection_16P0_specs_1 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 52 | sizeof(struct Collection_16P0), |
| 53 | offsetof(struct Collection_16P0, _asn_ctx), |
| 54 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 55 | }; |
| 56 | asn_TYPE_descriptor_t asn_DEF_Collection_16P0 = { |
| 57 | "Collection", |
| 58 | "Collection", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 59 | &asn_OP_SET_OF, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 60 | SET_OF_constraint, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 61 | 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 Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 67 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 68 | 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, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 74 | asn_TYPE_member_t asn_MBR_Collection_16P1_3[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 75 | { ATF_POINTER, 0, 0, |
| 76 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), |
| 77 | .tag_mode = 0, |
| 78 | .type = &asn_DEF_IA5String, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 79 | .type_selector = 0, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 80 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 81 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 82 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 83 | .default_value = 0, |
| 84 | .name = "" |
| 85 | }, |
| 86 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 87 | static const ber_tlv_tag_t asn_DEF_Collection_16P1_tags_3[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 88 | (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) |
| 89 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 90 | asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 91 | sizeof(struct Collection_16P1), |
| 92 | offsetof(struct Collection_16P1, _asn_ctx), |
| 93 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 94 | }; |
| 95 | asn_TYPE_descriptor_t asn_DEF_Collection_16P1 = { |
| 96 | "Collection", |
| 97 | "Collection", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 98 | &asn_OP_SET_OF, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 99 | SET_OF_constraint, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 100 | 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 Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 106 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 107 | 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 Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 116 | #include "Collection.h" |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 117 | #include <constr_SEQUENCE.h> |
| 118 | |
| 119 | /*** <<< TYPE-DECLS [Bunch] >>> ***/ |
| 120 | |
| 121 | typedef 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 | |
| 131 | extern asn_TYPE_descriptor_t asn_DEF_Bunch; |
| 132 | |
| 133 | /*** <<< STAT-DEFS [Bunch] >>> ***/ |
| 134 | |
| 135 | static 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 Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 140 | .type_selector = 0, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 141 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 142 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 143 | .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 Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 151 | .type_selector = 0, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 152 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 153 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 154 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 155 | .default_value = 0, |
| 156 | .name = "field-IA5String" |
| 157 | }, |
| 158 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 159 | static const ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 160 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 161 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 162 | static const asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 163 | { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL */ |
| 164 | { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 165 | }; |
| 166 | static asn_SEQUENCE_specifics_t asn_SPC_Bunch_specs_1 = { |
| 167 | sizeof(struct Bunch), |
| 168 | offsetof(struct Bunch, _asn_ctx), |
Lev Walkin | e391708 | 2017-08-23 10:29:38 -0700 | [diff] [blame] | 169 | .tag2el = asn_MAP_Bunch_tag2el_1, |
| 170 | .tag2el_count = 2, /* Count of tags in the map */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 171 | 0, 0, 0, /* Optional elements (not needed) */ |
| 172 | -1, /* Start extensions */ |
| 173 | -1 /* Stop extensions */ |
| 174 | }; |
| 175 | asn_TYPE_descriptor_t asn_DEF_Bunch = { |
| 176 | "Bunch", |
| 177 | "Bunch", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 178 | &asn_OP_SEQUENCE, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 179 | SEQUENCE_constraint, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 180 | 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 Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 186 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 187 | 0, /* No PER visible constraints */ |
| 188 | asn_MBR_Bunch_1, |
| 189 | 2, /* Elements count */ |
| 190 | &asn_SPC_Bunch_specs_1 /* Additional specs */ |
| 191 | }; |
| 192 | |