SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / TestCond-Expression.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2SM-KPM-IEs"
4  *      found in "e2sm-kpm-v03.00.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
6  */
7
8 #include "TestCond-Expression.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_TestCond_Expression_constr_1 CC_NOTUSED = {
16         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  4 }    /* (0..4,...) */,
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_TestCond_Expression_value2enum_1[] = {
22         { 0,    5,      "equal" },
23         { 1,    11,     "greaterthan" },
24         { 2,    8,      "lessthan" },
25         { 3,    8,      "contains" },
26         { 4,    7,      "present" }
27         /* This list is extensible */
28 };
29 static const unsigned int asn_MAP_TestCond_Expression_enum2value_1[] = {
30         3,      /* contains(3) */
31         0,      /* equal(0) */
32         1,      /* greaterthan(1) */
33         2,      /* lessthan(2) */
34         4       /* present(4) */
35         /* This list is extensible */
36 };
37 const asn_INTEGER_specifics_t asn_SPC_TestCond_Expression_specs_1 = {
38         asn_MAP_TestCond_Expression_value2enum_1,       /* "tag" => N; sorted by tag */
39         asn_MAP_TestCond_Expression_enum2value_1,       /* N => "tag"; sorted by N */
40         5,      /* Number of elements in the maps */
41         6,      /* Extensions before this member */
42         1,      /* Strict enumeration */
43         0,      /* Native long size */
44         0
45 };
46 static const ber_tlv_tag_t asn_DEF_TestCond_Expression_tags_1[] = {
47         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
48 };
49 asn_TYPE_descriptor_t asn_DEF_TestCond_Expression = {
50         "TestCond-Expression",
51         "TestCond-Expression",
52         &asn_OP_NativeEnumerated,
53         asn_DEF_TestCond_Expression_tags_1,
54         sizeof(asn_DEF_TestCond_Expression_tags_1)
55                 /sizeof(asn_DEF_TestCond_Expression_tags_1[0]), /* 1 */
56         asn_DEF_TestCond_Expression_tags_1,     /* Same as above */
57         sizeof(asn_DEF_TestCond_Expression_tags_1)
58                 /sizeof(asn_DEF_TestCond_Expression_tags_1[0]), /* 1 */
59         {
60 #if !defined(ASN_DISABLE_OER_SUPPORT)
61                 0,
62 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
63 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
64                 &asn_PER_type_TestCond_Expression_constr_1,
65 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
66                 NativeEnumerated_constraint
67         },
68         0, 0,   /* Defined elsewhere */
69         &asn_SPC_TestCond_Expression_specs_1    /* Additional specs */
70 };
71