Vanetza
 
Loading...
Searching...
No Matches
GeographicRegion.c
1/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "IEEE1609dot2BaseTypes"
4 * found in "asn1/IEEE1609dot2BaseTypes.asn"
5 * `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
6 */
7
8#include "GeographicRegion.h"
9
10#if !defined(ASN_DISABLE_OER_SUPPORT)
11static asn_oer_constraints_t asn_OER_type_GeographicRegion_constr_1 CC_NOTUSED = {
12 { 0, 0 },
13 -1};
14#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
15#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
16asn_per_constraints_t asn_PER_type_GeographicRegion_constr_1 CC_NOTUSED = {
17 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */,
18 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
19 0, 0 /* No PER value map */
20};
21#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
22asn_TYPE_member_t asn_MBR_GeographicRegion_1[] = {
23 { ATF_NOFLAGS, 0, offsetof(struct GeographicRegion, choice.circularRegion),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25 -1, /* IMPLICIT tag at current level */
26 &asn_DEF_CircularRegion,
27 0,
28 {
29#if !defined(ASN_DISABLE_OER_SUPPORT)
30 0,
31#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
32#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
33 0,
34#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
35 0
36 },
37 0, 0, /* No default value */
38 "circularRegion"
39 },
40 { ATF_NOFLAGS, 0, offsetof(struct GeographicRegion, choice.rectangularRegion),
41 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
42 -1, /* IMPLICIT tag at current level */
43 &asn_DEF_SequenceOfRectangularRegion,
44 0,
45 {
46#if !defined(ASN_DISABLE_OER_SUPPORT)
47 0,
48#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
49#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
50 0,
51#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
52 0
53 },
54 0, 0, /* No default value */
55 "rectangularRegion"
56 },
57 { ATF_NOFLAGS, 0, offsetof(struct GeographicRegion, choice.polygonalRegion),
58 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
59 -1, /* IMPLICIT tag at current level */
60 &asn_DEF_PolygonalRegion,
61 0,
62 {
63#if !defined(ASN_DISABLE_OER_SUPPORT)
64 0,
65#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
66#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
67 0,
68#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
69 0
70 },
71 0, 0, /* No default value */
72 "polygonalRegion"
73 },
74 { ATF_NOFLAGS, 0, offsetof(struct GeographicRegion, choice.identifiedRegion),
75 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
76 -1, /* IMPLICIT tag at current level */
77 &asn_DEF_SequenceOfIdentifiedRegion,
78 0,
79 {
80#if !defined(ASN_DISABLE_OER_SUPPORT)
81 0,
82#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
83#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
84 0,
85#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
86 0
87 },
88 0, 0, /* No default value */
89 "identifiedRegion"
90 },
91};
92static const asn_TYPE_tag2member_t asn_MAP_GeographicRegion_tag2el_1[] = {
93 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* circularRegion */
94 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rectangularRegion */
95 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* polygonalRegion */
96 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* identifiedRegion */
97};
98asn_CHOICE_specifics_t asn_SPC_GeographicRegion_specs_1 = {
99 sizeof(struct GeographicRegion),
100 offsetof(struct GeographicRegion, _asn_ctx),
101 offsetof(struct GeographicRegion, present),
102 sizeof(((struct GeographicRegion *)0)->present),
103 asn_MAP_GeographicRegion_tag2el_1,
104 4, /* Count of tags in the map */
105 0, 0,
106 4 /* Extensions start */
107};
108asn_TYPE_descriptor_t asn_DEF_GeographicRegion = {
109 "GeographicRegion",
110 "GeographicRegion",
111 &asn_OP_CHOICE,
112 0, /* No effective tags (pointer) */
113 0, /* No effective tags (count) */
114 0, /* No tags (pointer) */
115 0, /* No tags (count) */
116 {
117#if !defined(ASN_DISABLE_OER_SUPPORT)
118 &asn_OER_type_GeographicRegion_constr_1,
119#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
120#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
121 &asn_PER_type_GeographicRegion_constr_1,
122#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
123 CHOICE_constraint
124 },
125 asn_MBR_GeographicRegion_1,
126 4, /* Elements count */
127 &asn_SPC_GeographicRegion_specs_1 /* Additional specs */
128};
129