src
spatem_ts_RequestImportanceLevel.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 "DSRC"
4
* found in "/input/ISO-TS-19091-addgrp-C-2018-patched.asn"
5
* `asn1c -fcompound-names -fprefix=spatem_ts_ -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-example -gen-UPER -gen-JER`
6
*/
7
8
#include "
etsi_its_spatem_ts_coding/spatem_ts_RequestImportanceLevel.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_spatem_ts_RequestImportanceLevel_constr_1
CC_NOTUSED
= {
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) */
21
static
const
asn_INTEGER_enum_map_t
asn_MAP_spatem_ts_RequestImportanceLevel_value2enum_1
[] = {
22
{ 0, 29,
"requestImportanceLevelUnKnown"
},
23
{ 1, 23,
"requestImportanceLevel1"
},
24
{ 2, 23,
"requestImportanceLevel2"
},
25
{ 3, 23,
"requestImportanceLevel3"
},
26
{ 4, 23,
"requestImportanceLevel4"
},
27
{ 5, 23,
"requestImportanceLevel5"
},
28
{ 6, 23,
"requestImportanceLevel6"
},
29
{ 7, 23,
"requestImportanceLevel7"
},
30
{ 8, 23,
"requestImportanceLevel8"
},
31
{ 9, 23,
"requestImportanceLevel9"
},
32
{ 10, 24,
"requestImportanceLevel10"
},
33
{ 11, 24,
"requestImportanceLevel11"
},
34
{ 12, 24,
"requestImportanceLevel12"
},
35
{ 13, 24,
"requestImportanceLevel13"
},
36
{ 14, 24,
"requestImportanceLevel14"
},
37
{ 15, 25,
"requestImportanceReserved"
}
38
};
39
static
const
unsigned
int
asn_MAP_spatem_ts_RequestImportanceLevel_enum2value_1
[] = {
40
1,
/* requestImportanceLevel1(1) */
41
10,
/* requestImportanceLevel10(10) */
42
11,
/* requestImportanceLevel11(11) */
43
12,
/* requestImportanceLevel12(12) */
44
13,
/* requestImportanceLevel13(13) */
45
14,
/* requestImportanceLevel14(14) */
46
2,
/* requestImportanceLevel2(2) */
47
3,
/* requestImportanceLevel3(3) */
48
4,
/* requestImportanceLevel4(4) */
49
5,
/* requestImportanceLevel5(5) */
50
6,
/* requestImportanceLevel6(6) */
51
7,
/* requestImportanceLevel7(7) */
52
8,
/* requestImportanceLevel8(8) */
53
9,
/* requestImportanceLevel9(9) */
54
0,
/* requestImportanceLevelUnKnown(0) */
55
15
/* requestImportanceReserved(15) */
56
};
57
const
asn_INTEGER_specifics_t
asn_SPC_spatem_ts_RequestImportanceLevel_specs_1
= {
58
asn_MAP_spatem_ts_RequestImportanceLevel_value2enum_1
,
/* "tag" => N; sorted by tag */
59
asn_MAP_spatem_ts_RequestImportanceLevel_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
};
66
static
const
ber_tlv_tag_t
asn_DEF_spatem_ts_RequestImportanceLevel_tags_1
[] = {
67
(
ASN_TAG_CLASS_UNIVERSAL
| (10 << 2))
68
};
69
asn_TYPE_descriptor_t
asn_DEF_spatem_ts_RequestImportanceLevel
= {
70
"RequestImportanceLevel"
,
71
"RequestImportanceLevel"
,
72
&
asn_OP_NativeEnumerated
,
73
asn_DEF_spatem_ts_RequestImportanceLevel_tags_1
,
74
sizeof
(
asn_DEF_spatem_ts_RequestImportanceLevel_tags_1
)
75
/
sizeof
(
asn_DEF_spatem_ts_RequestImportanceLevel_tags_1
[0]),
/* 1 */
76
asn_DEF_spatem_ts_RequestImportanceLevel_tags_1
,
/* Same as above */
77
sizeof
(
asn_DEF_spatem_ts_RequestImportanceLevel_tags_1
)
78
/
sizeof
(
asn_DEF_spatem_ts_RequestImportanceLevel_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)
84
&
asn_PER_type_spatem_ts_RequestImportanceLevel_constr_1
,
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) */
89
NativeEnumerated_constraint
90
},
91
0, 0,
/* Defined elsewhere */
92
&
asn_SPC_spatem_ts_RequestImportanceLevel_specs_1
/* Additional specs */
93
};
94
asn_MAP_spatem_ts_RequestImportanceLevel_value2enum_1
static const asn_INTEGER_enum_map_t asn_MAP_spatem_ts_RequestImportanceLevel_value2enum_1[]
Definition:
spatem_ts_RequestImportanceLevel.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_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_PER_type_spatem_ts_RequestImportanceLevel_constr_1
asn_per_constraints_t asn_PER_type_spatem_ts_RequestImportanceLevel_constr_1
asn_MAP_spatem_ts_RequestImportanceLevel_enum2value_1
static const unsigned int asn_MAP_spatem_ts_RequestImportanceLevel_enum2value_1[]
Definition:
spatem_ts_RequestImportanceLevel.c:39
asn_per_constraints_s
Definition:
per_support.h:30
CC_NOTUSED
asn_per_constraints_t asn_PER_type_spatem_ts_RequestImportanceLevel_constr_1 CC_NOTUSED
Definition:
spatem_ts_RequestImportanceLevel.c:15
spatem_ts_RequestImportanceLevel.h
asn_SPC_spatem_ts_RequestImportanceLevel_specs_1
const asn_INTEGER_specifics_t asn_SPC_spatem_ts_RequestImportanceLevel_specs_1
Definition:
spatem_ts_RequestImportanceLevel.c:57
asn_DEF_spatem_ts_RequestImportanceLevel_tags_1
static const ber_tlv_tag_t asn_DEF_spatem_ts_RequestImportanceLevel_tags_1[]
Definition:
spatem_ts_RequestImportanceLevel.c:66
asn_INTEGER_enum_map_s
Definition:
INTEGER.h:21
asn_DEF_spatem_ts_RequestImportanceLevel
asn_TYPE_descriptor_t asn_DEF_spatem_ts_RequestImportanceLevel
Definition:
spatem_ts_RequestImportanceLevel.c:69
etsi_its_spatem_ts_coding
Author(s): Jean-Pierre Busch
, Guido Küppers
, Lennart Reiher
autogenerated on Sun May 18 2025 02:29:29