0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / BOPAlgo / BOPAlgo_CheckerSI.cdl
index 162f0fd..9578c09 100644 (file)
@@ -6,8 +6,8 @@
 --
 -- This file is part of Open CASCADE Technology software library.
 --
--- This library is free software; you can redistribute it and / or modify it
--- under the terms of the GNU Lesser General Public version 2.1 as published
+-- This library is free software; you can redistribute it and/or modify it under
+-- the terms of the GNU Lesser General Public License version 2.1 as published
 -- by the Free Software Foundation, with special exception defined in the file
 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
 -- distribution for complete text of the license and disclaimer of any warranty.
@@ -20,19 +20,22 @@ class CheckerSI from BOPAlgo
     inherits PaveFiller from BOPAlgo  
     
     ---Purpose: Checks shape on self-interference.
-
+uses   
+    DataMapOfShapeShape from BOPCol  
+    
 is
     Create 
-       returns CheckerSI from BOPAlgo;  
+     returns CheckerSI from BOPAlgo;  
     ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_CheckerSI();"  
     
 
     Perform(me:out) 
-       is redefined;   
+     is redefined;   
   
 
     Init  (me:out) 
-       is redefined protected;
+     is redefined protected;
 
     SetLevelOfCheck(me:out; 
       theLevel: Integer from Standard); 
@@ -45,13 +48,35 @@ is
     --           4 - V/V, V/E, E/E, V/F and E/F; 
     --           5 - all interferences, default value. 
  
-
+    SetNonDestructive(me:out; 
+      theFlag: Boolean from Standard);  
+    ---Purpose: Sets the flag <theFlag> that defines 
+    --  the mode of the treatment: 
+    --  the copy of the argument when theFlag is true             
+    --  the argument itself  when theFlag is false 
+     
+    NonDestructive(me) 
+        returns Boolean from Standard; 
+    ---Purpose: Returns the flag that defines the 
+    --  mode of the treatment: 
+    --  true when the copy of the argument is used            
+    --  false when the argument itself  is used
     PostTreat  (me:out)  
-       is protected;       
-    ---Purpose: Provides post-tratment actions         
-       
+     is protected;       
+    ---Purpose: Provides post-treatment actions   
+    PrepareCopy(me:out) 
+      is virtual protected;  
+     
+    PostTreatCopy (me:out)  
+     is protected;       
+    ---Purpose: Provides post-treatment actions for the copy  
+
  
 fields
     myLevelOfCheck: Integer from Standard is protected;
+    myNonDestructive: Boolean from Standard is protected; 
+    myNewOldMap   : DataMapOfShapeShape from BOPCol is protected;   
     
 end CheckerSI;