0024624: Lost word in license statement in source files
[occt.git] / src / Aspect / Aspect_IndexPixel.cdl
... / ...
CommitLineData
1-- Created on: 1993-07-23
2-- Created by: Jean Louis FRENKEL
3-- Copyright (c) 1993-1999 Matra Datavision
4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
5--
6-- This file is part of Open CASCADE Technology software library.
7--
8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
13--
14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
16
17class IndexPixel from Aspect inherits Pixel from Aspect
18
19is
20 Create
21 returns IndexPixel from Aspect;
22
23 Create (anIndex: Integer from Standard)
24 returns IndexPixel from Aspect;
25
26 Value(me)
27 returns Integer from Standard
28 is static ;
29
30 SetValue(me: in out; anIndex: Integer from Standard) is static ;
31
32 HashCode (me; Upper : Integer )
33 returns Integer
34 is redefined static ;
35 ---Level: Public
36 ---Purpose: Returns a hashed value denoting <me>. This value is in
37 -- the range 1..<Upper>.
38 ---C++: function call
39
40 Print( me ; s : in out OStream )
41 is redefined static ;
42 ---Level: Public
43 ---Purpose : Prints the contents of <me> on the stream <s>
44
45 IsEqual(me; Other : IndexPixel from Aspect) returns Boolean;
46 ---C++: alias operator==
47
48 IsNotEqual(me; Other : IndexPixel from Aspect) returns Boolean;
49 ---C++: alias operator!=
50
51fields
52 myIndex: Integer from Standard;
53
54end IndexPixel from Aspect;