64 lines
1.3 KiB
C
64 lines
1.3 KiB
C
/*
|
|||
|
|
* Generated by asn1c
|
||
|
|
* From ASN.1 module "IVI"
|
||
|
|
* found in "ISO19321.asn"
|
||
|
|
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef _Zone_H_
|
||
|
|
#define _Zone_H_
|
||
|
|
|
||
|
|
|
||
|
|
#include "asn_application.h"
|
||
|
|
|
||
|
|
/* Including external dependencies */
|
||
|
|
#include "Segment.h"
|
||
|
|
#include "PolygonalLine.h"
|
||
|
|
#include "ComputedSegment.h"
|
||
|
|
#include "constr_CHOICE.h"
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
/* Dependencies */
|
||
|
|
typedef enum Zone_PR {
|
||
|
|
Zone_PR_NOTHING, /* No components present */
|
||
|
|
Zone_PR_segment,
|
||
|
|
Zone_PR_area,
|
||
|
|
Zone_PR_computedSegment
|
||
|
|
/* Extensions may appear below */
|
||
|
|
|
||
|
|
} Zone_PR;
|
||
|
|
|
||
|
|
/* Zone */
|
||
|
|
typedef struct Zone {
|
||
|
|
Zone_PR present;
|
||
|
|
union Zone_u {
|
||
|
|
Segment_t segment;
|
||
|
|
PolygonalLine_t area;
|
||
|
|
ComputedSegment_t computedSegment;
|
||
|
|
/*
|
||
|
|
* This type is extensible,
|
||
|
|
* possible extensions are below.
|
||
|
|
*/
|
||
|
|
} choice;
|
||
|
|
|
||
|
|
/* Context for parsing across buffer boundaries */
|
||
|
|
asn_struct_ctx_t _asn_ctx;
|
||
|
|
} Zone_t;
|
||
|
|
|
||
|
|
/* Implementation */
|
||
|
|
extern asn_TYPE_descriptor_t asn_DEF_Zone;
|
||
|
|
extern asn_CHOICE_specifics_t asn_SPC_Zone_specs_1;
|
||
|
|
extern asn_TYPE_member_t asn_MBR_Zone_1[3];
|
||
|
|
extern asn_oer_constraints_t asn_OER_type_Zone_constr_1;
|
||
|
|
extern asn_per_constraints_t asn_PER_type_Zone_constr_1;
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif /* _Zone_H_ */
|
||
|
|
#include "asn_internal.h"
|