Sync with 5.1.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
64SelectionType ::= numbers < Big-Choice
65
66-- non-encodable types
67NullType ::= NULL
68
69ObjIdType ::= OBJECT IDENTIFIER
70
71RelObjIdType ::= RELATIVE-OID
72
73EmbPdvType ::= EMBEDDED PDV
74
75ExtType ::= EXTERNAL
76
77GenTimeType ::= GeneralizedTime
78
79UtcTimeType ::= UTCTime
80
81ObjDescType ::= ObjectDescriptor
82
83END
This page took 0.026023 seconds and 5 git commands to generate.