0022627: Change OCCT memory management defaults
[occt.git] / src / Aspect / Aspect_IndexPixel.cdl
CommitLineData
7fd59977 1
2-- File: Aspect_IndexPixel.cdl
3-- Created: Fri Jul 23 16:25:00 1993
4-- Author: Jean Louis FRENKEL
5-- <jlf@sparc3>
6---Copyright: Matra Datavision 1993
7
8class IndexPixel from Aspect inherits Pixel from Aspect
9
10is
11 Create
12 returns IndexPixel from Aspect;
13
14 Create (anIndex: Integer from Standard)
15 returns IndexPixel from Aspect;
16
17 Value(me)
18 returns Integer from Standard
19 is static ;
20
21 SetValue(me: in out; anIndex: Integer from Standard) is static ;
22
23 HashCode (me; Upper : Integer )
24 returns Integer
25 is redefined static ;
26 ---Level: Public
27 ---Purpose: Returns a hashed value denoting <me>. This value is in
28 -- the range 1..<Upper>.
29 ---C++: function call
30
31 Print( me ; s : in out OStream )
32 is redefined static ;
33 ---Level: Public
34 ---Purpose : Prints the contents of <me> on the stream <s>
35
36 IsEqual(me; Other : IndexPixel from Aspect) returns Boolean;
37 ---C++: alias operator==
38
39 IsNotEqual(me; Other : IndexPixel from Aspect) returns Boolean;
40 ---C++: alias operator!=
41
42fields
43 myIndex: Integer from Standard;
44
45end IndexPixel from Aspect;