blob: 59d442cdf47f09636297c4093616cb4e7cd65626 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
-- File: Dynamic_BooleanParameter.cdl
-- Created: Mon Jan 24 13:33:06 1994
-- Author: Gilles DEBARBOUILLE
-- <gde@meteox>
---Copyright: Matra Datavision 1994
class BooleanParameter from Dynamic
inherits
Parameter from Dynamic
---Purpose: This class describes a parameter with a boolean
-- as value.
uses
CString from Standard,
OStream from Standard
is
Create(aparameter : CString from Standard)
---Level: Advanced
---Purpose: Creates a boolean parameter with <aparameter> as name.
returns mutable BooleanParameter from Dynamic;
Create(aparameter : CString from Standard;
avalue : Boolean from Standard)
---Level: Advanced
---Purpose: Creates a boolean parameter with <aparameter> and <avalue>
-- respectively as name and value.
returns mutable BooleanParameter from Dynamic;
Create(aparameter , avalue : CString from Standard)
---Level: Advanced
---Purpose: Creates a boolean parameter with <aparameter> as name
-- and <avalue> as value. <avalue> is a CString with two possible
-- values which are : "Standard_True" and "Standard_False".
returns mutable BooleanParameter from Dynamic;
Value(me) returns Boolean from Standard
---Level: Public
---Purpose: Returns the boolean value <thevalue>.
is static;
Value (me : mutable ; avalue : Boolean from Standard)
---Level: Advanced
--- Purpose: Sets the field <thevalue> with the boolean value <avalue>
is static;
Dump(me ; astream : in out OStream from Standard)
---Level: Internal
---Purpose: Useful for debugging.
is redefined;
fields
thevalue : Boolean from Standard;
end BooleanParameter;
|