Adding of testing cases from subgroups 937 940 and 941 of CHL group
[occt.git] / src / BOP / BOP_HistoryCollector.cdl
1 -- Created on: 2003-03-20
2 -- Created by: Michael KLOKOV
3 -- Copyright (c) 2003-2012 OPEN CASCADE SAS
4 --
5 -- The content of this file is subject to the Open CASCADE Technology Public
6 -- License Version 6.5 (the "License"). You may not use the content of this file
7 -- except in compliance with the License. Please obtain a copy of the License
8 -- at http://www.opencascade.org and read it completely before using this file.
9 --
10 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
12 --
13 -- The Original Code and all software distributed under the License is
14 -- distributed on an "AS IS" basis, without warranty of any kind, and the
15 -- Initial Developer hereby disclaims all such warranties, including without
16 -- limitation, any warranties of merchantability, fitness for a particular
17 -- purpose or non-infringement. Please see the License for the specific terms
18 -- and conditions governing the rights and limitations under the License.
19
20
21 deferred class HistoryCollector from BOP inherits TShared from MMgt
22 uses
23     Shape from TopoDS,
24     Operation from BOP,
25     ListOfShape from TopTools,
26     DataMapOfShapeListOfShape from TopTools,
27     PDSFiller from BOPTools
28
29 is
30     Initialize;
31     
32     Initialize(theShape1   : Shape from TopoDS;
33                theShape2   : Shape from TopoDS;
34                theOperation: Operation from BOP);
35
36     Generated (me: mutable; S : Shape from TopoDS)
37         returns ListOfShape from TopTools
38         is virtual;
39         ---C++:  return const & 
40         
41     SetResult(me: mutable; theResult: Shape from TopoDS;
42                            theDSFiller: PDSFiller from BOPTools)
43         is virtual;
44
45     Modified (me: mutable; S : Shape from TopoDS)
46         returns ListOfShape from TopTools
47         is virtual;
48         ---C++:  return const & 
49
50     IsDeleted (me: mutable; S : Shape from TopoDS)
51         returns Boolean from Standard
52         is virtual;
53
54     HasGenerated (me)
55         returns Boolean from Standard
56         is virtual;
57
58     HasModified (me)
59         returns Boolean from Standard
60         is virtual;
61
62     HasDeleted (me)
63         returns Boolean from Standard
64         is virtual;
65
66 fields
67     myEmptyList: ListOfShape from TopTools is protected;
68     myOp      : Operation from BOP is protected;
69     myGenMap  : DataMapOfShapeListOfShape from TopTools is protected;
70     myModifMap: DataMapOfShapeListOfShape from TopTools is protected;
71     myS1         : Shape from TopoDS is protected;
72     myS2         : Shape from TopoDS is protected;
73     myResult     : Shape from TopoDS is protected;
74     myHasDeleted : Boolean from Standard is protected;
75
76 end HistoryCollector from BOP;