blob: fed0d333e59878b4f7ac5c0e722a54b054ebf3b0 [file] [log] [blame]
Lev Walkin9c70e742013-10-17 13:03:36 -07001ModuleConditionalIntegerType { iso org(3) dod(6) internet(1) private(4)
2 enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 90 }
Lev Walkin082cadc2005-08-14 02:18:27 +00003DEFINITIONS ::=
4BEGIN
5
6CN-IntegerUnlimited ::= INTEGER
7-- Practical constraints (CN-IntegerUnlimited): (MIN..MAX)
8-- PER-visible constraints (CN-IntegerUnlimited): (MIN..MAX)
9
10CN-IntegerMinMax ::= INTEGER (MIN..MAX)
11-- Combined constraints: (MIN..MAX)
12-- Practical constraints (CN-IntegerMinMax): (MIN..MAX)
13-- PER-visible constraints (CN-IntegerMinMax): (MIN..MAX)
14
15CN-IntegerMinLow ::= INTEGER (MIN..1)
16-- Combined constraints: (MIN..1)
17-- Practical constraints (CN-IntegerMinLow): (MIN..1)
18-- PER-visible constraints (CN-IntegerMinLow): (MIN..1)
19
Lev Walkinc3f0b892005-08-14 02:40:04 +000020NO-IntegerMinHigh ::= INTEGER (MIN..3000000000)
21-- Combined constraints: (MIN..3000000000)
22-- Practical constraints (NO-IntegerMinHigh): (MIN..3000000000)
23-- PER-visible constraints (NO-IntegerMinHigh): (MIN..3000000000)
Lev Walkin082cadc2005-08-14 02:18:27 +000024
Lev Walkinc3f0b892005-08-14 02:40:04 +000025NO-IntegerLowHigh ::= INTEGER (1..3000000000)
26-- Combined constraints: (1..3000000000)
27-- Practical constraints (NO-IntegerLowHigh): (1..3000000000)
28-- PER-visible constraints (NO-IntegerLowHigh): (1..3000000000)
Lev Walkin082cadc2005-08-14 02:18:27 +000029
30CN-IntegerLowMax ::= INTEGER (1..MAX)
31-- Combined constraints: (1..MAX)
32-- Practical constraints (CN-IntegerLowMax): (1..MAX)
33-- PER-visible constraints (CN-IntegerLowMax): (1..MAX)
34
Lev Walkinc3f0b892005-08-14 02:40:04 +000035NO-IntegerHighMax ::= INTEGER (3000000000..MAX)
36-- Combined constraints: (3000000000..MAX)
37-- Practical constraints (NO-IntegerHighMax): (3000000000..MAX)
38-- PER-visible constraints (NO-IntegerHighMax): (3000000000..MAX)
Lev Walkin082cadc2005-08-14 02:18:27 +000039
Lev Walkinc3f0b892005-08-14 02:40:04 +000040NO-IntegerLowestMax ::= INTEGER (-3000000000..MAX)
41-- Combined constraints: (-3000000000..MAX)
42-- Practical constraints (NO-IntegerLowestMax): (-3000000000..MAX)
43-- PER-visible constraints (NO-IntegerLowestMax): (-3000000000..MAX)
Lev Walkin082cadc2005-08-14 02:18:27 +000044
Lev Walkinc3f0b892005-08-14 02:40:04 +000045NO-IntegerOutRange ::= INTEGER (3000000000..3000000001)
46-- Combined constraints: (3000000000..3000000001)
47-- Practical constraints (NO-IntegerOutRange): (3000000000..3000000001)
48-- PER-visible constraints (NO-IntegerOutRange): (3000000000..3000000001)
Lev Walkin082cadc2005-08-14 02:18:27 +000049
Lev Walkinc3f0b892005-08-14 02:40:04 +000050NO-IntegerOutValue ::= INTEGER (3000000000)
51-- Combined constraints: (3000000000)
52-- Practical constraints (NO-IntegerOutValue): (3000000000)
53-- PER-visible constraints (NO-IntegerOutValue): (3000000000)
Lev Walkin082cadc2005-08-14 02:18:27 +000054
55OK-IntegerInRange1 ::= INTEGER (-100..100)
56-- Combined constraints: (-100..100)
57-- Practical constraints (OK-IntegerInRange1): (-100..100)
58-- PER-visible constraints (OK-IntegerInRange1): (-100..100)
59
60OK-IntegerInRange2 ::= INTEGER (-100 | 100)
61-- Combined constraints: (-100 | 100)
62-- Practical constraints (OK-IntegerInRange2): (-100 | 100)
63-- PER-visible constraints (OK-IntegerInRange2): (-100 | 100)
64
65OK-IntegerInRange3 ::= INTEGER (-2147483648..2147483647)
66-- Combined constraints: (-2147483648..2147483647)
67-- Practical constraints (OK-IntegerInRange3): (-2147483648..2147483647)
68-- PER-visible constraints (OK-IntegerInRange3): (-2147483648..2147483647)
69
70OK-IntegerInRange4 ::= INTEGER (-2147483648 | 2147483647)
71-- Combined constraints: (-2147483648 | 2147483647)
72-- Practical constraints (OK-IntegerInRange4): (-2147483648 | 2147483647)
73-- PER-visible constraints (OK-IntegerInRange4): (-2147483648 | 2147483647)
74
75OK-IntegerInRange5 ::= INTEGER (-2147483648 | 2147483647,...)
76-- Combined constraints: (-2147483648 | 2147483647,...)
77-- Practical constraints (OK-IntegerInRange5): (-2147483648 | 2147483647,...)
78-- PER-visible constraints (OK-IntegerInRange5): (-2147483648 | 2147483647,...)
79
Lev Walkinfee6f712005-08-27 03:13:51 +000080NO-IntegerInRange6 ::= INTEGER (0..4294967295)
81-- Combined constraints: (0..4294967295)
82-- Practical constraints (NO-IntegerInRange6): (0..4294967295)
83-- PER-visible constraints (NO-IntegerInRange6): (0..4294967295)
84
Lev Walkinc3f0b892005-08-14 02:40:04 +000085CN-IntegerEnumerated1 ::= INTEGER {
86 a(1)
87-- Practical constraints (a):
88-- PER-visible constraints (a):
89,
90 b(2)
91-- Practical constraints (b):
92-- PER-visible constraints (b):
93
94}
95-- Practical constraints (CN-IntegerEnumerated1): (MIN..MAX)
96-- PER-visible constraints (CN-IntegerEnumerated1): (MIN..MAX)
97
98NO-IntegerEnumerated2 ::= INTEGER {
99 a(1)
100-- Practical constraints (a):
101-- PER-visible constraints (a):
102,
103 b(3000000000)
104-- Practical constraints (b):
105-- PER-visible constraints (b):
106
107}
108-- Practical constraints (NO-IntegerEnumerated2): (MIN..MAX)
109-- PER-visible constraints (NO-IntegerEnumerated2): (MIN..MAX)
110
Lev Walkin082cadc2005-08-14 02:18:27 +0000111END