718a946005f00a513c35c698e1404a4883d4450a
[com/asn1c.git] / tests / tests-asn1c-compiler / 98-attribute-class-OK.asn1.-EFprint-class-matrix
1 ModuleAttributeClass { iso org(3) dod(6) internet(1) private(4) enterprise(1)
2         spelio(9363) software(1) asn1c(5) test(1) 98 }
3 DEFINITIONS ::=
4 BEGIN
5
6 ATTRIBUTE ::= CLASS {
7     &id  RELATIVE-OID UNIQUE
8 } WITH SYNTAX { ID &id }
9
10 -- Information Object Set has 2 entries:
11 --    [&id]
12 -- [1] raf 
13 -- [2] rcf 
14
15
16 Attribute ::= SEQUENCE {
17     identifier   ATTRIBUTE.&id ({Attributes}),
18     siAttributeValue     IA5String
19 }
20
21 Attributes ATTRIBUTE ::= {{ ID raf } | { ID rcf }}
22 -- Information Object Set has 2 entries:
23 --    [&id]
24 -- [1] raf 
25 -- [2] rcf 
26
27
28 rafService ATTRIBUTE ::= { ID raf }
29 -- Information Object Set has 1 entry:
30 --    [&id]
31 -- [1] raf 
32
33
34 rcfService ATTRIBUTE ::= { ID rcf }
35 -- Information Object Set has 1 entry:
36 --    [&id]
37 -- [1] rcf 
38
39
40 raf RELATIVE-OID ::= {3 2 1}
41
42 rcf RELATIVE-OID ::= {3 2 2}
43
44 END