1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
|
/*
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
* From ASN.1 module "FEF-IntermediateDraft"
* found in "../annexb-snacc-122001.asn1"
*/
#include <asn_internal.h>
#include "ChoiceOfEnumTimeStamp.h"
static asn_TYPE_member_t asn_MBR_absolutetimestamparray_3[] = {
{ ATF_POINTER, 0, 0,
(ASN_TAG_CLASS_UNIVERSAL | (24 << 2)),
0,
&asn_DEF_AbsoluteTime,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
""
},
};
static ber_tlv_tag_t asn_DEF_absolutetimestamparray_tags_3[] = {
(ASN_TAG_CLASS_APPLICATION | (6042 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_absolutetimestamparray_specs_3 = {
sizeof(struct ChoiceOfEnumTimeStamp__absolutetimestamparray),
offsetof(struct ChoiceOfEnumTimeStamp__absolutetimestamparray, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_absolutetimestamparray_3 = {
"absolutetimestamparray",
"absolutetimestamparray",
SEQUENCE_OF_free,
SEQUENCE_OF_print,
SEQUENCE_OF_constraint,
SEQUENCE_OF_decode_ber,
SEQUENCE_OF_encode_der,
SEQUENCE_OF_decode_xer,
SEQUENCE_OF_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
0, /* Use generic outmost tag fetcher */
asn_DEF_absolutetimestamparray_tags_3,
sizeof(asn_DEF_absolutetimestamparray_tags_3)
/sizeof(asn_DEF_absolutetimestamparray_tags_3[0]) - 1, /* 1 */
asn_DEF_absolutetimestamparray_tags_3, /* Same as above */
sizeof(asn_DEF_absolutetimestamparray_tags_3)
/sizeof(asn_DEF_absolutetimestamparray_tags_3[0]), /* 2 */
0, /* No PER visible constraints */
asn_MBR_absolutetimestamparray_3,
1, /* Single element */
&asn_SPC_absolutetimestamparray_specs_3 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_relativetimestamparray_5[] = {
{ ATF_POINTER, 0, 0,
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
0,
&asn_DEF_RelativeTime,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
""
},
};
static ber_tlv_tag_t asn_DEF_relativetimestamparray_tags_5[] = {
(ASN_TAG_CLASS_APPLICATION | (6043 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_relativetimestamparray_specs_5 = {
sizeof(struct ChoiceOfEnumTimeStamp__relativetimestamparray),
offsetof(struct ChoiceOfEnumTimeStamp__relativetimestamparray, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_relativetimestamparray_5 = {
"relativetimestamparray",
"relativetimestamparray",
SEQUENCE_OF_free,
SEQUENCE_OF_print,
SEQUENCE_OF_constraint,
SEQUENCE_OF_decode_ber,
SEQUENCE_OF_encode_der,
SEQUENCE_OF_decode_xer,
SEQUENCE_OF_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
0, /* Use generic outmost tag fetcher */
asn_DEF_relativetimestamparray_tags_5,
sizeof(asn_DEF_relativetimestamparray_tags_5)
/sizeof(asn_DEF_relativetimestamparray_tags_5[0]) - 1, /* 1 */
asn_DEF_relativetimestamparray_tags_5, /* Same as above */
sizeof(asn_DEF_relativetimestamparray_tags_5)
/sizeof(asn_DEF_relativetimestamparray_tags_5[0]), /* 2 */
0, /* No PER visible constraints */
asn_MBR_relativetimestamparray_5,
1, /* Single element */
&asn_SPC_relativetimestamparray_specs_5 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_hirestimestamparray_7[] = {
{ ATF_POINTER, 0, 0,
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
0,
&asn_DEF_HighResRelativeTime,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
""
},
};
static ber_tlv_tag_t asn_DEF_hirestimestamparray_tags_7[] = {
(ASN_TAG_CLASS_APPLICATION | (6044 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_hirestimestamparray_specs_7 = {
sizeof(struct ChoiceOfEnumTimeStamp__hirestimestamparray),
offsetof(struct ChoiceOfEnumTimeStamp__hirestimestamparray, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_hirestimestamparray_7 = {
"hirestimestamparray",
"hirestimestamparray",
SEQUENCE_OF_free,
SEQUENCE_OF_print,
SEQUENCE_OF_constraint,
SEQUENCE_OF_decode_ber,
SEQUENCE_OF_encode_der,
SEQUENCE_OF_decode_xer,
SEQUENCE_OF_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
0, /* Use generic outmost tag fetcher */
asn_DEF_hirestimestamparray_tags_7,
sizeof(asn_DEF_hirestimestamparray_tags_7)
/sizeof(asn_DEF_hirestimestamparray_tags_7[0]) - 1, /* 1 */
asn_DEF_hirestimestamparray_tags_7, /* Same as above */
sizeof(asn_DEF_hirestimestamparray_tags_7)
/sizeof(asn_DEF_hirestimestamparray_tags_7[0]), /* 2 */
0, /* No PER visible constraints */
asn_MBR_hirestimestamparray_7,
1, /* Single element */
&asn_SPC_hirestimestamparray_specs_7 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_ChoiceOfEnumTimeStamp_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct ChoiceOfEnumTimeStamp, choice.timestamp),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
0,
&asn_DEF_ObservationTime,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"timestamp"
},
{ ATF_NOFLAGS, 0, offsetof(struct ChoiceOfEnumTimeStamp, choice.absolutetimestamparray),
(ASN_TAG_CLASS_APPLICATION | (6042 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_absolutetimestamparray_3,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"absolutetimestamparray"
},
{ ATF_NOFLAGS, 0, offsetof(struct ChoiceOfEnumTimeStamp, choice.relativetimestamparray),
(ASN_TAG_CLASS_APPLICATION | (6043 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_relativetimestamparray_5,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"relativetimestamparray"
},
{ ATF_NOFLAGS, 0, offsetof(struct ChoiceOfEnumTimeStamp, choice.hirestimestamparray),
(ASN_TAG_CLASS_APPLICATION | (6044 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_hirestimestamparray_7,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"hirestimestamparray"
},
};
static asn_TYPE_tag2member_t asn_MAP_ChoiceOfEnumTimeStamp_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* timestamp at 1367 */
{ (ASN_TAG_CLASS_APPLICATION | (6042 << 2)), 1, 0, 0 }, /* absolutetimestamparray at 1368 */
{ (ASN_TAG_CLASS_APPLICATION | (6043 << 2)), 2, 0, 0 }, /* relativetimestamparray at 1369 */
{ (ASN_TAG_CLASS_APPLICATION | (6044 << 2)), 3, 0, 0 } /* hirestimestamparray at 1371 */
};
static asn_CHOICE_specifics_t asn_SPC_ChoiceOfEnumTimeStamp_specs_1 = {
sizeof(struct ChoiceOfEnumTimeStamp),
offsetof(struct ChoiceOfEnumTimeStamp, _asn_ctx),
offsetof(struct ChoiceOfEnumTimeStamp, present),
sizeof(((struct ChoiceOfEnumTimeStamp *)0)->present),
asn_MAP_ChoiceOfEnumTimeStamp_tag2el_1,
4, /* Count of tags in the map */
0,
-1 /* Extensions start */
};
asn_TYPE_descriptor_t asn_DEF_ChoiceOfEnumTimeStamp = {
"ChoiceOfEnumTimeStamp",
"ChoiceOfEnumTimeStamp",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
CHOICE_decode_ber,
CHOICE_encode_der,
CHOICE_decode_xer,
CHOICE_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
CHOICE_outmost_tag,
0, /* No effective tags (pointer) */
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
0, /* No PER visible constraints */
asn_MBR_ChoiceOfEnumTimeStamp_1,
4, /* Elements count */
&asn_SPC_ChoiceOfEnumTimeStamp_specs_1 /* Additional specs */
};
|