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 --/////////////////////////////////////////////////////////////////////////////
13 -- Last modified:2011-02-22
15 -- 0. Elementary Types
17 MyInteger10 ::= INTEGER (1..10)
21 MyCharstring10 ::= PrintableString ( SIZE( 2..5) )
23 MyCharstring ::= VisibleString
25 MyEnum ::= ENUMERATED { first(1), second(2), third(3) }
27 -- 1. Sequence (record_
29 MySeqEmpty ::= SEQUENCE { }
30 MySeqBool ::= SEQUENCE { b BOOLEAN }
31 MySeqNull ::= SEQUENCE { n NULL }
32 MySeqInt ::= SEQUENCE { i INTEGER }
33 MySeqMyEnum ::= SEQUENCE { e MyEnum }
34 MySeqInt2 ::= SEQUENCE { i INTEGER, j INTEGER }
36 MySeqInt2opt ::= SEQUENCE {
40 MySeqInt3opt ::= SEQUENCE {
46 MySeqIntSeqInt2 ::= SEQUENCE {
51 MySeqIntSeqInt2opt ::= SEQUENCE {
56 MySeqIntSeqInt2optopt ::= SEQUENCE {
61 MySeqInt3 ::= SEQUENCE { i INTEGER, j INTEGER, k INTEGER }
62 MySeqInt4 ::= SEQUENCE { i INTEGER, j INTEGER, k INTEGER, l INTEGER }
63 MySeqInt4opt ::= SEQUENCE { i INTEGER, j INTEGER, k INTEGER, l INTEGER OPTIONAL}
64 MySeqInt5opt ::= SEQUENCE { i INTEGER, j INTEGER, k INTEGER, l INTEGER, m INTEGER OPTIONAL}
66 MySeqReal ::= SEQUENCE { x REAL }
67 MySeqReal2 ::= SEQUENCE { x REAL, y REAL OPTIONAL}
68 MySeqStr ::= SEQUENCE { s VisibleString }
69 MySeqStr2 ::= SEQUENCE { s VisibleString, t VisibleString }
70 MySeqBitStr ::= SEQUENCE { b BIT STRING }
71 MySeqBitStr2 ::= SEQUENCE { a BIT STRING, b BIT STRING }
72 MySeqIntReal ::= SEQUENCE {i INTEGER, x REAL}
73 MySeqIntStr ::= SEQUENCE {i INTEGER, s MyCharstring }
74 MySeqIntBitStr ::= SEQUENCE {i INTEGER, b BIT STRING }
75 MySeqOctStr ::= SEQUENCE {o OCTET STRING }
76 MySeqOJKL ::= SEQUENCE { o OCTET STRING, j INTEGER, k INTEGER, l INTEGER }
77 MySeqIOKL ::= SEQUENCE { i INTEGER,o OCTET STRING, k INTEGER, l INTEGER }
79 MySeqISKL ::= SEQUENCE { i INTEGER, s MySeqInt4, k INTEGER, l INTEGER }
81 --===== sequence of sequence of sequence ====
82 MySeqIntSeqIntSeqInt2SeqReal2 ::=SEQUENCE {
88 MySeqIntSeqIntSeqInt2optoptSeqReal2 ::=SEQUENCE {
90 jkl MySeqIntSeqInt2optopt,
95 MySeqIntSeqReal2 ::= SEQUENCE {
100 MySeqIntSeqIntSeqInt2 ::=SEQUENCE {
107 MySeqSeqIntSeqInt2SeqReal2 ::=SEQUENCE {
112 MySeq-SeqSeqIntSeqInt2SeqReal2-SeqSeqIntSeqInt2SeqReal2 ::= SEQUENCE {
113 s1 MySeqSeqIntSeqInt2SeqReal2,
114 s2 MySeqSeqIntSeqInt2SeqReal2
117 MySeq-SeqSeqIntSeqInt2optoptSeqReal2-SeqSeqIntSeqInt2optoptSeqReal2 ::= SEQUENCE {
118 s1 MySeqIntSeqIntSeqInt2optoptSeqReal2,
119 s2 MySeqIntSeqIntSeqInt2optoptSeqReal2
122 MySeqBasicTypes ::= SEQUENCE {
130 oi OBJECT IDENTIFIER,
134 MySeqEnum ::= SEQUENCE {
139 -- 2. Sequence of (record of)
140 MySeqOfBool ::= SEQUENCE OF BOOLEAN
141 MySeqOfNull ::= SEQUENCE OF NULL
142 MySeqOfInt ::= SEQUENCE OF INTEGER
143 MySeqOfMyEnum ::= SEQUENCE OF MyEnum
144 MySeqOfEnum ::= SEQUENCE OF ENUMERATED { one(1), two(2), three(3) }
145 MySeqOfReal ::= SEQUENCE OF REAL
146 MySeqOfBitStr ::= SEQUENCE OF BIT STRING
147 MySeqOfOctStr ::= SEQUENCE OF OCTET STRING
148 MySeqOfObjId ::= SEQUENCE OF OBJECT IDENTIFIER
150 MySeqOfMyUnionBT ::= SEQUENCE OF MyUnionBasicTypes
152 MySeqOfSeqSeqIntSeqInt2SeqReal2 ::= SEQUENCE OF MySeqSeqIntSeqInt2SeqReal2
153 MySeqOfMySeqIntSeqIntSeqInt2optoptSeqReal2 ::= SEQUENCE OF MySeqIntSeqIntSeqInt2optoptSeqReal2
159 j [2] INTEGER OPTIONAL,
160 k [3] INTEGER OPTIONAL
164 MySetEmpty ::= SET { }
165 MySetBool ::= SET { b BOOLEAN }
166 MySetNull ::= SET { n NULL }
167 MySetInt ::= SET { i INTEGER }
168 MySetMyEnum ::= SET { e MyEnum }
169 MySetInt2 ::= SET { i [0] INTEGER, j [1] INTEGER }
171 MySetInt2opt ::= SET {
172 i [0] INTEGER OPTIONAL,
173 j [1] INTEGER OPTIONAL
175 MySetInt3opt ::= SET {
178 k [2] INTEGER OPTIONAL
181 MySetIntSeqInt2 ::= SET {
187 MySetIntSeqInt2T ::= SET {
192 MySetIntSeqInt2opt ::= SET {
197 MySetIntSeqInt2Topt ::= SET {
198 i [0] INTEGER OPTIONAL,
202 MySetIntSeqInt2optopt ::= SET {
208 MySetIntSeqInt2Toptopt ::= SET {
209 i [0] INTEGER OPTIONAL,
213 MySetInt3 ::= SET { i [0] INTEGER OPTIONAL, j [1] INTEGER OPTIONAL, k [2] INTEGER OPTIONAL }
214 MySetInt4 ::= SET { i [0] INTEGER, j [1] INTEGER, k [2] INTEGER, l [3] INTEGER }
215 MySetInt4opt ::= SET { i [0] INTEGER OPTIONAL, j [1] INTEGER OPTIONAL, k [2] INTEGER OPTIONAL, l [3] INTEGER OPTIONAL}
216 MySetReal ::= SET { x REAL }
217 MySetReal2 ::= SET { x [0] REAL, y [1] REAL OPTIONAL}
218 MySetStr ::= SET { s VisibleString }
219 MySetStr2 ::= SET { s [0] VisibleString, t [1] VisibleString }
220 MySetBitStr ::= SET { b BIT STRING }
221 MySetBitStr2 ::= SET { a [0] BIT STRING, b [1] BIT STRING }
222 MySetIntReal ::= SET {i [0] INTEGER, x REAL}
223 MySetIntStr ::= SET {i [0] INTEGER, s MyCharstring }
224 MySetIntBitStr ::= SET {i [0] INTEGER, b BIT STRING }
225 MySetOctStr ::= SET {o OCTET STRING }
226 MySetOJKL ::= SET { o OCTET STRING, j [1] INTEGER, k [2] INTEGER, l [3] INTEGER }
227 MySetIOKL ::= SET { i [0] INTEGER, o OCTET STRING, k [2] INTEGER, l [3]INTEGER }
229 MySetISKL ::= SET { i [0] INTEGER, s MySeqInt4, k [2] INTEGER, l [3] INTEGER }
230 MySetISKLopt ::= SET { i [0] INTEGER OPTIONAL, s MySeqInt4opt OPTIONAL, k [2] INTEGER OPTIONAL, l [3] INTEGER OPTIONAL }
232 MySetIS2KLopt ::= SET { i [0] INTEGER OPTIONAL, s MySeqInt2 OPTIONAL, k [2] INTEGER OPTIONAL, l [3] INTEGER OPTIONAL }
234 MySetISOKL ::= SET { i [0] INTEGER, s MySeqInt4, o OCTET STRING, k [2] INTEGER, l [3] INTEGER }
235 MySetISOKLopt ::= SET { i [0] INTEGER OPTIONAL, s MySeqInt4opt OPTIONAL, o OCTET STRING OPTIONAL, k [2] INTEGER OPTIONAL, l [3] INTEGER OPTIONAL }
237 MySetIOSKL ::= SET { i [0] INTEGER, o OCTET STRING, s MySeqInt4, k [2] INTEGER, l [3] INTEGER }
238 MySetIOSKLopt ::= SET { i [0] INTEGER OPTIONAL, o OCTET STRING OPTIONAL, s MySeqInt4opt OPTIONAL, k [2] INTEGER OPTIONAL, l [3] INTEGER OPTIONAL }
239 --===== set of sequence of sequence ====
240 MySetIntSeqIntSeqInt2SeqReal2 ::=SET {
242 jkl [0] MySeqIntSeqInt2,
246 MySetIntSeqIntSeqInt2optoptSeqReal2 ::=SET {
248 jkl [0] MySeqIntSeqInt2optopt,
253 MySetIntSeqReal2 ::= SET {
258 MySetIntSeqIntSeqInt2 ::=SET {
265 MySetSeqIntSeqInt2SeqReal2 ::=SET {
266 jkl [0] MySeqIntSeqInt2,
270 MySet-SeqSeqIntSeqInt2SeqReal2-SeqSeqIntSeqInt2SeqReal2 ::= SET {
271 s1 [0] MySeqSeqIntSeqInt2SeqReal2,
272 s2 [1] MySeqSeqIntSeqInt2SeqReal2
275 MySet-SeqSeqIntSeqInt2optoptSeqReal2-SeqSeqIntSeqInt2optoptSeqReal2 ::= SET {
276 s1 [0] MySeqIntSeqIntSeqInt2optoptSeqReal2,
277 s2 [1] MySeqIntSeqIntSeqInt2optoptSeqReal2
280 MySetBasicTypes ::= SET {
288 oi OBJECT IDENTIFIER,
299 MySetOfBool ::= SET OF BOOLEAN
300 MySetOfNull ::= SET OF NULL
301 MySetOfInt ::= SET OF INTEGER
302 MySetOfMyEnum ::= SET OF MyEnum
303 MySetOfEnum ::= SET OF ENUMERATED { one(1), two(2), three(3) }
304 MySetOfReal ::= SET OF REAL
305 MySetOfBitStr ::= SET OF BIT STRING
306 MySetOfOctStr ::= SET OF OCTET STRING
307 MySetOfObjId ::= SET OF OBJECT IDENTIFIER
309 MySetOfMyUnionBT ::= SET OF MyUnionBasicTypes
311 MySetOfSeqSeqIntSeqInt2SeqReal2 ::= SEQUENCE OF MySeqSeqIntSeqInt2SeqReal2
312 MySetOfMySeqIntSeqIntSeqInt2optoptSeqReal2 ::= SEQUENCE OF MySeqIntSeqIntSeqInt2optoptSeqReal2
318 MyUnionBasicTypes ::= CHOICE {
326 oi OBJECT IDENTIFIER,
332 MyUnionComplexTypes ::= CHOICE {