vam_ts_VruEnvironment.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=vam_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, 3, 3, 0, 6 } /* (0..6) */,
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, 11, "unavailable" },
23  { 1, 20, "intersectionCrossing" },
24  { 2, 13, "zebraCrossing" },
25  { 3, 8, "sidewalk" },
26  { 4, 13, "onVehicleRoad" },
27  { 5, 23, "protectedGeographicArea" },
28  { 255, 3, "max" }
29 };
30 static const unsigned int asn_MAP_vam_ts_VruEnvironment_enum2value_1[] = {
31  1, /* intersectionCrossing(1) */
32  6, /* max(255) */
33  4, /* onVehicleRoad(4) */
34  5, /* protectedGeographicArea(5) */
35  3, /* sidewalk(3) */
36  0, /* unavailable(0) */
37  2 /* zebraCrossing(2) */
38 };
40  asn_MAP_vam_ts_VruEnvironment_value2enum_1, /* "tag" => N; sorted by tag */
41  asn_MAP_vam_ts_VruEnvironment_enum2value_1, /* N => "tag"; sorted by N */
42  7, /* Number of elements in the maps */
43  0, /* Enumeration is not extensible */
44  1, /* Strict enumeration */
45  0, /* Native long size */
46  0
47 };
49  (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
50 };
52  "VruEnvironment",
53  "VruEnvironment",
57  /sizeof(asn_DEF_vam_ts_VruEnvironment_tags_1[0]), /* 1 */
58  asn_DEF_vam_ts_VruEnvironment_tags_1, /* Same as above */
60  /sizeof(asn_DEF_vam_ts_VruEnvironment_tags_1[0]), /* 1 */
61  {
62 #if !defined(ASN_DISABLE_OER_SUPPORT)
63  0,
64 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
65 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
67 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
68 #if !defined(ASN_DISABLE_JER_SUPPORT)
69  0,
70 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
72  },
73  0, 0, /* Defined elsewhere */
74  &asn_SPC_vam_ts_VruEnvironment_specs_1 /* Additional specs */
75 };
76 
asn_SPC_vam_ts_VruEnvironment_specs_1
const asn_INTEGER_specifics_t asn_SPC_vam_ts_VruEnvironment_specs_1
Definition: vam_ts_VruEnvironment.c:39
asn_DEF_vam_ts_VruEnvironment
asn_TYPE_descriptor_t asn_DEF_vam_ts_VruEnvironment
Definition: vam_ts_VruEnvironment.c:51
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_TYPE_descriptor_s
Definition: constr_TYPE.h:224
asn_OP_NativeEnumerated
asn_TYPE_operation_t asn_OP_NativeEnumerated
Definition: NativeEnumerated.c:21
asn_INTEGER_specifics_s
Definition: INTEGER.h:28
asn_MAP_vam_ts_VruEnvironment_enum2value_1
static const unsigned int asn_MAP_vam_ts_VruEnvironment_enum2value_1[]
Definition: vam_ts_VruEnvironment.c:30
vam_ts_VruEnvironment.h
CC_NOTUSED
asn_per_constraints_t asn_PER_type_vam_ts_VruEnvironment_constr_1 CC_NOTUSED
Definition: vam_ts_VruEnvironment.c:15
asn_MAP_vam_ts_VruEnvironment_value2enum_1
static const asn_INTEGER_enum_map_t asn_MAP_vam_ts_VruEnvironment_value2enum_1[]
Definition: vam_ts_VruEnvironment.c:21
asn_PER_type_vam_ts_VruEnvironment_constr_1
asn_per_constraints_t asn_PER_type_vam_ts_VruEnvironment_constr_1
asn_DEF_vam_ts_VruEnvironment_tags_1
static const ber_tlv_tag_t asn_DEF_vam_ts_VruEnvironment_tags_1[]
Definition: vam_ts_VruEnvironment.c:48
asn_per_constraints_s
Definition: per_support.h:30
asn_INTEGER_enum_map_s
Definition: INTEGER.h:21


etsi_its_vam_ts_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:30:56