src
spatem_ts_SegmentAttributeXY.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_SegmentAttributeXY.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_SegmentAttributeXY_constr_1
CC_NOTUSED
= {
16
{ APC_CONSTRAINED | APC_EXTENSIBLE, 6, 6, 0, 37 }
/* (0..37,...) */
,
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_SegmentAttributeXY_value2enum_1
[] = {
22
{ 0, 8,
"reserved"
},
23
{ 1, 10,
"doNotBlock"
},
24
{ 2, 9,
"whiteLine"
},
25
{ 3, 15,
"mergingLaneLeft"
},
26
{ 4, 16,
"mergingLaneRight"
},
27
{ 5, 10,
"curbOnLeft"
},
28
{ 6, 11,
"curbOnRight"
},
29
{ 7, 17,
"loadingzoneOnLeft"
},
30
{ 8, 18,
"loadingzoneOnRight"
},
31
{ 9, 18,
"turnOutPointOnLeft"
},
32
{ 10, 19,
"turnOutPointOnRight"
},
33
{ 11, 21,
"adjacentParkingOnLeft"
},
34
{ 12, 22,
"adjacentParkingOnRight"
},
35
{ 13, 22,
"adjacentBikeLaneOnLeft"
},
36
{ 14, 23,
"adjacentBikeLaneOnRight"
},
37
{ 15, 14,
"sharedBikeLane"
},
38
{ 16, 14,
"bikeBoxInFront"
},
39
{ 17, 17,
"transitStopOnLeft"
},
40
{ 18, 18,
"transitStopOnRight"
},
41
{ 19, 17,
"transitStopInLane"
},
42
{ 20, 24,
"sharedWithTrackedVehicle"
},
43
{ 21, 10,
"safeIsland"
},
44
{ 22, 15,
"lowCurbsPresent"
},
45
{ 23, 18,
"rumbleStripPresent"
},
46
{ 24, 23,
"audibleSignalingPresent"
},
47
{ 25, 21,
"adaptiveTimingPresent"
},
48
{ 26, 22,
"rfSignalRequestPresent"
},
49
{ 27, 20,
"partialCurbIntrusion"
},
50
{ 28, 11,
"taperToLeft"
},
51
{ 29, 12,
"taperToRight"
},
52
{ 30, 17,
"taperToCenterLine"
},
53
{ 31, 15,
"parallelParking"
},
54
{ 32, 13,
"headInParking"
},
55
{ 33, 11,
"freeParking"
},
56
{ 34, 25,
"timeRestrictionsOnParking"
},
57
{ 35, 10,
"costToPark"
},
58
{ 36, 19,
"midBlockCurbPresent"
},
59
{ 37, 21,
"unEvenPavementPresent"
}
60
/* This list is extensible */
61
};
62
static
const
unsigned
int
asn_MAP_spatem_ts_SegmentAttributeXY_enum2value_1
[] = {
63
25,
/* adaptiveTimingPresent(25) */
64
13,
/* adjacentBikeLaneOnLeft(13) */
65
14,
/* adjacentBikeLaneOnRight(14) */
66
11,
/* adjacentParkingOnLeft(11) */
67
12,
/* adjacentParkingOnRight(12) */
68
24,
/* audibleSignalingPresent(24) */
69
16,
/* bikeBoxInFront(16) */
70
35,
/* costToPark(35) */
71
5,
/* curbOnLeft(5) */
72
6,
/* curbOnRight(6) */
73
1,
/* doNotBlock(1) */
74
33,
/* freeParking(33) */
75
32,
/* headInParking(32) */
76
7,
/* loadingzoneOnLeft(7) */
77
8,
/* loadingzoneOnRight(8) */
78
22,
/* lowCurbsPresent(22) */
79
3,
/* mergingLaneLeft(3) */
80
4,
/* mergingLaneRight(4) */
81
36,
/* midBlockCurbPresent(36) */
82
31,
/* parallelParking(31) */
83
27,
/* partialCurbIntrusion(27) */
84
0,
/* reserved(0) */
85
26,
/* rfSignalRequestPresent(26) */
86
23,
/* rumbleStripPresent(23) */
87
21,
/* safeIsland(21) */
88
15,
/* sharedBikeLane(15) */
89
20,
/* sharedWithTrackedVehicle(20) */
90
30,
/* taperToCenterLine(30) */
91
28,
/* taperToLeft(28) */
92
29,
/* taperToRight(29) */
93
34,
/* timeRestrictionsOnParking(34) */
94
19,
/* transitStopInLane(19) */
95
17,
/* transitStopOnLeft(17) */
96
18,
/* transitStopOnRight(18) */
97
9,
/* turnOutPointOnLeft(9) */
98
10,
/* turnOutPointOnRight(10) */
99
37,
/* unEvenPavementPresent(37) */
100
2
/* whiteLine(2) */
101
/* This list is extensible */
102
};
103
const
asn_INTEGER_specifics_t
asn_SPC_spatem_ts_SegmentAttributeXY_specs_1
= {
104
asn_MAP_spatem_ts_SegmentAttributeXY_value2enum_1
,
/* "tag" => N; sorted by tag */
105
asn_MAP_spatem_ts_SegmentAttributeXY_enum2value_1
,
/* N => "tag"; sorted by N */
106
38,
/* Number of elements in the maps */
107
39,
/* Extensions before this member */
108
1,
/* Strict enumeration */
109
0,
/* Native long size */
110
0
111
};
112
static
const
ber_tlv_tag_t
asn_DEF_spatem_ts_SegmentAttributeXY_tags_1
[] = {
113
(
ASN_TAG_CLASS_UNIVERSAL
| (10 << 2))
114
};
115
asn_TYPE_descriptor_t
asn_DEF_spatem_ts_SegmentAttributeXY
= {
116
"SegmentAttributeXY"
,
117
"SegmentAttributeXY"
,
118
&
asn_OP_NativeEnumerated
,
119
asn_DEF_spatem_ts_SegmentAttributeXY_tags_1
,
120
sizeof
(
asn_DEF_spatem_ts_SegmentAttributeXY_tags_1
)
121
/
sizeof
(
asn_DEF_spatem_ts_SegmentAttributeXY_tags_1
[0]),
/* 1 */
122
asn_DEF_spatem_ts_SegmentAttributeXY_tags_1
,
/* Same as above */
123
sizeof
(
asn_DEF_spatem_ts_SegmentAttributeXY_tags_1
)
124
/
sizeof
(
asn_DEF_spatem_ts_SegmentAttributeXY_tags_1
[0]),
/* 1 */
125
{
126
#if !defined(ASN_DISABLE_OER_SUPPORT)
127
0,
128
#endif
/* !defined(ASN_DISABLE_OER_SUPPORT) */
129
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
130
&
asn_PER_type_spatem_ts_SegmentAttributeXY_constr_1
,
131
#endif
/* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
132
#if !defined(ASN_DISABLE_JER_SUPPORT)
133
0,
134
#endif
/* !defined(ASN_DISABLE_JER_SUPPORT) */
135
NativeEnumerated_constraint
136
},
137
0, 0,
/* Defined elsewhere */
138
&
asn_SPC_spatem_ts_SegmentAttributeXY_specs_1
/* Additional specs */
139
};
140
asn_DEF_spatem_ts_SegmentAttributeXY_tags_1
static const ber_tlv_tag_t asn_DEF_spatem_ts_SegmentAttributeXY_tags_1[]
Definition:
spatem_ts_SegmentAttributeXY.c:112
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_spatem_ts_SegmentAttributeXY_specs_1
const asn_INTEGER_specifics_t asn_SPC_spatem_ts_SegmentAttributeXY_specs_1
Definition:
spatem_ts_SegmentAttributeXY.c:103
NativeEnumerated_constraint
#define NativeEnumerated_constraint
Definition:
NativeEnumerated.h:34
asn_TYPE_descriptor_s
Definition:
constr_TYPE.h:224
asn_MAP_spatem_ts_SegmentAttributeXY_value2enum_1
static const asn_INTEGER_enum_map_t asn_MAP_spatem_ts_SegmentAttributeXY_value2enum_1[]
Definition:
spatem_ts_SegmentAttributeXY.c:21
asn_OP_NativeEnumerated
asn_TYPE_operation_t asn_OP_NativeEnumerated
Definition:
NativeEnumerated.c:21
asn_INTEGER_specifics_s
Definition:
INTEGER.h:28
spatem_ts_SegmentAttributeXY.h
asn_DEF_spatem_ts_SegmentAttributeXY
asn_TYPE_descriptor_t asn_DEF_spatem_ts_SegmentAttributeXY
Definition:
spatem_ts_SegmentAttributeXY.c:115
asn_PER_type_spatem_ts_SegmentAttributeXY_constr_1
asn_per_constraints_t asn_PER_type_spatem_ts_SegmentAttributeXY_constr_1
asn_per_constraints_s
Definition:
per_support.h:30
CC_NOTUSED
asn_per_constraints_t asn_PER_type_spatem_ts_SegmentAttributeXY_constr_1 CC_NOTUSED
Definition:
spatem_ts_SegmentAttributeXY.c:15
asn_MAP_spatem_ts_SegmentAttributeXY_enum2value_1
static const unsigned int asn_MAP_spatem_ts_SegmentAttributeXY_enum2value_1[]
Definition:
spatem_ts_SegmentAttributeXY.c:62
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:29