blob: 097ec4c75a7f6cc7aa2a6efe5cb72391bad085c6 [file] [log] [blame]
Lev Walkind357f3d2017-08-10 17:40:37 -07001ModuleComponentRelationConstraint { iso org(3) dod(6) internet(1) private(4)
2 enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 141 }
3DEFINITIONS ::=
4BEGIN
5
6Frame ::= SEQUENCE {
7 ident FRAME-STRUCTURE.&id ({FrameTypes}),
8 value FRAME-STRUCTURE.&Type ({FrameTypes}{@.ident}),
9 ...
10}
11
12FRAME-STRUCTURE ::= CLASS {
13 &id ConstrainedInteger UNIQUE,
14 &Type ANY
15} WITH SYNTAX {&Type IDENTIFIED BY &id}
16
17-- Information Object Set has 2 entries:
18-- [ &id][ &Type]
19-- [1] primMessage PrimitiveMessage
20-- [2] cplxMessage ComplexMessage
21
22
23ConstrainedInteger ::= INTEGER (0..32767)
24
25FrameTypes FRAME-STRUCTURE ::= {{ PrimitiveMessage IDENTIFIED BY primMessage } | { ComplexMessage IDENTIFIED BY cplxMessage },...}
26-- Information Object Set has 2 entries:
27-- [ &id][ &Type]
28-- [1] primMessage PrimitiveMessage
29-- [2] cplxMessage ComplexMessage
30
31
32PrimitiveMessage ::= SEQUENCE { }
33
34ComplexMessage ::= SEQUENCE { }
35
36primMessage INTEGER ::= 1
37
38cplxMessage INTEGER ::= 2
39
40END