src
spatem_ts_NodeAttributeXY.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_NodeAttributeXY.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_NodeAttributeXY_constr_1
CC_NOTUSED
= {
16
{ APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 11 }
/* (0..11,...) */
,
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_NodeAttributeXY_value2enum_1
[] = {
22
{ 0, 8,
"reserved"
},
23
{ 1, 8,
"stopLine"
},
24
{ 2, 16,
"roundedCapStyleA"
},
25
{ 3, 16,
"roundedCapStyleB"
},
26
{ 4, 10,
"mergePoint"
},
27
{ 5, 12,
"divergePoint"
},
28
{ 6, 18,
"downstreamStopLine"
},
29
{ 7, 19,
"downstreamStartNode"
},
30
{ 8, 15,
"closedToTraffic"
},
31
{ 9, 10,
"safeIsland"
},
32
{ 10, 20,
"curbPresentAtStepOff"
},
33
{ 11, 14,
"hydrantPresent"
}
34
/* This list is extensible */
35
};
36
static
const
unsigned
int
asn_MAP_spatem_ts_NodeAttributeXY_enum2value_1
[] = {
37
8,
/* closedToTraffic(8) */
38
10,
/* curbPresentAtStepOff(10) */
39
5,
/* divergePoint(5) */
40
7,
/* downstreamStartNode(7) */
41
6,
/* downstreamStopLine(6) */
42
11,
/* hydrantPresent(11) */
43
4,
/* mergePoint(4) */
44
0,
/* reserved(0) */
45
2,
/* roundedCapStyleA(2) */
46
3,
/* roundedCapStyleB(3) */
47
9,
/* safeIsland(9) */
48
1
/* stopLine(1) */
49
/* This list is extensible */
50
};
51
const
asn_INTEGER_specifics_t
asn_SPC_spatem_ts_NodeAttributeXY_specs_1
= {
52
asn_MAP_spatem_ts_NodeAttributeXY_value2enum_1
,
/* "tag" => N; sorted by tag */
53
asn_MAP_spatem_ts_NodeAttributeXY_enum2value_1
,
/* N => "tag"; sorted by N */
54
12,
/* Number of elements in the maps */
55
13,
/* Extensions before this member */
56
1,
/* Strict enumeration */
57
0,
/* Native long size */
58
0
59
};
60
static
const
ber_tlv_tag_t
asn_DEF_spatem_ts_NodeAttributeXY_tags_1
[] = {
61
(
ASN_TAG_CLASS_UNIVERSAL
| (10 << 2))
62
};
63
asn_TYPE_descriptor_t
asn_DEF_spatem_ts_NodeAttributeXY
= {
64
"NodeAttributeXY"
,
65
"NodeAttributeXY"
,
66
&
asn_OP_NativeEnumerated
,
67
asn_DEF_spatem_ts_NodeAttributeXY_tags_1
,
68
sizeof
(
asn_DEF_spatem_ts_NodeAttributeXY_tags_1
)
69
/
sizeof
(
asn_DEF_spatem_ts_NodeAttributeXY_tags_1
[0]),
/* 1 */
70
asn_DEF_spatem_ts_NodeAttributeXY_tags_1
,
/* Same as above */
71
sizeof
(
asn_DEF_spatem_ts_NodeAttributeXY_tags_1
)
72
/
sizeof
(
asn_DEF_spatem_ts_NodeAttributeXY_tags_1
[0]),
/* 1 */
73
{
74
#if !defined(ASN_DISABLE_OER_SUPPORT)
75
0,
76
#endif
/* !defined(ASN_DISABLE_OER_SUPPORT) */
77
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
78
&
asn_PER_type_spatem_ts_NodeAttributeXY_constr_1
,
79
#endif
/* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
80
#if !defined(ASN_DISABLE_JER_SUPPORT)
81
0,
82
#endif
/* !defined(ASN_DISABLE_JER_SUPPORT) */
83
NativeEnumerated_constraint
84
},
85
0, 0,
/* Defined elsewhere */
86
&
asn_SPC_spatem_ts_NodeAttributeXY_specs_1
/* Additional specs */
87
};
88
asn_MAP_spatem_ts_NodeAttributeXY_value2enum_1
static const asn_INTEGER_enum_map_t asn_MAP_spatem_ts_NodeAttributeXY_value2enum_1[]
Definition:
spatem_ts_NodeAttributeXY.c:21
asn_DEF_spatem_ts_NodeAttributeXY_tags_1
static const ber_tlv_tag_t asn_DEF_spatem_ts_NodeAttributeXY_tags_1[]
Definition:
spatem_ts_NodeAttributeXY.c:60
asn_DEF_spatem_ts_NodeAttributeXY
asn_TYPE_descriptor_t asn_DEF_spatem_ts_NodeAttributeXY
Definition:
spatem_ts_NodeAttributeXY.c:63
asn_SPC_spatem_ts_NodeAttributeXY_specs_1
const asn_INTEGER_specifics_t asn_SPC_spatem_ts_NodeAttributeXY_specs_1
Definition:
spatem_ts_NodeAttributeXY.c:51
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
CC_NOTUSED
asn_per_constraints_t asn_PER_type_spatem_ts_NodeAttributeXY_constr_1 CC_NOTUSED
Definition:
spatem_ts_NodeAttributeXY.c:15
asn_TYPE_descriptor_s
Definition:
constr_TYPE.h:224
asn_OP_NativeEnumerated
asn_TYPE_operation_t asn_OP_NativeEnumerated
Definition:
NativeEnumerated.c:21
asn_MAP_spatem_ts_NodeAttributeXY_enum2value_1
static const unsigned int asn_MAP_spatem_ts_NodeAttributeXY_enum2value_1[]
Definition:
spatem_ts_NodeAttributeXY.c:36
asn_INTEGER_specifics_s
Definition:
INTEGER.h:28
asn_per_constraints_s
Definition:
per_support.h:30
spatem_ts_NodeAttributeXY.h
asn_PER_type_spatem_ts_NodeAttributeXY_constr_1
asn_per_constraints_t asn_PER_type_spatem_ts_NodeAttributeXY_constr_1
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