ITS
GeographicRegion.c
Go to the documentation of this file.
1 /*
2  * Generated by asn1c-0.9.27 (http://lionet.info/asn1c)
3  * From ASN.1 module "Secured-Pdu-Descriptions"
4  * found in "Secured.asn"
5  */
6 
7 #include "GeographicRegion.h"
8 
9 static asn_per_constraints_t asn_PER_type_geographic_region_constr_3 GCC_NOTUSED = {
10  { APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */,
11  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
12  0, 0 /* No PER value map */
13 };
15  { ATF_NOFLAGS, 0, offsetof(struct circle, circular_region),
16  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
17  -1, /* IMPLICIT tag at current level */
19  0, /* Defer constraints checking to the member type */
20  0, /* No PER visible constraints */
21  0,
22  "circular-region"
23  },
24 };
26  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
27  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
28 };
30  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* circular-region */
31 };
33  sizeof(struct circle),
34  offsetof(struct circle, _asn_ctx),
36  1, /* Count of tags in the map */
37  0, 0, 0, /* Optional elements (not needed) */
38  -1, /* Start extensions */
39  -1 /* Stop extensions */
40 };
41 static /* Use -fall-defs-global to expose */
43  "circle",
44  "circle",
54  0, /* Use generic outmost tag fetcher */
56  sizeof(asn_DEF_circle_tags_4)
57  /sizeof(asn_DEF_circle_tags_4[0]) - 1, /* 1 */
58  asn_DEF_circle_tags_4, /* Same as above */
59  sizeof(asn_DEF_circle_tags_4)
60  /sizeof(asn_DEF_circle_tags_4[0]), /* 2 */
61  0, /* No PER visible constraints */
63  1, /* Elements count */
64  &asn_SPC_circle_specs_4 /* Additional specs */
65 };
66 
68  { ATF_POINTER, 0, 0,
69  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
70  0,
72  0, /* Defer constraints checking to the member type */
73  0, /* No PER visible constraints */
74  0,
75  ""
76  },
77 };
79  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
80  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
81 };
83  sizeof(struct rectangular_region),
84  offsetof(struct rectangular_region, _asn_ctx),
85  0, /* XER encoding is XMLDelimitedItemList */
86 };
87 static /* Use -fall-defs-global to expose */
89  "rectangular-region",
90  "rectangular-region",
100  0, /* Use generic outmost tag fetcher */
103  /sizeof(asn_DEF_rectangular_region_tags_7[0]) - 1, /* 1 */
104  asn_DEF_rectangular_region_tags_7, /* Same as above */
106  /sizeof(asn_DEF_rectangular_region_tags_7[0]), /* 2 */
107  0, /* No PER visible constraints */
109  1, /* Single element */
110  &asn_SPC_rectangular_region_specs_7 /* Additional specs */
111 };
112 
114  { ATF_NOFLAGS, 0, offsetof(struct rectangle, rectangular_region),
115  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
116  0,
118  0, /* Defer constraints checking to the member type */
119  0, /* No PER visible constraints */
120  0,
121  "rectangular-region"
122  },
123 };
125  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
126  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
127 };
129  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* rectangular-region */
130 };
132  sizeof(struct rectangle),
133  offsetof(struct rectangle, _asn_ctx),
135  1, /* Count of tags in the map */
136  0, 0, 0, /* Optional elements (not needed) */
137  -1, /* Start extensions */
138  -1 /* Stop extensions */
139 };
140 static /* Use -fall-defs-global to expose */
142  "rectangle",
143  "rectangle",
153  0, /* Use generic outmost tag fetcher */
156  /sizeof(asn_DEF_rectangle_tags_6[0]) - 1, /* 1 */
157  asn_DEF_rectangle_tags_6, /* Same as above */
159  /sizeof(asn_DEF_rectangle_tags_6[0]), /* 2 */
160  0, /* No PER visible constraints */
162  1, /* Elements count */
163  &asn_SPC_rectangle_specs_6 /* Additional specs */
164 };
165 
167  { ATF_NOFLAGS, 0, offsetof(struct polygon, polygonal_region),
168  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
169  -1, /* IMPLICIT tag at current level */
171  0, /* Defer constraints checking to the member type */
172  0, /* No PER visible constraints */
173  0,
174  "polygonal-region"
175  },
176 };
178  (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
179  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
180 };
182  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* polygonal-region */
183 };
185  sizeof(struct polygon),
186  offsetof(struct polygon, _asn_ctx),
188  1, /* Count of tags in the map */
189  0, 0, 0, /* Optional elements (not needed) */
190  -1, /* Start extensions */
191  -1 /* Stop extensions */
192 };
193 static /* Use -fall-defs-global to expose */
195  "polygon",
196  "polygon",
206  0, /* Use generic outmost tag fetcher */
208  sizeof(asn_DEF_polygon_tags_9)
209  /sizeof(asn_DEF_polygon_tags_9[0]) - 1, /* 1 */
210  asn_DEF_polygon_tags_9, /* Same as above */
211  sizeof(asn_DEF_polygon_tags_9)
212  /sizeof(asn_DEF_polygon_tags_9[0]), /* 2 */
213  0, /* No PER visible constraints */
215  1, /* Elements count */
216  &asn_SPC_polygon_specs_9 /* Additional specs */
217 };
218 
220  { ATF_NOFLAGS, 0, offsetof(struct id, id_region),
221  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
222  -1, /* IMPLICIT tag at current level */
224  0, /* Defer constraints checking to the member type */
225  0, /* No PER visible constraints */
226  0,
227  "id-region"
228  },
229 };
231  (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
232  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
233 };
235  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* id-region */
236 };
238  sizeof(struct id),
239  offsetof(struct id, _asn_ctx),
241  1, /* Count of tags in the map */
242  0, 0, 0, /* Optional elements (not needed) */
243  -1, /* Start extensions */
244  -1 /* Stop extensions */
245 };
246 static /* Use -fall-defs-global to expose */
248  "id",
249  "id",
259  0, /* Use generic outmost tag fetcher */
261  sizeof(asn_DEF_id_tags_11)
262  /sizeof(asn_DEF_id_tags_11[0]) - 1, /* 1 */
263  asn_DEF_id_tags_11, /* Same as above */
264  sizeof(asn_DEF_id_tags_11)
265  /sizeof(asn_DEF_id_tags_11[0]), /* 2 */
266  0, /* No PER visible constraints */
268  1, /* Elements count */
269  &asn_SPC_id_specs_11 /* Additional specs */
270 };
271 
273  (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
274  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
275 };
277  sizeof(struct none),
278  offsetof(struct none, _asn_ctx),
279  0, /* No top level tags */
280  0, /* No tags in the map */
281  0, 0, 0, /* Optional elements (not needed) */
282  -1, /* Start extensions */
283  -1 /* Stop extensions */
284 };
285 static /* Use -fall-defs-global to expose */
287  "none",
288  "none",
298  0, /* Use generic outmost tag fetcher */
300  sizeof(asn_DEF_none_tags_13)
301  /sizeof(asn_DEF_none_tags_13[0]) - 1, /* 1 */
302  asn_DEF_none_tags_13, /* Same as above */
303  sizeof(asn_DEF_none_tags_13)
304  /sizeof(asn_DEF_none_tags_13[0]), /* 2 */
305  0, /* No PER visible constraints */
306  0, 0, /* No members */
307  &asn_SPC_none_specs_13 /* Additional specs */
308 };
309 
311  { ATF_NOFLAGS, 0, offsetof(struct unknown_geographic_region, other_region),
312  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
313  -1, /* IMPLICIT tag at current level */
315  0, /* Defer constraints checking to the member type */
316  0, /* No PER visible constraints */
317  0,
318  "other-region"
319  },
320 };
322  (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
323  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
324 };
326  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* other-region */
327 };
329  sizeof(struct unknown_geographic_region),
330  offsetof(struct unknown_geographic_region, _asn_ctx),
332  1, /* Count of tags in the map */
333  0, 0, 0, /* Optional elements (not needed) */
334  -1, /* Start extensions */
335  -1 /* Stop extensions */
336 };
337 static /* Use -fall-defs-global to expose */
339  "unknown-geographic-region",
340  "unknown-geographic-region",
350  0, /* Use generic outmost tag fetcher */
353  /sizeof(asn_DEF_unknown_geographic_region_tags_14[0]) - 1, /* 1 */
354  asn_DEF_unknown_geographic_region_tags_14, /* Same as above */
356  /sizeof(asn_DEF_unknown_geographic_region_tags_14[0]), /* 2 */
357  0, /* No PER visible constraints */
359  1, /* Elements count */
360  &asn_SPC_unknown_geographic_region_specs_14 /* Additional specs */
361 };
362 
364  { ATF_NOFLAGS, 0, offsetof(struct geographic_region, choice.circle),
365  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
366  0,
368  0, /* Defer constraints checking to the member type */
369  0, /* No PER visible constraints */
370  0,
371  "circle"
372  },
373  { ATF_NOFLAGS, 0, offsetof(struct geographic_region, choice.rectangle),
374  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
375  0,
377  0, /* Defer constraints checking to the member type */
378  0, /* No PER visible constraints */
379  0,
380  "rectangle"
381  },
382  { ATF_NOFLAGS, 0, offsetof(struct geographic_region, choice.polygon),
383  (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
384  0,
386  0, /* Defer constraints checking to the member type */
387  0, /* No PER visible constraints */
388  0,
389  "polygon"
390  },
391  { ATF_NOFLAGS, 0, offsetof(struct geographic_region, choice.id),
392  (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
393  0,
394  &asn_DEF_id_11,
395  0, /* Defer constraints checking to the member type */
396  0, /* No PER visible constraints */
397  0,
398  "id"
399  },
400  { ATF_NOFLAGS, 0, offsetof(struct geographic_region, choice.none),
401  (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
402  0,
404  0, /* Defer constraints checking to the member type */
405  0, /* No PER visible constraints */
406  0,
407  "none"
408  },
409  { ATF_NOFLAGS, 0, offsetof(struct geographic_region, choice.unknown_geographic_region),
410  (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
411  0,
413  0, /* Defer constraints checking to the member type */
414  0, /* No PER visible constraints */
415  0,
416  "unknown-geographic-region"
417  },
418 };
420  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* circle */
421  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rectangle */
422  { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* polygon */
423  { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* id */
424  { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* none */
425  { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* unknown-geographic-region */
426 };
428  sizeof(struct geographic_region),
429  offsetof(struct geographic_region, _asn_ctx),
430  offsetof(struct geographic_region, present),
431  sizeof(((struct geographic_region *)0)->present),
433  6, /* Count of tags in the map */
434  0,
435  -1 /* Extensions start */
436 };
437 static /* Use -fall-defs-global to expose */
439  "geographic-region",
440  "geographic-region",
441  CHOICE_free,
442  CHOICE_print,
451  0, /* No effective tags (pointer) */
452  0, /* No effective tags (count) */
453  0, /* No tags (pointer) */
454  0, /* No tags (count) */
455  &asn_PER_type_geographic_region_constr_3,
457  6, /* Elements count */
458  &asn_SPC_geographic_region_specs_3 /* Additional specs */
459 };
460 
462  { ATF_NOFLAGS, 0, offsetof(struct GeographicRegion, region_type),
463  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
464  -1, /* IMPLICIT tag at current level */
466  0, /* Defer constraints checking to the member type */
467  0, /* No PER visible constraints */
468  0,
469  "region-type"
470  },
471  { ATF_NOFLAGS, 0, offsetof(struct GeographicRegion, geographic_region),
472  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
473  +1, /* EXPLICIT tag at current level */
475  0, /* Defer constraints checking to the member type */
476  0, /* No PER visible constraints */
477  0,
478  "geographic-region"
479  },
480 };
482  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
483 };
485  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* region-type */
486  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* geographic-region */
487 };
489  sizeof(struct GeographicRegion),
492  2, /* Count of tags in the map */
493  0, 0, 0, /* Optional elements (not needed) */
494  -1, /* Start extensions */
495  -1 /* Stop extensions */
496 };
498  "GeographicRegion",
499  "GeographicRegion",
509  0, /* Use generic outmost tag fetcher */
512  /sizeof(asn_DEF_GeographicRegion_tags_1[0]), /* 1 */
513  asn_DEF_GeographicRegion_tags_1, /* Same as above */
515  /sizeof(asn_DEF_GeographicRegion_tags_1[0]), /* 1 */
516  0, /* No PER visible constraints */
518  2, /* Elements count */
519  &asn_SPC_GeographicRegion_specs_1 /* Additional specs */
520 };
521 
static asn_TYPE_tag2member_t asn_MAP_polygon_tag2el_9[]
#define offsetof(s, m)
Definition: asn_system.h:115
#define SEQUENCE_OF_decode_xer
#define SEQUENCE_OF_decode_ber
asn_TYPE_descriptor_t asn_DEF_RectangularRegion
#define SEQUENCE_OF_constraint
asn_struct_print_f CHOICE_print
Definition: constr_CHOICE.h:43
static asn_TYPE_tag2member_t asn_MAP_rectangle_tag2el_6[]
asn_struct_ctx_t _asn_ctx
static asn_TYPE_member_t asn_MBR_geographic_region_3[]
static asn_SEQUENCE_specifics_t asn_SPC_rectangle_specs_6
ber_type_decoder_f SEQUENCE_decode_ber
static ber_tlv_tag_t asn_DEF_GeographicRegion_tags_1[]
static asn_TYPE_member_t asn_MBR_id_11[]
static ber_tlv_tag_t asn_DEF_polygon_tags_9[]
static asn_SEQUENCE_specifics_t asn_SPC_id_specs_11
static asn_SET_OF_specifics_t asn_SPC_rectangular_region_specs_7
xer_type_encoder_f SEQUENCE_OF_encode_xer
static asn_TYPE_tag2member_t asn_MAP_geographic_region_tag2el_3[]
der_type_encoder_f SEQUENCE_encode_der
static asn_TYPE_member_t asn_MBR_unknown_geographic_region_14[]
asn_constr_check_f CHOICE_constraint
Definition: constr_CHOICE.h:44
static ber_tlv_tag_t asn_DEF_none_tags_13[]
static asn_SEQUENCE_specifics_t asn_SPC_GeographicRegion_specs_1
static asn_TYPE_descriptor_t asn_DEF_id_11
static asn_TYPE_descriptor_t asn_DEF_polygon_9
#define SEQUENCE_OF_free
static asn_TYPE_tag2member_t asn_MAP_circle_tag2el_4[]
static asn_TYPE_member_t asn_MBR_rectangular_region_7[]
#define SEQUENCE_OF_decode_uper
ber_type_decoder_f CHOICE_decode_ber
Definition: constr_CHOICE.h:45
static ber_tlv_tag_t asn_DEF_rectangular_region_tags_7[]
static asn_SEQUENCE_specifics_t asn_SPC_unknown_geographic_region_specs_14
asn_struct_print_f SEQUENCE_print
static asn_TYPE_descriptor_t asn_DEF_rectangle_6
per_type_decoder_f SEQUENCE_decode_uper
per_type_encoder_f SEQUENCE_encode_uper
static asn_TYPE_member_t asn_MBR_rectangle_6[]
static asn_SEQUENCE_specifics_t asn_SPC_polygon_specs_9
static asn_TYPE_descriptor_t asn_DEF_circle_4
asn_constr_check_f SEQUENCE_constraint
asn_TYPE_descriptor_t asn_DEF_Opaque
Definition: Opaque.c:45
xer_type_decoder_f SEQUENCE_decode_xer
der_type_encoder_f CHOICE_encode_der
Definition: constr_CHOICE.h:46
static asn_TYPE_member_t asn_MBR_GeographicRegion_1[]
per_type_decoder_f CHOICE_decode_uper
Definition: constr_CHOICE.h:49
asn_struct_free_f SEQUENCE_free
static asn_SEQUENCE_specifics_t asn_SPC_circle_specs_4
static asn_SEQUENCE_specifics_t asn_SPC_none_specs_13
static asn_TYPE_descriptor_t asn_DEF_rectangular_region_7
static asn_TYPE_descriptor_t asn_DEF_geographic_region_3
static ber_tlv_tag_t asn_DEF_rectangle_tags_6[]
static asn_per_constraints_t asn_PER_type_geographic_region_constr_3 GCC_NOTUSED
asn_TYPE_descriptor_t asn_DEF_PolygonalRegion
xer_type_encoder_f CHOICE_encode_xer
Definition: constr_CHOICE.h:48
static asn_TYPE_member_t asn_MBR_circle_4[]
xer_type_decoder_f CHOICE_decode_xer
Definition: constr_CHOICE.h:47
der_type_encoder_f SEQUENCE_OF_encode_der
static asn_TYPE_tag2member_t asn_MAP_GeographicRegion_tag2el_1[]
static asn_TYPE_descriptor_t asn_DEF_none_13
per_type_encoder_f CHOICE_encode_uper
Definition: constr_CHOICE.h:50
asn_TYPE_descriptor_t asn_DEF_IdentifiedRegion
asn_outmost_tag_f CHOICE_outmost_tag
Definition: constr_CHOICE.h:51
xer_type_encoder_f SEQUENCE_encode_xer
asn_TYPE_descriptor_t asn_DEF_GeographicRegion
static ber_tlv_tag_t asn_DEF_id_tags_11[]
static ber_tlv_tag_t asn_DEF_unknown_geographic_region_tags_14[]
asn_TYPE_descriptor_t asn_DEF_RegionType
Definition: RegionType.c:123
asn_TYPE_descriptor_t asn_DEF_CircularRegion
static asn_TYPE_member_t asn_MBR_polygon_9[]
#define SEQUENCE_OF_print
per_type_encoder_f SEQUENCE_OF_encode_uper
static asn_CHOICE_specifics_t asn_SPC_geographic_region_specs_3
static asn_TYPE_tag2member_t asn_MAP_id_tag2el_11[]
static asn_TYPE_tag2member_t asn_MAP_unknown_geographic_region_tag2el_14[]
unsigned ber_tlv_tag_t
Definition: ber_tlv_tag.h:18
static asn_TYPE_descriptor_t asn_DEF_unknown_geographic_region_14
static ber_tlv_tag_t asn_DEF_circle_tags_4[]
asn_struct_free_f CHOICE_free
Definition: constr_CHOICE.h:42