blob: c018cdc7206c6931531765bc10fceacfb0ffd906 (
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
|
-- File: Dynamic_RealParameter.cdl
-- Created: Wed Feb 3 15:49:43 1993
-- Author: Gilles DEBARBOUILLE
-- <gde@bravox>
---Copyright: Matra Datavision 1993
class RealParameter from Dynamic
inherits
Parameter from Dynamic
---Purpose: This inherited class from Parameter describes all
-- the parameters, which are characterized by a real
-- value.
uses
OStream from Standard,
CString from Standard,
Real from Standard
is
Create(aparameter : CString from Standard )
---Level: Public
---Purpose: Creates a RealParameter with <aparameter> as name.
returns mutable RealParameter from Dynamic;
Create(aparameter : CString from Standard ; avalue : Real from Standard)
---Level: Public
---Purpose: With the name of the Parameter <aparameter> and the
-- real <avalue>, creates an instance of RealParameter.
returns mutable RealParameter from Dynamic;
Value(me) returns Real from Standard
---Level: Public
---Purpose: Returns the value of the parameter which is a real.
is static;
Value (me : mutable ; avalue : Real from Standard)
---Level: Public
--- Purpose: Sets the real <avalue> in <me>.
is static;
Dump(me ; astream : in out OStream from Standard)
---Level: Internal
---Purpose: Useful for debugging.
is redefined;
fields
thevalue : Real from Standard;
end RealParameter;
|