blob: 62bdad50232401b3fd77614adaa2380321db69a6 [file] [log] [blame]
vlm75b3a532005-08-14 02:18:27 +00001ModuleConditionalIntegerType { iso org(3) dod(6) internet(1) private(4)
2 enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 90 }
3DEFINITIONS ::=
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
vlma33a2162005-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)
vlm75b3a532005-08-14 02:18:27 +000024
vlma33a2162005-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)
vlm75b3a532005-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
vlma33a2162005-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)
vlm75b3a532005-08-14 02:18:27 +000039
vlma33a2162005-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)
vlm75b3a532005-08-14 02:18:27 +000044
vlma33a2162005-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)
vlm75b3a532005-08-14 02:18:27 +000049
vlma33a2162005-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)
vlm75b3a532005-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
vlma33a2162005-08-14 02:40:04 +000080CN-IntegerEnumerated1 ::= INTEGER {
81 a(1)
82-- Practical constraints (a):
83-- PER-visible constraints (a):
84,
85 b(2)
86-- Practical constraints (b):
87-- PER-visible constraints (b):
88
89}
90-- Practical constraints (CN-IntegerEnumerated1): (MIN..MAX)
91-- PER-visible constraints (CN-IntegerEnumerated1): (MIN..MAX)
92
93NO-IntegerEnumerated2 ::= INTEGER {
94 a(1)
95-- Practical constraints (a):
96-- PER-visible constraints (a):
97,
98 b(3000000000)
99-- Practical constraints (b):
100-- PER-visible constraints (b):
101
102}
103-- Practical constraints (NO-IntegerEnumerated2): (MIN..MAX)
104-- PER-visible constraints (NO-IntegerEnumerated2): (MIN..MAX)
105
vlm75b3a532005-08-14 02:18:27 +0000106END