cam_ts_Shape.c
Go to the documentation of this file.
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "ETSI-ITS-CDD"
4  * found in "/input/ETSI-ITS-CDD.asn"
5  * `asn1c -fcompound-names -fprefix=cam_ts_ -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-example -gen-UPER -gen-JER`
6  */
7 
9 
10 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
12  { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 5 } /* (0..5,...) */,
13  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
14  0, 0 /* No PER value map */
15 };
16 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
18  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_Shape, choice.rectangular),
19  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
20  -1, /* IMPLICIT tag at current level */
22  0,
23  {
24 #if !defined(ASN_DISABLE_OER_SUPPORT)
25  0,
26 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
27 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
28  0,
29 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
30 #if !defined(ASN_DISABLE_JER_SUPPORT)
31  0,
32 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
33  0
34  },
35  0, 0, /* No default value */
36  "rectangular"
37  },
38  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_Shape, choice.circular),
39  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
40  -1, /* IMPLICIT tag at current level */
42  0,
43  {
44 #if !defined(ASN_DISABLE_OER_SUPPORT)
45  0,
46 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
47 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
48  0,
49 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
50 #if !defined(ASN_DISABLE_JER_SUPPORT)
51  0,
52 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
53  0
54  },
55  0, 0, /* No default value */
56  "circular"
57  },
58  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_Shape, choice.polygonal),
59  (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
60  -1, /* IMPLICIT tag at current level */
62  0,
63  {
64 #if !defined(ASN_DISABLE_OER_SUPPORT)
65  0,
66 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
67 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
68  0,
69 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
70 #if !defined(ASN_DISABLE_JER_SUPPORT)
71  0,
72 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
73  0
74  },
75  0, 0, /* No default value */
76  "polygonal"
77  },
78  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_Shape, choice.elliptical),
79  (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
80  -1, /* IMPLICIT tag at current level */
82  0,
83  {
84 #if !defined(ASN_DISABLE_OER_SUPPORT)
85  0,
86 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
87 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
88  0,
89 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
90 #if !defined(ASN_DISABLE_JER_SUPPORT)
91  0,
92 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
93  0
94  },
95  0, 0, /* No default value */
96  "elliptical"
97  },
98  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_Shape, choice.radial),
99  (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
100  -1, /* IMPLICIT tag at current level */
102  0,
103  {
104 #if !defined(ASN_DISABLE_OER_SUPPORT)
105  0,
106 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
107 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
108  0,
109 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
110 #if !defined(ASN_DISABLE_JER_SUPPORT)
111  0,
112 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
113  0
114  },
115  0, 0, /* No default value */
116  "radial"
117  },
118  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_Shape, choice.radialShapes),
119  (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
120  -1, /* IMPLICIT tag at current level */
122  0,
123  {
124 #if !defined(ASN_DISABLE_OER_SUPPORT)
125  0,
126 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
127 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
128  0,
129 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
130 #if !defined(ASN_DISABLE_JER_SUPPORT)
131  0,
132 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
133  0
134  },
135  0, 0, /* No default value */
136  "radialShapes"
137  },
138 };
140  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rectangular */
141  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* circular */
142  { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* polygonal */
143  { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* elliptical */
144  { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* radial */
145  { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* radialShapes */
146 };
148  sizeof(struct cam_ts_Shape),
149  offsetof(struct cam_ts_Shape, _asn_ctx),
150  offsetof(struct cam_ts_Shape, present),
151  sizeof(((struct cam_ts_Shape *)0)->present),
153  6, /* Count of tags in the map */
154  0, 0,
155  6 /* Extensions start */
156 };
158  "Shape",
159  "Shape",
160  &asn_OP_CHOICE,
161  0, /* No effective tags (pointer) */
162  0, /* No effective tags (count) */
163  0, /* No tags (pointer) */
164  0, /* No tags (count) */
165  {
166 #if !defined(ASN_DISABLE_OER_SUPPORT)
167  0,
168 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
169 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
171 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
172 #if !defined(ASN_DISABLE_JER_SUPPORT)
173  0,
174 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
176  },
178  6, /* Elements count */
179  &asn_SPC_cam_ts_Shape_specs_1 /* Additional specs */
180 };
181 
asn_OP_CHOICE
asn_TYPE_operation_t asn_OP_CHOICE
Definition: constr_CHOICE.c:8
ASN_TAG_CLASS_CONTEXT
@ ASN_TAG_CLASS_CONTEXT
Definition: ber_tlv_tag.h:15
asn_CHOICE_specifics_s
Definition: constr_CHOICE.h:14
cam_ts_Shape::present
cam_ts_Shape_PR present
Definition: cam_ts_Shape.h:42
asn_PER_type_cam_ts_Shape_constr_1
asn_per_constraints_t asn_PER_type_cam_ts_Shape_constr_1
asn_DEF_cam_ts_PolygonalShape
asn_TYPE_descriptor_t asn_DEF_cam_ts_PolygonalShape
Definition: cam_ts_PolygonalShape.c:123
asn_TYPE_tag2member_s
Definition: constr_TYPE.h:289
CC_NOTUSED
asn_per_constraints_t asn_PER_type_cam_ts_Shape_constr_1 CC_NOTUSED
Definition: cam_ts_Shape.c:11
asn_DEF_cam_ts_RadialShape
asn_TYPE_descriptor_t asn_DEF_cam_ts_RadialShape
Definition: cam_ts_RadialShape.c:160
asn_MBR_cam_ts_Shape_1
asn_TYPE_member_t asn_MBR_cam_ts_Shape_1[]
Definition: cam_ts_Shape.c:17
asn_SPC_cam_ts_Shape_specs_1
asn_CHOICE_specifics_t asn_SPC_cam_ts_Shape_specs_1
Definition: cam_ts_Shape.c:147
cam_ts_Shape.h
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
offsetof
#define offsetof(s, m)
Definition: asn_system.h:132
asn_MAP_cam_ts_Shape_tag2el_1
static const asn_TYPE_tag2member_t asn_MAP_cam_ts_Shape_tag2el_1[]
Definition: cam_ts_Shape.c:139
cam_ts_Shape::_asn_ctx
asn_struct_ctx_t _asn_ctx
Definition: cam_ts_Shape.h:57
asn_DEF_cam_ts_EllipticalShape
asn_TYPE_descriptor_t asn_DEF_cam_ts_EllipticalShape
Definition: cam_ts_EllipticalShape.c:132
CHOICE_constraint
asn_constr_check_f CHOICE_constraint
Definition: constr_CHOICE.h:51
ATF_NOFLAGS
@ ATF_NOFLAGS
Definition: constr_TYPE.h:267
cam_ts_Shape
Definition: cam_ts_Shape.h:41
asn_DEF_cam_ts_Shape
asn_TYPE_descriptor_t asn_DEF_cam_ts_Shape
Definition: cam_ts_Shape.c:157
asn_DEF_cam_ts_CircularShape
asn_TYPE_descriptor_t asn_DEF_cam_ts_CircularShape
Definition: cam_ts_CircularShape.c:90
asn_DEF_cam_ts_RectangularShape
asn_TYPE_descriptor_t asn_DEF_cam_ts_RectangularShape
Definition: cam_ts_RectangularShape.c:132
asn_per_constraints_s
Definition: per_support.h:30
asn_TYPE_member_s
Definition: constr_TYPE.h:272
asn_DEF_cam_ts_RadialShapes
asn_TYPE_descriptor_t asn_DEF_cam_ts_RadialShapes
Definition: cam_ts_RadialShapes.c:132


etsi_its_cam_ts_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:21:23