Lev Walkin | ea6635b | 2017-08-06 23:23:04 -0700 | [diff] [blame] | 1 | ModuleComponentRelationConstraint { iso org(3) dod(6) internet(1) private(4) |
| 2 | enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 140 } |
| 3 | DEFINITIONS ::= |
| 4 | BEGIN |
| 5 | |
| 6 | Frame ::= SEQUENCE { |
| 7 | ident FRAME-STRUCTURE.&id ({FrameTypes}), |
Lev Walkin | d357f3d | 2017-08-10 17:40:37 -0700 | [diff] [blame] | 8 | value FRAME-STRUCTURE.&Type ({FrameTypes}{@ident}), |
Lev Walkin | ea6635b | 2017-08-06 23:23:04 -0700 | [diff] [blame] | 9 | ... |
| 10 | } |
| 11 | |
| 12 | FRAME-STRUCTURE ::= CLASS { |
| 13 | &id INTEGER UNIQUE, |
| 14 | &Type ANY |
| 15 | } WITH SYNTAX {&Type IDENTIFIED BY &id} |
| 16 | |
Lev Walkin | d0f7b91 | 2017-08-07 18:13:04 -0700 | [diff] [blame] | 17 | -- Information Object Set has 2 entries: |
Lev Walkin | ea6635b | 2017-08-06 23:23:04 -0700 | [diff] [blame] | 18 | -- [ &id][ &Type] |
| 19 | -- [1] basicMessage PrimitiveMessage |
| 20 | -- [2] 2 ComplexMessage |
| 21 | |
| 22 | |
| 23 | FrameTypes FRAME-STRUCTURE ::= {{ PrimitiveMessage IDENTIFIED BY basicMessage } | { ComplexMessage IDENTIFIED BY 2 },...} |
Lev Walkin | d0f7b91 | 2017-08-07 18:13:04 -0700 | [diff] [blame] | 24 | -- Information Object Set has 2 entries: |
| 25 | -- [ &id][ &Type] |
| 26 | -- [1] basicMessage PrimitiveMessage |
| 27 | -- [2] 2 ComplexMessage |
Lev Walkin | e391708 | 2017-08-23 10:29:38 -0700 | [diff] [blame] | 28 | -- [ ] ... |
Lev Walkin | d0f7b91 | 2017-08-07 18:13:04 -0700 | [diff] [blame] | 29 | |
Lev Walkin | ea6635b | 2017-08-06 23:23:04 -0700 | [diff] [blame] | 30 | |
| 31 | primType FRAME-STRUCTURE ::= { PrimitiveMessage IDENTIFIED BY basicMessage } |
Lev Walkin | d0f7b91 | 2017-08-07 18:13:04 -0700 | [diff] [blame] | 32 | -- Information Object Set has 1 entry: |
| 33 | -- [ &id][ &Type] |
| 34 | -- [1] basicMessage PrimitiveMessage |
| 35 | |
Lev Walkin | ea6635b | 2017-08-06 23:23:04 -0700 | [diff] [blame] | 36 | |
| 37 | complexType FRAME-STRUCTURE ::= { ComplexMessage IDENTIFIED BY 2 } |
Lev Walkin | d0f7b91 | 2017-08-07 18:13:04 -0700 | [diff] [blame] | 38 | -- Information Object Set has 1 entry: |
| 39 | -- [ &id][ &Type] |
| 40 | -- [1] 2 ComplexMessage |
| 41 | |
Lev Walkin | ea6635b | 2017-08-06 23:23:04 -0700 | [diff] [blame] | 42 | |
| 43 | PrimitiveMessage ::= SEQUENCE { } |
| 44 | |
| 45 | ComplexMessage ::= SEQUENCE { } |
| 46 | |
| 47 | basicMessage INTEGER ::= 1 |
| 48 | |
| 49 | END |