src
vam_ts_DangerousGoodsBasic.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
8
#include "
etsi_its_vam_ts_coding/vam_ts_DangerousGoodsBasic.h
"
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)
15
asn_per_constraints_t
asn_PER_type_vam_ts_DangerousGoodsBasic_constr_1
CC_NOTUSED
= {
16
{ APC_CONSTRAINED, 5, 5, 0, 19 }
/* (0..19) */
,
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) */
21
static
const
asn_INTEGER_enum_map_t
asn_MAP_vam_ts_DangerousGoodsBasic_value2enum_1
[] = {
22
{ 0, 11,
"explosives1"
},
23
{ 1, 11,
"explosives2"
},
24
{ 2, 11,
"explosives3"
},
25
{ 3, 11,
"explosives4"
},
26
{ 4, 11,
"explosives5"
},
27
{ 5, 11,
"explosives6"
},
28
{ 6, 14,
"flammableGases"
},
29
{ 7, 17,
"nonFlammableGases"
},
30
{ 8, 10,
"toxicGases"
},
31
{ 9, 16,
"flammableLiquids"
},
32
{ 10, 15,
"flammableSolids"
},
33
{ 11, 39,
"substancesLiableToSpontaneousCombustion"
},
34
{ 12, 52,
"substancesEmittingFlammableGasesUponContactWithWater"
},
35
{ 13, 19,
"oxidizingSubstances"
},
36
{ 14, 16,
"organicPeroxides"
},
37
{ 15, 15,
"toxicSubstances"
},
38
{ 16, 20,
"infectiousSubstances"
},
39
{ 17, 19,
"radioactiveMaterial"
},
40
{ 18, 19,
"corrosiveSubstances"
},
41
{ 19, 32,
"miscellaneousDangerousSubstances"
}
42
};
43
static
const
unsigned
int
asn_MAP_vam_ts_DangerousGoodsBasic_enum2value_1
[] = {
44
18,
/* corrosiveSubstances(18) */
45
0,
/* explosives1(0) */
46
1,
/* explosives2(1) */
47
2,
/* explosives3(2) */
48
3,
/* explosives4(3) */
49
4,
/* explosives5(4) */
50
5,
/* explosives6(5) */
51
6,
/* flammableGases(6) */
52
9,
/* flammableLiquids(9) */
53
10,
/* flammableSolids(10) */
54
16,
/* infectiousSubstances(16) */
55
19,
/* miscellaneousDangerousSubstances(19) */
56
7,
/* nonFlammableGases(7) */
57
14,
/* organicPeroxides(14) */
58
13,
/* oxidizingSubstances(13) */
59
17,
/* radioactiveMaterial(17) */
60
12,
/* substancesEmittingFlammableGasesUponContactWithWater(12) */
61
11,
/* substancesLiableToSpontaneousCombustion(11) */
62
8,
/* toxicGases(8) */
63
15
/* toxicSubstances(15) */
64
};
65
const
asn_INTEGER_specifics_t
asn_SPC_vam_ts_DangerousGoodsBasic_specs_1
= {
66
asn_MAP_vam_ts_DangerousGoodsBasic_value2enum_1
,
/* "tag" => N; sorted by tag */
67
asn_MAP_vam_ts_DangerousGoodsBasic_enum2value_1
,
/* N => "tag"; sorted by N */
68
20,
/* Number of elements in the maps */
69
0,
/* Enumeration is not extensible */
70
1,
/* Strict enumeration */
71
0,
/* Native long size */
72
0
73
};
74
static
const
ber_tlv_tag_t
asn_DEF_vam_ts_DangerousGoodsBasic_tags_1
[] = {
75
(
ASN_TAG_CLASS_UNIVERSAL
| (10 << 2))
76
};
77
asn_TYPE_descriptor_t
asn_DEF_vam_ts_DangerousGoodsBasic
= {
78
"DangerousGoodsBasic"
,
79
"DangerousGoodsBasic"
,
80
&
asn_OP_NativeEnumerated
,
81
asn_DEF_vam_ts_DangerousGoodsBasic_tags_1
,
82
sizeof
(
asn_DEF_vam_ts_DangerousGoodsBasic_tags_1
)
83
/
sizeof
(
asn_DEF_vam_ts_DangerousGoodsBasic_tags_1
[0]),
/* 1 */
84
asn_DEF_vam_ts_DangerousGoodsBasic_tags_1
,
/* Same as above */
85
sizeof
(
asn_DEF_vam_ts_DangerousGoodsBasic_tags_1
)
86
/
sizeof
(
asn_DEF_vam_ts_DangerousGoodsBasic_tags_1
[0]),
/* 1 */
87
{
88
#if !defined(ASN_DISABLE_OER_SUPPORT)
89
0,
90
#endif
/* !defined(ASN_DISABLE_OER_SUPPORT) */
91
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
92
&
asn_PER_type_vam_ts_DangerousGoodsBasic_constr_1
,
93
#endif
/* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
94
#if !defined(ASN_DISABLE_JER_SUPPORT)
95
0,
96
#endif
/* !defined(ASN_DISABLE_JER_SUPPORT) */
97
NativeEnumerated_constraint
98
},
99
0, 0,
/* Defined elsewhere */
100
&
asn_SPC_vam_ts_DangerousGoodsBasic_specs_1
/* Additional specs */
101
};
102
asn_SPC_vam_ts_DangerousGoodsBasic_specs_1
const asn_INTEGER_specifics_t asn_SPC_vam_ts_DangerousGoodsBasic_specs_1
Definition:
vam_ts_DangerousGoodsBasic.c:65
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
CC_NOTUSED
asn_per_constraints_t asn_PER_type_vam_ts_DangerousGoodsBasic_constr_1 CC_NOTUSED
Definition:
vam_ts_DangerousGoodsBasic.c:15
NativeEnumerated_constraint
#define NativeEnumerated_constraint
Definition:
NativeEnumerated.h:34
asn_MAP_vam_ts_DangerousGoodsBasic_value2enum_1
static const asn_INTEGER_enum_map_t asn_MAP_vam_ts_DangerousGoodsBasic_value2enum_1[]
Definition:
vam_ts_DangerousGoodsBasic.c:21
vam_ts_DangerousGoodsBasic.h
asn_TYPE_descriptor_s
Definition:
constr_TYPE.h:224
asn_PER_type_vam_ts_DangerousGoodsBasic_constr_1
asn_per_constraints_t asn_PER_type_vam_ts_DangerousGoodsBasic_constr_1
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_DangerousGoodsBasic_enum2value_1
static const unsigned int asn_MAP_vam_ts_DangerousGoodsBasic_enum2value_1[]
Definition:
vam_ts_DangerousGoodsBasic.c:43
asn_per_constraints_s
Definition:
per_support.h:30
asn_DEF_vam_ts_DangerousGoodsBasic_tags_1
static const ber_tlv_tag_t asn_DEF_vam_ts_DangerousGoodsBasic_tags_1[]
Definition:
vam_ts_DangerousGoodsBasic.c:74
asn_DEF_vam_ts_DangerousGoodsBasic
asn_TYPE_descriptor_t asn_DEF_vam_ts_DangerousGoodsBasic
Definition:
vam_ts_DangerousGoodsBasic.c:77
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:55