blob: 9fbe655e6f6cffec1473d831c799de3b4a8d16bc [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 }
Lev Walkin18660d22017-08-12 20:45:23 -07003DEFINITIONS AUTOMATIC TAGS ::=
Lev Walkind357f3d2017-08-10 17:40:37 -07004BEGIN
5
6Frame ::= SEQUENCE {
Lev Walkin18660d22017-08-12 20:45:23 -07007 ident [0] IMPLICIT FRAME-STRUCTURE.&id ({FrameTypes}),
8 value [1] EXPLICIT FRAME-STRUCTURE.&Type ({FrameTypes}{@.ident}),
Lev Walkind357f3d2017-08-10 17:40:37 -07009 ...
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