Harald Welte | ee09189 | 2015-09-10 10:22:03 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "RANAP-IEs" |
| 4 | * found in "../../asn1/ranap/RANAP-IEs.asn" |
| 5 | */ |
| 6 | |
Neels Hofmeyr | f1f2d7c | 2016-01-05 12:00:06 +0100 | [diff] [blame] | 7 | #include <osmocom/ranap/RANAP_GeographicalArea.h> |
Harald Welte | ee09189 | 2015-09-10 10:22:03 +0200 | [diff] [blame] | 8 | |
| 9 | static asn_per_constraints_t asn_PER_type_RANAP_GeographicalArea_constr_1 GCC_NOTUSED = { |
| 10 | { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0l, 2l } /* (0..2,...) */, |
| 11 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 12 | 0, 0 /* No PER value map */ |
| 13 | }; |
| 14 | static asn_TYPE_member_t asn_MBR_RANAP_GeographicalArea_1[] = { |
| 15 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_GeographicalArea, choice.point), |
| 16 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 17 | -1, /* IMPLICIT tag at current level */ |
| 18 | &asn_DEF_RANAP_GA_Point, |
| 19 | 0, /* Defer constraints checking to the member type */ |
| 20 | 0, /* No PER visible constraints */ |
| 21 | 0, |
| 22 | "point" |
| 23 | }, |
| 24 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_GeographicalArea, choice.pointWithUnCertainty), |
| 25 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 26 | -1, /* IMPLICIT tag at current level */ |
| 27 | &asn_DEF_RANAP_GA_PointWithUnCertainty, |
| 28 | 0, /* Defer constraints checking to the member type */ |
| 29 | 0, /* No PER visible constraints */ |
| 30 | 0, |
| 31 | "pointWithUnCertainty" |
| 32 | }, |
| 33 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_GeographicalArea, choice.polygon), |
| 34 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 35 | -1, /* IMPLICIT tag at current level */ |
| 36 | &asn_DEF_RANAP_GA_Polygon, |
| 37 | 0, /* Defer constraints checking to the member type */ |
| 38 | 0, /* No PER visible constraints */ |
| 39 | 0, |
| 40 | "polygon" |
| 41 | }, |
| 42 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_GeographicalArea, choice.pointWithUncertaintyEllipse), |
| 43 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 44 | -1, /* IMPLICIT tag at current level */ |
| 45 | &asn_DEF_RANAP_GA_PointWithUnCertaintyEllipse, |
| 46 | 0, /* Defer constraints checking to the member type */ |
| 47 | 0, /* No PER visible constraints */ |
| 48 | 0, |
| 49 | "pointWithUncertaintyEllipse" |
| 50 | }, |
| 51 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_GeographicalArea, choice.pointWithAltitude), |
| 52 | (ASN_TAG_CLASS_CONTEXT | (4 << 2)), |
| 53 | -1, /* IMPLICIT tag at current level */ |
| 54 | &asn_DEF_RANAP_GA_PointWithAltitude, |
| 55 | 0, /* Defer constraints checking to the member type */ |
| 56 | 0, /* No PER visible constraints */ |
| 57 | 0, |
| 58 | "pointWithAltitude" |
| 59 | }, |
| 60 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_GeographicalArea, choice.pointWithAltitudeAndUncertaintyEllipsoid), |
| 61 | (ASN_TAG_CLASS_CONTEXT | (5 << 2)), |
| 62 | -1, /* IMPLICIT tag at current level */ |
| 63 | &asn_DEF_RANAP_GA_PointWithAltitudeAndUncertaintyEllipsoid, |
| 64 | 0, /* Defer constraints checking to the member type */ |
| 65 | 0, /* No PER visible constraints */ |
| 66 | 0, |
| 67 | "pointWithAltitudeAndUncertaintyEllipsoid" |
| 68 | }, |
| 69 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_GeographicalArea, choice.ellipsoidArc), |
| 70 | (ASN_TAG_CLASS_CONTEXT | (6 << 2)), |
| 71 | -1, /* IMPLICIT tag at current level */ |
| 72 | &asn_DEF_RANAP_GA_EllipsoidArc, |
| 73 | 0, /* Defer constraints checking to the member type */ |
| 74 | 0, /* No PER visible constraints */ |
| 75 | 0, |
| 76 | "ellipsoidArc" |
| 77 | }, |
| 78 | }; |
| 79 | static const asn_TYPE_tag2member_t asn_MAP_RANAP_GeographicalArea_tag2el_1[] = { |
| 80 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* point */ |
| 81 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pointWithUnCertainty */ |
| 82 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* polygon */ |
| 83 | { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* pointWithUncertaintyEllipse */ |
| 84 | { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* pointWithAltitude */ |
| 85 | { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* pointWithAltitudeAndUncertaintyEllipsoid */ |
| 86 | { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* ellipsoidArc */ |
| 87 | }; |
| 88 | static asn_CHOICE_specifics_t asn_SPC_RANAP_GeographicalArea_specs_1 = { |
| 89 | sizeof(struct RANAP_GeographicalArea), |
| 90 | offsetof(struct RANAP_GeographicalArea, _asn_ctx), |
| 91 | offsetof(struct RANAP_GeographicalArea, present), |
| 92 | sizeof(((struct RANAP_GeographicalArea *)0)->present), |
| 93 | asn_MAP_RANAP_GeographicalArea_tag2el_1, |
| 94 | 7, /* Count of tags in the map */ |
| 95 | 0, |
| 96 | 3 /* Extensions start */ |
| 97 | }; |
| 98 | asn_TYPE_descriptor_t asn_DEF_RANAP_GeographicalArea = { |
| 99 | "RANAP_GeographicalArea", |
| 100 | "RANAP_GeographicalArea", |
| 101 | CHOICE_free, |
| 102 | CHOICE_print, |
| 103 | CHOICE_constraint, |
| 104 | CHOICE_decode_ber, |
| 105 | CHOICE_encode_der, |
| 106 | CHOICE_decode_xer, |
| 107 | CHOICE_encode_xer, |
| 108 | CHOICE_decode_uper, |
| 109 | CHOICE_encode_uper, |
| 110 | CHOICE_decode_aper, |
| 111 | CHOICE_encode_aper, |
| 112 | CHOICE_outmost_tag, |
| 113 | 0, /* No effective tags (pointer) */ |
| 114 | 0, /* No effective tags (count) */ |
| 115 | 0, /* No tags (pointer) */ |
| 116 | 0, /* No tags (count) */ |
| 117 | &asn_PER_type_RANAP_GeographicalArea_constr_1, |
| 118 | asn_MBR_RANAP_GeographicalArea_1, |
| 119 | 7, /* Elements count */ |
| 120 | &asn_SPC_RANAP_GeographicalArea_specs_1 /* Additional specs */ |
| 121 | }; |
| 122 | |