Vanetza
 
Loading...
Searching...
No Matches
ThreeDLocation.c
1/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "IEEE1609dot2BaseTypes"
4 * found in "asn1/IEEE1609dot2BaseTypes.asn"
5 * `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
6 */
7
8#include "ThreeDLocation.h"
9
10asn_TYPE_member_t asn_MBR_ThreeDLocation_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct ThreeDLocation, latitude),
12 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13 -1, /* IMPLICIT tag at current level */
14 &asn_DEF_Latitude,
15 0,
16 {
17#if !defined(ASN_DISABLE_OER_SUPPORT)
18 0,
19#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
20#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
21 0,
22#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
23 0
24 },
25 0, 0, /* No default value */
26 "latitude"
27 },
28 { ATF_NOFLAGS, 0, offsetof(struct ThreeDLocation, longitude),
29 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30 -1, /* IMPLICIT tag at current level */
31 &asn_DEF_Longitude,
32 0,
33 {
34#if !defined(ASN_DISABLE_OER_SUPPORT)
35 0,
36#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
37#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
38 0,
39#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
40 0
41 },
42 0, 0, /* No default value */
43 "longitude"
44 },
45 { ATF_NOFLAGS, 0, offsetof(struct ThreeDLocation, elevation),
46 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
47 -1, /* IMPLICIT tag at current level */
48 &asn_DEF_Elevation,
49 0,
50 {
51#if !defined(ASN_DISABLE_OER_SUPPORT)
52 0,
53#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
54#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
55 0,
56#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
57 0
58 },
59 0, 0, /* No default value */
60 "elevation"
61 },
62};
63static const ber_tlv_tag_t asn_DEF_ThreeDLocation_tags_1[] = {
64 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
65};
66static const asn_TYPE_tag2member_t asn_MAP_ThreeDLocation_tag2el_1[] = {
67 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* latitude */
68 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* longitude */
69 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* elevation */
70};
71asn_SEQUENCE_specifics_t asn_SPC_ThreeDLocation_specs_1 = {
72 sizeof(struct ThreeDLocation),
73 offsetof(struct ThreeDLocation, _asn_ctx),
74 asn_MAP_ThreeDLocation_tag2el_1,
75 3, /* Count of tags in the map */
76 0, 0, 0, /* Optional elements (not needed) */
77 -1, /* First extension addition */
78};
79asn_TYPE_descriptor_t asn_DEF_ThreeDLocation = {
80 "ThreeDLocation",
81 "ThreeDLocation",
82 &asn_OP_SEQUENCE,
83 asn_DEF_ThreeDLocation_tags_1,
84 sizeof(asn_DEF_ThreeDLocation_tags_1)
85 /sizeof(asn_DEF_ThreeDLocation_tags_1[0]), /* 1 */
86 asn_DEF_ThreeDLocation_tags_1, /* Same as above */
87 sizeof(asn_DEF_ThreeDLocation_tags_1)
88 /sizeof(asn_DEF_ThreeDLocation_tags_1[0]), /* 1 */
89 {
90#if !defined(ASN_DISABLE_OER_SUPPORT)
91 0,
92#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
93#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
94 0,
95#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
96 SEQUENCE_constraint
97 },
98 asn_MBR_ThreeDLocation_1,
99 3, /* Elements count */
100 &asn_SPC_ThreeDLocation_specs_1 /* Additional specs */
101};
102