ITS
SpecialVehicleContainer.c
Go to the documentation of this file.
1 /*
2  * Generated by asn1c-0.9.27 (http://lionet.info/asn1c)
3  * From ASN.1 module "CAM-PDU-Descriptions"
4  * found in "CAM.asn"
5  */
6 
8 
9 static asn_per_constraints_t asn_PER_type_SpecialVehicleContainer_constr_1 GCC_NOTUSED = {
10  { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 6 } /* (0..6,...) */,
11  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
12  0, 0 /* No PER value map */
13 };
15  { ATF_NOFLAGS, 0, offsetof(struct SpecialVehicleContainer, choice.publicTransportContainer),
16  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
17  -1, /* IMPLICIT tag at current level */
19  0, /* Defer constraints checking to the member type */
20  0, /* No PER visible constraints */
21  0,
22  "publicTransportContainer"
23  },
24  { ATF_NOFLAGS, 0, offsetof(struct SpecialVehicleContainer, choice.specialTransportContainer),
25  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
26  -1, /* IMPLICIT tag at current level */
28  0, /* Defer constraints checking to the member type */
29  0, /* No PER visible constraints */
30  0,
31  "specialTransportContainer"
32  },
33  { ATF_NOFLAGS, 0, offsetof(struct SpecialVehicleContainer, choice.dangerousGoodsContainer),
34  (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
35  -1, /* IMPLICIT tag at current level */
37  0, /* Defer constraints checking to the member type */
38  0, /* No PER visible constraints */
39  0,
40  "dangerousGoodsContainer"
41  },
42  { ATF_NOFLAGS, 0, offsetof(struct SpecialVehicleContainer, choice.roadWorksContainerBasic),
43  (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
44  -1, /* IMPLICIT tag at current level */
46  0, /* Defer constraints checking to the member type */
47  0, /* No PER visible constraints */
48  0,
49  "roadWorksContainerBasic"
50  },
51  { ATF_NOFLAGS, 0, offsetof(struct SpecialVehicleContainer, choice.rescueContainer),
52  (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
53  -1, /* IMPLICIT tag at current level */
55  0, /* Defer constraints checking to the member type */
56  0, /* No PER visible constraints */
57  0,
58  "rescueContainer"
59  },
60  { ATF_NOFLAGS, 0, offsetof(struct SpecialVehicleContainer, choice.emergencyContainer),
61  (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
62  -1, /* IMPLICIT tag at current level */
64  0, /* Defer constraints checking to the member type */
65  0, /* No PER visible constraints */
66  0,
67  "emergencyContainer"
68  },
69  { ATF_NOFLAGS, 0, offsetof(struct SpecialVehicleContainer, choice.safetyCarContainer),
70  (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
71  -1, /* IMPLICIT tag at current level */
73  0, /* Defer constraints checking to the member type */
74  0, /* No PER visible constraints */
75  0,
76  "safetyCarContainer"
77  },
78 };
80  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* publicTransportContainer */
81  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* specialTransportContainer */
82  { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* dangerousGoodsContainer */
83  { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* roadWorksContainerBasic */
84  { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* rescueContainer */
85  { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* emergencyContainer */
86  { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* safetyCarContainer */
87 };
89  sizeof(struct SpecialVehicleContainer),
92  sizeof(((struct SpecialVehicleContainer *)0)->present),
94  7, /* Count of tags in the map */
95  0,
96  7 /* Extensions start */
97 };
99  "SpecialVehicleContainer",
100  "SpecialVehicleContainer",
101  CHOICE_free,
102  CHOICE_print,
111  0, /* No effective tags (pointer) */
112  0, /* No effective tags (count) */
113  0, /* No tags (pointer) */
114  0, /* No tags (count) */
115  &asn_PER_type_SpecialVehicleContainer_constr_1,
117  7, /* Elements count */
118  &asn_SPC_SpecialVehicleContainer_specs_1 /* Additional specs */
119 };
120 
#define offsetof(s, m)
Definition: asn_system.h:115
asn_struct_print_f CHOICE_print
Definition: constr_CHOICE.h:43
asn_TYPE_descriptor_t asn_DEF_SpecialVehicleContainer
static asn_TYPE_tag2member_t asn_MAP_SpecialVehicleContainer_tag2el_1[]
asn_constr_check_f CHOICE_constraint
Definition: constr_CHOICE.h:44
asn_TYPE_descriptor_t asn_DEF_RoadWorksContainerBasic
ber_type_decoder_f CHOICE_decode_ber
Definition: constr_CHOICE.h:45
asn_TYPE_descriptor_t asn_DEF_PublicTransportContainer
static asn_CHOICE_specifics_t asn_SPC_SpecialVehicleContainer_specs_1
der_type_encoder_f CHOICE_encode_der
Definition: constr_CHOICE.h:46
per_type_decoder_f CHOICE_decode_uper
Definition: constr_CHOICE.h:49
asn_TYPE_descriptor_t asn_DEF_DangerousGoodsContainer
asn_TYPE_descriptor_t asn_DEF_SafetyCarContainer
xer_type_encoder_f CHOICE_encode_xer
Definition: constr_CHOICE.h:48
xer_type_decoder_f CHOICE_decode_xer
Definition: constr_CHOICE.h:47
SpecialVehicleContainer_PR present
per_type_encoder_f CHOICE_encode_uper
Definition: constr_CHOICE.h:50
static asn_per_constraints_t asn_PER_type_SpecialVehicleContainer_constr_1 GCC_NOTUSED
asn_outmost_tag_f CHOICE_outmost_tag
Definition: constr_CHOICE.h:51
asn_TYPE_descriptor_t asn_DEF_SpecialTransportContainer
static asn_TYPE_member_t asn_MBR_SpecialVehicleContainer_1[]
asn_TYPE_descriptor_t asn_DEF_RescueContainer
asn_TYPE_descriptor_t asn_DEF_EmergencyContainer
asn_struct_free_f CHOICE_free
Definition: constr_CHOICE.h:42