0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / HLRAlgo / HLRAlgo_EdgesBlock.cdl
1 -- Created on: 1992-04-06
2 -- Created by: Christophe MARION
3 -- Copyright (c) 1992-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
17 class EdgesBlock from HLRAlgo inherits TShared from MMgt
18
19         ---Purpose: An EdgesBlock is a set of Edges. It is used by the
20         --          DataStructure to structure the Edges.
21         --          
22         --          An EdgesBlock contains :
23         --          
24         --          * An Array  of index of Edges.
25         --          
26         --          * An Array of flagsf ( Orientation
27         --                                OutLine
28         --                                Internal
29         --                                Double
30         --                                IsoLine)
31
32 uses
33     Address         from Standard,
34     Boolean         from Standard,
35     Integer         from Standard,
36     Orientation     from TopAbs,
37     Array1OfInteger from TColStd,
38     Array1OfBoolean from TColStd
39     
40 is
41     Create(NbEdges : Integer)
42         ---Purpose: Create a Block of Edges for a wire.
43     returns EdgesBlock from HLRAlgo;
44     
45     NbEdges(me) returns Integer from Standard
46         ---C++: inline
47     is static;
48     
49     Edge(me : mutable; I  : Integer from Standard;
50                        EI : Integer from Standard)
51         ---C++: inline
52     is static;             
53
54     Edge(me; I : Integer from Standard)
55     returns Integer from Standard
56         ---C++: inline
57     is static;
58     
59     Orientation(me : mutable; I  : Integer     from Standard;
60                               Or : Orientation from TopAbs)
61         ---C++: inline
62     is static;             
63
64     Orientation(me; I : Integer from Standard)
65     returns Orientation from TopAbs
66         ---C++: inline
67     is static;
68     
69     OutLine(me; I : Integer from Standard)
70     returns Boolean from Standard
71         ---C++: inline
72     is static;
73
74     OutLine(me : mutable; I : Integer from Standard;
75                           B : Boolean from Standard)
76         ---C++: inline
77     is static;
78
79     Internal(me; I : Integer from Standard)
80     returns Boolean from Standard
81         ---C++: inline
82     is static;
83
84     Internal(me : mutable; I : Integer from Standard;
85                            B : Boolean from Standard)
86         ---C++: inline
87     is static;
88
89     Double(me; I : Integer from Standard)
90     returns Boolean from Standard
91         ---C++: inline
92     is static;
93
94     Double(me : mutable; I : Integer from Standard;
95                          B : Boolean from Standard)
96         ---C++: inline
97     is static;
98
99     IsoLine(me; I : Integer from Standard)
100     returns Boolean from Standard
101         ---C++: inline
102     is static;
103
104     IsoLine(me : mutable; I : Integer from Standard;
105                           B : Boolean from Standard)
106         ---C++: inline
107     is static;
108
109     UpdateMinMax(me : mutable; TotMinMax : Address from Standard)
110     is static;
111
112     MinMax(me) returns Address from Standard
113         ---C++: inline
114     is static;
115
116 fields
117     myEdges  : Array1OfInteger from TColStd;
118     myFlags  : Array1OfBoolean from TColStd;
119     myMinMax : Integer         from Standard[16];
120
121 end EdgesBlock;