cam_ts_SpecialVehicleContainer.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 "CAM-PDU-Descriptions"
4  * found in "/input/CAM-PDU-Descriptions.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, 6 } /* (0..6,...) */,
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_SpecialVehicleContainer, choice.publicTransportContainer),
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  "publicTransportContainer"
37  },
38  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_SpecialVehicleContainer, choice.specialTransportContainer),
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  "specialTransportContainer"
57  },
58  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_SpecialVehicleContainer, choice.dangerousGoodsContainer),
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  "dangerousGoodsContainer"
77  },
78  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_SpecialVehicleContainer, choice.roadWorksContainerBasic),
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  "roadWorksContainerBasic"
97  },
98  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_SpecialVehicleContainer, choice.rescueContainer),
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  "rescueContainer"
117  },
118  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_SpecialVehicleContainer, choice.emergencyContainer),
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  "emergencyContainer"
137  },
138  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_SpecialVehicleContainer, choice.safetyCarContainer),
139  (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
140  -1, /* IMPLICIT tag at current level */
142  0,
143  {
144 #if !defined(ASN_DISABLE_OER_SUPPORT)
145  0,
146 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
147 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
148  0,
149 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
150 #if !defined(ASN_DISABLE_JER_SUPPORT)
151  0,
152 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
153  0
154  },
155  0, 0, /* No default value */
156  "safetyCarContainer"
157  },
158 };
160  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* publicTransportContainer */
161  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* specialTransportContainer */
162  { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* dangerousGoodsContainer */
163  { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* roadWorksContainerBasic */
164  { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* rescueContainer */
165  { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* emergencyContainer */
166  { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* safetyCarContainer */
167 };
169  sizeof(struct cam_ts_SpecialVehicleContainer),
172  sizeof(((struct cam_ts_SpecialVehicleContainer *)0)->present),
174  7, /* Count of tags in the map */
175  0, 0,
176  7 /* Extensions start */
177 };
179  "SpecialVehicleContainer",
180  "SpecialVehicleContainer",
181  &asn_OP_CHOICE,
182  0, /* No effective tags (pointer) */
183  0, /* No effective tags (count) */
184  0, /* No tags (pointer) */
185  0, /* No tags (count) */
186  {
187 #if !defined(ASN_DISABLE_OER_SUPPORT)
188  0,
189 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
190 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
192 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
193 #if !defined(ASN_DISABLE_JER_SUPPORT)
194  0,
195 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
197  },
199  7, /* Elements count */
200  &asn_SPC_cam_ts_SpecialVehicleContainer_specs_1 /* Additional specs */
201 };
202 
asn_OP_CHOICE
asn_TYPE_operation_t asn_OP_CHOICE
Definition: constr_CHOICE.c:8
cam_ts_SpecialVehicleContainer.h
ASN_TAG_CLASS_CONTEXT
@ ASN_TAG_CLASS_CONTEXT
Definition: ber_tlv_tag.h:15
asn_DEF_cam_ts_DangerousGoodsContainer
asn_TYPE_descriptor_t asn_DEF_cam_ts_DangerousGoodsContainer
Definition: cam_ts_DangerousGoodsContainer.c:46
asn_CHOICE_specifics_s
Definition: constr_CHOICE.h:14
asn_DEF_cam_ts_RescueContainer
asn_TYPE_descriptor_t asn_DEF_cam_ts_RescueContainer
Definition: cam_ts_RescueContainer.c:46
asn_TYPE_tag2member_s
Definition: constr_TYPE.h:289
asn_PER_type_cam_ts_SpecialVehicleContainer_constr_1
asn_per_constraints_t asn_PER_type_cam_ts_SpecialVehicleContainer_constr_1
asn_DEF_cam_ts_SpecialTransportContainer
asn_TYPE_descriptor_t asn_DEF_cam_ts_SpecialTransportContainer
Definition: cam_ts_SpecialTransportContainer.c:67
asn_DEF_cam_ts_SafetyCarContainer
asn_TYPE_descriptor_t asn_DEF_cam_ts_SafetyCarContainer
Definition: cam_ts_SafetyCarContainer.c:111
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
offsetof
#define offsetof(s, m)
Definition: asn_system.h:132
cam_ts_SpecialVehicleContainer::_asn_ctx
asn_struct_ctx_t _asn_ctx
Definition: cam_ts_SpecialVehicleContainer.h:60
asn_DEF_cam_ts_PublicTransportContainer
asn_TYPE_descriptor_t asn_DEF_cam_ts_PublicTransportContainer
Definition: cam_ts_PublicTransportContainer.c:69
asn_MAP_cam_ts_SpecialVehicleContainer_tag2el_1
static const asn_TYPE_tag2member_t asn_MAP_cam_ts_SpecialVehicleContainer_tag2el_1[]
Definition: cam_ts_SpecialVehicleContainer.c:159
asn_DEF_cam_ts_SpecialVehicleContainer
asn_TYPE_descriptor_t asn_DEF_cam_ts_SpecialVehicleContainer
Definition: cam_ts_SpecialVehicleContainer.c:178
asn_DEF_cam_ts_RoadWorksContainerBasic
asn_TYPE_descriptor_t asn_DEF_cam_ts_RoadWorksContainerBasic
Definition: cam_ts_RoadWorksContainerBasic.c:90
CHOICE_constraint
asn_constr_check_f CHOICE_constraint
Definition: constr_CHOICE.h:51
asn_DEF_cam_ts_EmergencyContainer
asn_TYPE_descriptor_t asn_DEF_cam_ts_EmergencyContainer
Definition: cam_ts_EmergencyContainer.c:90
ATF_NOFLAGS
@ ATF_NOFLAGS
Definition: constr_TYPE.h:267
asn_per_constraints_s
Definition: per_support.h:30
asn_SPC_cam_ts_SpecialVehicleContainer_specs_1
asn_CHOICE_specifics_t asn_SPC_cam_ts_SpecialVehicleContainer_specs_1
Definition: cam_ts_SpecialVehicleContainer.c:168
asn_TYPE_member_s
Definition: constr_TYPE.h:272
cam_ts_SpecialVehicleContainer
Definition: cam_ts_SpecialVehicleContainer.h:43
asn_MBR_cam_ts_SpecialVehicleContainer_1
asn_TYPE_member_t asn_MBR_cam_ts_SpecialVehicleContainer_1[]
Definition: cam_ts_SpecialVehicleContainer.c:17
CC_NOTUSED
asn_per_constraints_t asn_PER_type_cam_ts_SpecialVehicleContainer_constr_1 CC_NOTUSED
Definition: cam_ts_SpecialVehicleContainer.c:11
cam_ts_SpecialVehicleContainer::present
cam_ts_SpecialVehicleContainer_PR present
Definition: cam_ts_SpecialVehicleContainer.h:44


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