| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
#ifndef _ChoiceOfEnumTimeStamp_H_ |
| 8 |
#define _ChoiceOfEnumTimeStamp_H_ |
| 9 |
|
| 10 |
|
| 11 |
#include <asn_application.h> |
| 12 |
|
| 13 |
|
| 14 |
#include "ObservationTime.h" |
| 15 |
#include "AbsoluteTime.h" |
| 16 |
#include <asn_SEQUENCE_OF.h> |
| 17 |
#include <constr_SEQUENCE_OF.h> |
| 18 |
#include "RelativeTime.h" |
| 19 |
#include "HighResRelativeTime.h" |
| 20 |
#include <constr_CHOICE.h> |
| 21 |
|
| 22 |
#ifdef __cplusplus |
| 23 |
extern "C" { |
| 24 |
#endif |
| 25 |
|
| 26 |
|
| 27 |
typedef enum ChoiceOfEnumTimeStamp_PR { |
| 28 |
ChoiceOfEnumTimeStamp_PR_NOTHING, |
| 29 |
ChoiceOfEnumTimeStamp_PR_timestamp, |
| 30 |
ChoiceOfEnumTimeStamp_PR_absolutetimestamparray, |
| 31 |
ChoiceOfEnumTimeStamp_PR_relativetimestamparray, |
| 32 |
ChoiceOfEnumTimeStamp_PR_hirestimestamparray |
| 33 |
} ChoiceOfEnumTimeStamp_PR; |
| 34 |
|
| 35 |
|
| 36 |
typedef struct ChoiceOfEnumTimeStamp { |
| 37 |
ChoiceOfEnumTimeStamp_PR present; |
| 38 |
union ChoiceOfEnumTimeStamp_u { |
| 39 |
ObservationTime_t timestamp; |
| 40 |
struct ChoiceOfEnumTimeStamp__absolutetimestamparray { |
| 41 |
A_SEQUENCE_OF(AbsoluteTime_t) list; |
| 42 |
|
| 43 |
|
| 44 |
asn_struct_ctx_t _asn_ctx; |
| 45 |
} absolutetimestamparray; |
| 46 |
struct ChoiceOfEnumTimeStamp__relativetimestamparray { |
| 47 |
A_SEQUENCE_OF(RelativeTime_t) list; |
| 48 |
|
| 49 |
|
| 50 |
asn_struct_ctx_t _asn_ctx; |
| 51 |
} relativetimestamparray; |
| 52 |
struct ChoiceOfEnumTimeStamp__hirestimestamparray { |
| 53 |
A_SEQUENCE_OF(HighResRelativeTime_t) list; |
| 54 |
|
| 55 |
|
| 56 |
asn_struct_ctx_t _asn_ctx; |
| 57 |
} hirestimestamparray; |
| 58 |
} choice; |
| 59 |
|
| 60 |
|
| 61 |
asn_struct_ctx_t _asn_ctx; |
| 62 |
} ChoiceOfEnumTimeStamp_t; |
| 63 |
|
| 64 |
|
| 65 |
extern asn_TYPE_descriptor_t asn_DEF_ChoiceOfEnumTimeStamp; |
| 66 |
|
| 67 |
#ifdef __cplusplus |
| 68 |
} |
| 69 |
#endif |
| 70 |
|
| 71 |
#endif |