cam_ts_VehicleRole.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 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
16  { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */,
17  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18  0, 0 /* No PER value map */
19 };
20 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
22  { 0, 7, "default" },
23  { 1, 15, "publicTransport" },
24  { 2, 16, "specialTransport" },
25  { 3, 14, "dangerousGoods" },
26  { 4, 8, "roadWork" },
27  { 5, 6, "rescue" },
28  { 6, 9, "emergency" },
29  { 7, 9, "safetyCar" },
30  { 8, 11, "agriculture" },
31  { 9, 10, "commercial" },
32  { 10, 8, "military" },
33  { 11, 12, "roadOperator" },
34  { 12, 4, "taxi" },
35  { 13, 4, "uvar" },
36  { 14, 4, "rfu1" },
37  { 15, 4, "rfu2" }
38 };
39 static const unsigned int asn_MAP_cam_ts_VehicleRole_enum2value_1[] = {
40  8, /* agriculture(8) */
41  9, /* commercial(9) */
42  3, /* dangerousGoods(3) */
43  0, /* default(0) */
44  6, /* emergency(6) */
45  10, /* military(10) */
46  1, /* publicTransport(1) */
47  5, /* rescue(5) */
48  14, /* rfu1(14) */
49  15, /* rfu2(15) */
50  11, /* roadOperator(11) */
51  4, /* roadWork(4) */
52  7, /* safetyCar(7) */
53  2, /* specialTransport(2) */
54  12, /* taxi(12) */
55  13 /* uvar(13) */
56 };
58  asn_MAP_cam_ts_VehicleRole_value2enum_1, /* "tag" => N; sorted by tag */
59  asn_MAP_cam_ts_VehicleRole_enum2value_1, /* N => "tag"; sorted by N */
60  16, /* Number of elements in the maps */
61  0, /* Enumeration is not extensible */
62  1, /* Strict enumeration */
63  0, /* Native long size */
64  0
65 };
67  (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
68 };
70  "VehicleRole",
71  "VehicleRole",
75  /sizeof(asn_DEF_cam_ts_VehicleRole_tags_1[0]), /* 1 */
76  asn_DEF_cam_ts_VehicleRole_tags_1, /* Same as above */
78  /sizeof(asn_DEF_cam_ts_VehicleRole_tags_1[0]), /* 1 */
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)
85 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
86 #if !defined(ASN_DISABLE_JER_SUPPORT)
87  0,
88 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
90  },
91  0, 0, /* Defined elsewhere */
92  &asn_SPC_cam_ts_VehicleRole_specs_1 /* Additional specs */
93 };
94 
asn_MAP_cam_ts_VehicleRole_value2enum_1
static const asn_INTEGER_enum_map_t asn_MAP_cam_ts_VehicleRole_value2enum_1[]
Definition: cam_ts_VehicleRole.c:21
ber_tlv_tag_t
unsigned ber_tlv_tag_t
Definition: ber_tlv_tag.h:18
ASN_TAG_CLASS_UNIVERSAL
@ ASN_TAG_CLASS_UNIVERSAL
Definition: ber_tlv_tag.h:13
NativeEnumerated_constraint
#define NativeEnumerated_constraint
Definition: NativeEnumerated.h:34
asn_DEF_cam_ts_VehicleRole
asn_TYPE_descriptor_t asn_DEF_cam_ts_VehicleRole
Definition: cam_ts_VehicleRole.c:69
asn_DEF_cam_ts_VehicleRole_tags_1
static const ber_tlv_tag_t asn_DEF_cam_ts_VehicleRole_tags_1[]
Definition: cam_ts_VehicleRole.c:66
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
asn_OP_NativeEnumerated
asn_TYPE_operation_t asn_OP_NativeEnumerated
Definition: NativeEnumerated.c:21
asn_SPC_cam_ts_VehicleRole_specs_1
const asn_INTEGER_specifics_t asn_SPC_cam_ts_VehicleRole_specs_1
Definition: cam_ts_VehicleRole.c:57
asn_MAP_cam_ts_VehicleRole_enum2value_1
static const unsigned int asn_MAP_cam_ts_VehicleRole_enum2value_1[]
Definition: cam_ts_VehicleRole.c:39
asn_INTEGER_specifics_s
Definition: INTEGER.h:28
asn_per_constraints_s
Definition: per_support.h:30
CC_NOTUSED
asn_per_constraints_t asn_PER_type_cam_ts_VehicleRole_constr_1 CC_NOTUSED
Definition: cam_ts_VehicleRole.c:15
asn_PER_type_cam_ts_VehicleRole_constr_1
asn_per_constraints_t asn_PER_type_cam_ts_VehicleRole_constr_1
cam_ts_VehicleRole.h
asn_INTEGER_enum_map_s
Definition: INTEGER.h:21


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