Updated documentation for mock a1 tool
[ric-app/admin.git] / asn1c_defs / X2N_AreaScopeOfMDT.c
1 /*
2  * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "../../asn_defs/asn1/x2ap-15-04.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
6  */
7
8 #include "X2N_AreaScopeOfMDT.h"
9
10 #include "X2N_CellBasedMDT.h"
11 #include "X2N_TABasedMDT.h"
12 #include "X2N_TAIBasedMDT.h"
13 asn_per_constraints_t asn_PER_type_X2N_AreaScopeOfMDT_constr_1 CC_NOTUSED = {
14         { APC_CONSTRAINED | APC_EXTENSIBLE,  2,  2,  0,  2 }    /* (0..2,...) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 asn_TYPE_member_t asn_MBR_X2N_AreaScopeOfMDT_1[] = {
19         { ATF_POINTER, 0, offsetof(struct X2N_AreaScopeOfMDT, choice.cellBased),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_X2N_CellBasedMDT,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "cellBased"
27                 },
28         { ATF_POINTER, 0, offsetof(struct X2N_AreaScopeOfMDT, choice.tABased),
29                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_X2N_TABasedMDT,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "tABased"
36                 },
37         { ATF_NOFLAGS, 0, offsetof(struct X2N_AreaScopeOfMDT, choice.pLMNWide),
38                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
39                 -1,     /* IMPLICIT tag at current level */
40                 &asn_DEF_NULL,
41                 0,
42                 { 0, 0, 0 },
43                 0, 0, /* No default value */
44                 "pLMNWide"
45                 },
46         { ATF_POINTER, 0, offsetof(struct X2N_AreaScopeOfMDT, choice.tAIBased),
47                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
48                 -1,     /* IMPLICIT tag at current level */
49                 &asn_DEF_X2N_TAIBasedMDT,
50                 0,
51                 { 0, 0, 0 },
52                 0, 0, /* No default value */
53                 "tAIBased"
54                 },
55 };
56 static const asn_TYPE_tag2member_t asn_MAP_X2N_AreaScopeOfMDT_tag2el_1[] = {
57     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellBased */
58     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* tABased */
59     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pLMNWide */
60     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* tAIBased */
61 };
62 asn_CHOICE_specifics_t asn_SPC_X2N_AreaScopeOfMDT_specs_1 = {
63         sizeof(struct X2N_AreaScopeOfMDT),
64         offsetof(struct X2N_AreaScopeOfMDT, _asn_ctx),
65         offsetof(struct X2N_AreaScopeOfMDT, present),
66         sizeof(((struct X2N_AreaScopeOfMDT *)0)->present),
67         asn_MAP_X2N_AreaScopeOfMDT_tag2el_1,
68         4,      /* Count of tags in the map */
69         0, 0,
70         3       /* Extensions start */
71 };
72 asn_TYPE_descriptor_t asn_DEF_X2N_AreaScopeOfMDT = {
73         "AreaScopeOfMDT",
74         "AreaScopeOfMDT",
75         &asn_OP_CHOICE,
76         0,      /* No effective tags (pointer) */
77         0,      /* No effective tags (count) */
78         0,      /* No tags (pointer) */
79         0,      /* No tags (count) */
80         { 0, &asn_PER_type_X2N_AreaScopeOfMDT_constr_1, CHOICE_constraint },
81         asn_MBR_X2N_AreaScopeOfMDT_1,
82         4,      /* Elements count */
83         &asn_SPC_X2N_AreaScopeOfMDT_specs_1     /* Additional specs */
84 };
85