Add version 0.5.0
[ric-plt/submgr.git] / e2ap / lib / LastVisitedCell-Item.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "Spec/e2ap-v031ex.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "LastVisitedCell-Item.h"
9
10 #include "LastVisitedEUTRANCellInformation.h"
11 #include "LastVisitedGERANCellInformation.h"
12 static asn_oer_constraints_t asn_OER_type_LastVisitedCell_Item_constr_1 CC_NOTUSED = {
13         { 0, 0 },
14         -1};
15 asn_per_constraints_t asn_PER_type_LastVisitedCell_Item_constr_1 CC_NOTUSED = {
16         { APC_CONSTRAINED | APC_EXTENSIBLE,  2,  2,  0,  2 }    /* (0..2,...) */,
17         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
18         0, 0    /* No PER value map */
19 };
20 asn_TYPE_member_t asn_MBR_LastVisitedCell_Item_1[] = {
21         { ATF_POINTER, 0, offsetof(struct LastVisitedCell_Item, choice.e_UTRAN_Cell),
22                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_LastVisitedEUTRANCellInformation,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "e-UTRAN-Cell"
29                 },
30         { ATF_NOFLAGS, 0, offsetof(struct LastVisitedCell_Item, choice.uTRAN_Cell),
31                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_LastVisitedUTRANCellInformation,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "uTRAN-Cell"
38                 },
39         { ATF_POINTER, 0, offsetof(struct LastVisitedCell_Item, choice.gERAN_Cell),
40                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
41                 +1,     /* EXPLICIT tag at current level */
42                 &asn_DEF_LastVisitedGERANCellInformation,
43                 0,
44                 { 0, 0, 0 },
45                 0, 0, /* No default value */
46                 "gERAN-Cell"
47                 },
48         { ATF_NOFLAGS, 0, offsetof(struct LastVisitedCell_Item, choice.nG_RAN_Cell),
49                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
50                 -1,     /* IMPLICIT tag at current level */
51                 &asn_DEF_LastVisitedNGRANCellInformation,
52                 0,
53                 { 0, 0, 0 },
54                 0, 0, /* No default value */
55                 "nG-RAN-Cell"
56                 },
57 };
58 static const asn_TYPE_tag2member_t asn_MAP_LastVisitedCell_Item_tag2el_1[] = {
59     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-UTRAN-Cell */
60     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uTRAN-Cell */
61     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gERAN-Cell */
62     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* nG-RAN-Cell */
63 };
64 asn_CHOICE_specifics_t asn_SPC_LastVisitedCell_Item_specs_1 = {
65         sizeof(struct LastVisitedCell_Item),
66         offsetof(struct LastVisitedCell_Item, _asn_ctx),
67         offsetof(struct LastVisitedCell_Item, present),
68         sizeof(((struct LastVisitedCell_Item *)0)->present),
69         asn_MAP_LastVisitedCell_Item_tag2el_1,
70         4,      /* Count of tags in the map */
71         0, 0,
72         3       /* Extensions start */
73 };
74 asn_TYPE_descriptor_t asn_DEF_LastVisitedCell_Item = {
75         "LastVisitedCell-Item",
76         "LastVisitedCell-Item",
77         &asn_OP_CHOICE,
78         0,      /* No effective tags (pointer) */
79         0,      /* No effective tags (count) */
80         0,      /* No tags (pointer) */
81         0,      /* No tags (count) */
82         { &asn_OER_type_LastVisitedCell_Item_constr_1, &asn_PER_type_LastVisitedCell_Item_constr_1, CHOICE_constraint },
83         asn_MBR_LastVisitedCell_Item_1,
84         4,      /* Elements count */
85         &asn_SPC_LastVisitedCell_Item_specs_1   /* Additional specs */
86 };
87