Sync with 5.2.0
[deliverable/titan.core.git] / regression_test / ttcn2json / zero.asn
CommitLineData
970ed795
EL
1------------------------------------------------------------------------------
2-- Copyright (c) 2000-2014 Ericsson Telecom AB
3-- All rights reserved. This program and the accompanying materials
4-- are made available under the terms of the Eclipse Public License v1.0
5-- which accompanies this distribution, and is available at
6-- http://www.eclipse.org/legal/epl-v10.html
7------------------------------------------------------------------------------
8
9Zero
10DEFINITIONS
11
12AUTOMATIC TAGS
13
14::=
15
16BEGIN
17
18IMPORTS ;
19
20-- encodable types
21SeqOfInt ::= SEQUENCE OF INTEGER
22
23SeqProduct ::= SEQUENCE {
24 name UniversalString,
25 price REAL,
26 id OCTET STRING OPTIONAL,
27 available BOOLEAN
28}
29
30Number ::= CHOICE {
31 decimal INTEGER,
32 binary BIT STRING,
33 hexadecimal OCTET STRING
34}
35
36AnyString ::= CHOICE {
37 generalstr GeneralString,
38 numericstr NumericString,
39 utf8str UTF8String,
40 printablestr PrintableString,
41 universalstr UniversalString,
42 bmpstr BMPString,
43 graphicstr GraphicString,
44 ia5str IA5String,
45 teletexstr TeletexString,
46 videotexstr VideotexString,
47 visiblestr VisibleString
48}
49
50ManyStrings ::= SEQUENCE OF AnyString
51
52Big-Set ::= SET {
53 product SeqProduct,
54 numbers SET OF Number,
55 strings ManyStrings,
56 color ENUMERATED { red, blue, green, yellow }
57}
58
59Big-Choice ::= CHOICE {
60 numbers SET OF Number,
61 strings ManyStrings
62}
63
af710487 64Season ::= ENUMERATED {
65 spring (1), summer (2), fall (3), winter (4)
66}
67
970ed795
EL
68SelectionType ::= numbers < Big-Choice
69
970ed795
EL
70NullType ::= NULL
71
72ObjIdType ::= OBJECT IDENTIFIER
73
74RelObjIdType ::= RELATIVE-OID
75
af710487 76-- non-encodable types
77
970ed795
EL
78EmbPdvType ::= EMBEDDED PDV
79
80ExtType ::= EXTERNAL
81
82GenTimeType ::= GeneralizedTime
83
84UtcTimeType ::= UTCTime
85
86ObjDescType ::= ObjectDescriptor
87
88END
This page took 0.061649 seconds and 5 git commands to generate.