blob: 93eb9f7f6cea46fb005749712dc7f05a2028f83c (
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
|
--
-- File : HighLight.cdl
-- Created : Sat 9 Jan 1993
-- Author : CKY / Contract Toubro-Larsen ( TCD )
--
---Copyright : MATRA-DATAVISION 1993
--
class HighLight from IGESGraph inherits IGESEntity
---Purpose: defines IGESHighLight, Type <406> Form <20>
-- in package IGESGraph
--
-- Attaches information that an entity is to be
-- displayed in some system dependent manner
uses Integer -- no one specific type
is
Create returns mutable HighLight;
-- Specific Methods pertaining to the class
Init (me : mutable;
nbProps : Integer;
aHighLightStatus : Integer);
---Purpose : This method is used to set the fields of the class
-- HighLight
-- - nbProps : Number of property values (NP = 1)
-- - aHighLightStatus : HighLight Flag
NbPropertyValues(me) returns Integer;
---Purpose : returns the number of property values in <me>
HighLightStatus(me) returns Integer;
---Purpose : returns 0 if <me> is not highlighted(default),
-- 1 if <me> is highlighted
IsHighLighted(me) returns Boolean;
---Purpose : returns True if entity is highlighted
fields
--
-- Class : IGESGraph_HighLight
--
-- Purpose : Declaration of the variables specific to a
-- HighLight property.
--
-- Reminder : A HighLight property is defined by :
-- - Number of property values (NP=1)
-- - Flag
--
theNbPropertyValues : Integer;
theHighLight : Integer;
end HighLight;
|