blob: 31425bc2f1f3c12703fa755f2919ed94eefd7f3f (
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
|
-- File: SiUnitAndRatioUnit.cdl
-- Created: Fri Jun 17 11:43:44 1994
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class SiUnitAndRatioUnit from StepBasic inherits SiUnit from StepBasic
--- This class is an implementation of EXPRESS
-- ANDOR Subtype Declaration.
uses
RatioUnit from StepBasic,
DimensionalExponents from StepBasic,
SiPrefix from StepBasic,
SiUnitName from StepBasic
is
Create returns mutable SiUnitAndRatioUnit;
---Purpose: Returns a SiUnitAndRatioUnit
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic)
is redefined;
Init (me: mutable; hasAprefix: Boolean from Standard;
aPrefix : SiPrefix from StepBasic;
aName : SiUnitName from StepBasic) is redefined;
-- Specific Methods for Field Data Access --
SetRatioUnit(me : mutable; aRatioUnit : mutable RatioUnit);
RatioUnit (me) returns mutable RatioUnit;
fields
ratioUnit: RatioUnit from StepBasic;
end SiUnitAndRatioUnit;
|