denm_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 "ITS-Container"
4  * found in "/input/ITS-Container.asn"
5  * `asn1c -fcompound-names -fprefix=denm_ -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, 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) */
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_denm_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 };
66  asn_MAP_denm_DangerousGoodsBasic_value2enum_1, /* "tag" => N; sorted by tag */
67  asn_MAP_denm_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 };
75  (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
76 };
78  "DangerousGoodsBasic",
79  "DangerousGoodsBasic",
83  /sizeof(asn_DEF_denm_DangerousGoodsBasic_tags_1[0]), /* 1 */
84  asn_DEF_denm_DangerousGoodsBasic_tags_1, /* Same as above */
86  /sizeof(asn_DEF_denm_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)
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) */
98  },
99  0, 0, /* Defined elsewhere */
100  &asn_SPC_denm_DangerousGoodsBasic_specs_1 /* Additional specs */
101 };
102 
denm_DangerousGoodsBasic.h
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
asn_SPC_denm_DangerousGoodsBasic_specs_1
const asn_INTEGER_specifics_t asn_SPC_denm_DangerousGoodsBasic_specs_1
Definition: denm_DangerousGoodsBasic.c:65
asn_MAP_denm_DangerousGoodsBasic_value2enum_1
static const asn_INTEGER_enum_map_t asn_MAP_denm_DangerousGoodsBasic_value2enum_1[]
Definition: denm_DangerousGoodsBasic.c:21
NativeEnumerated_constraint
#define NativeEnumerated_constraint
Definition: NativeEnumerated.h:34
asn_PER_type_denm_DangerousGoodsBasic_constr_1
asn_per_constraints_t asn_PER_type_denm_DangerousGoodsBasic_constr_1
CC_NOTUSED
asn_per_constraints_t asn_PER_type_denm_DangerousGoodsBasic_constr_1 CC_NOTUSED
Definition: denm_DangerousGoodsBasic.c:15
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
asn_MAP_denm_DangerousGoodsBasic_enum2value_1
static const unsigned int asn_MAP_denm_DangerousGoodsBasic_enum2value_1[]
Definition: denm_DangerousGoodsBasic.c:43
asn_DEF_denm_DangerousGoodsBasic
asn_TYPE_descriptor_t asn_DEF_denm_DangerousGoodsBasic
Definition: denm_DangerousGoodsBasic.c:77
asn_OP_NativeEnumerated
asn_TYPE_operation_t asn_OP_NativeEnumerated
Definition: NativeEnumerated.c:21
asn_INTEGER_specifics_s
Definition: INTEGER.h:28
asn_per_constraints_s
Definition: per_support.h:30
asn_DEF_denm_DangerousGoodsBasic_tags_1
static const ber_tlv_tag_t asn_DEF_denm_DangerousGoodsBasic_tags_1[]
Definition: denm_DangerousGoodsBasic.c:74
asn_INTEGER_enum_map_s
Definition: INTEGER.h:21


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