src
spatem_ts_ElevationConfidence.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_ElevationConfidence.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_ElevationConfidence_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_ElevationConfidence_value2enum_1
[] = {
22
{ 0, 11,
"unavailable"
},
23
{ 1, 11,
"elev-500-00"
},
24
{ 2, 11,
"elev-200-00"
},
25
{ 3, 11,
"elev-100-00"
},
26
{ 4, 11,
"elev-050-00"
},
27
{ 5, 11,
"elev-020-00"
},
28
{ 6, 11,
"elev-010-00"
},
29
{ 7, 11,
"elev-005-00"
},
30
{ 8, 11,
"elev-002-00"
},
31
{ 9, 11,
"elev-001-00"
},
32
{ 10, 11,
"elev-000-50"
},
33
{ 11, 11,
"elev-000-20"
},
34
{ 12, 11,
"elev-000-10"
},
35
{ 13, 11,
"elev-000-05"
},
36
{ 14, 11,
"elev-000-02"
},
37
{ 15, 11,
"elev-000-01"
}
38
};
39
static
const
unsigned
int
asn_MAP_spatem_ts_ElevationConfidence_enum2value_1
[] = {
40
15,
/* elev-000-01(15) */
41
14,
/* elev-000-02(14) */
42
13,
/* elev-000-05(13) */
43
12,
/* elev-000-10(12) */
44
11,
/* elev-000-20(11) */
45
10,
/* elev-000-50(10) */
46
9,
/* elev-001-00(9) */
47
8,
/* elev-002-00(8) */
48
7,
/* elev-005-00(7) */
49
6,
/* elev-010-00(6) */
50
5,
/* elev-020-00(5) */
51
4,
/* elev-050-00(4) */
52
3,
/* elev-100-00(3) */
53
2,
/* elev-200-00(2) */
54
1,
/* elev-500-00(1) */
55
0
/* unavailable(0) */
56
};
57
const
asn_INTEGER_specifics_t
asn_SPC_spatem_ts_ElevationConfidence_specs_1
= {
58
asn_MAP_spatem_ts_ElevationConfidence_value2enum_1
,
/* "tag" => N; sorted by tag */
59
asn_MAP_spatem_ts_ElevationConfidence_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_ElevationConfidence_tags_1
[] = {
67
(
ASN_TAG_CLASS_UNIVERSAL
| (10 << 2))
68
};
69
asn_TYPE_descriptor_t
asn_DEF_spatem_ts_ElevationConfidence
= {
70
"ElevationConfidence"
,
71
"ElevationConfidence"
,
72
&
asn_OP_NativeEnumerated
,
73
asn_DEF_spatem_ts_ElevationConfidence_tags_1
,
74
sizeof
(
asn_DEF_spatem_ts_ElevationConfidence_tags_1
)
75
/
sizeof
(
asn_DEF_spatem_ts_ElevationConfidence_tags_1
[0]),
/* 1 */
76
asn_DEF_spatem_ts_ElevationConfidence_tags_1
,
/* Same as above */
77
sizeof
(
asn_DEF_spatem_ts_ElevationConfidence_tags_1
)
78
/
sizeof
(
asn_DEF_spatem_ts_ElevationConfidence_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_ElevationConfidence_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_ElevationConfidence_specs_1
/* Additional specs */
93
};
94
CC_NOTUSED
asn_per_constraints_t asn_PER_type_spatem_ts_ElevationConfidence_constr_1 CC_NOTUSED
Definition:
spatem_ts_ElevationConfidence.c:15
asn_MAP_spatem_ts_ElevationConfidence_value2enum_1
static const asn_INTEGER_enum_map_t asn_MAP_spatem_ts_ElevationConfidence_value2enum_1[]
Definition:
spatem_ts_ElevationConfidence.c:21
ber_tlv_tag_t
unsigned ber_tlv_tag_t
Definition:
ber_tlv_tag.h:18
spatem_ts_ElevationConfidence.h
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_DEF_spatem_ts_ElevationConfidence_tags_1
static const ber_tlv_tag_t asn_DEF_spatem_ts_ElevationConfidence_tags_1[]
Definition:
spatem_ts_ElevationConfidence.c:66
asn_OP_NativeEnumerated
asn_TYPE_operation_t asn_OP_NativeEnumerated
Definition:
NativeEnumerated.c:21
asn_INTEGER_specifics_s
Definition:
INTEGER.h:28
asn_SPC_spatem_ts_ElevationConfidence_specs_1
const asn_INTEGER_specifics_t asn_SPC_spatem_ts_ElevationConfidence_specs_1
Definition:
spatem_ts_ElevationConfidence.c:57
asn_PER_type_spatem_ts_ElevationConfidence_constr_1
asn_per_constraints_t asn_PER_type_spatem_ts_ElevationConfidence_constr_1
asn_DEF_spatem_ts_ElevationConfidence
asn_TYPE_descriptor_t asn_DEF_spatem_ts_ElevationConfidence
Definition:
spatem_ts_ElevationConfidence.c:69
asn_per_constraints_s
Definition:
per_support.h:30
asn_MAP_spatem_ts_ElevationConfidence_enum2value_1
static const unsigned int asn_MAP_spatem_ts_ElevationConfidence_enum2value_1[]
Definition:
spatem_ts_ElevationConfidence.c:39
asn_INTEGER_enum_map_s
Definition:
INTEGER.h:21
etsi_its_spatem_ts_coding
Author(s): Jean-Pierre Busch
, Guido Küppers
, Lennart Reiher
autogenerated on Sun May 18 2025 02:29:28