0024428: Implementation of LGPL license
[occt.git] / src / BOPAlgo / BOPAlgo_Algo.cdl
1 -- Created by: Peter KURNEV
2 -- Copyright (c) 2010-2014 OPEN CASCADE SAS
3 -- Copyright (c) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
4 -- Copyright (c) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT,
5 --                         EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 --
7 -- This file is part of Open CASCADE Technology software library.
8 --
9 -- This library is free software; you can redistribute it and / or modify it
10 -- under the terms of the GNU Lesser General Public version 2.1 as published
11 -- by the Free Software Foundation, with special exception defined in the file
12 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
13 -- distribution for complete text of the license and disclaimer of any warranty.
14 --
15 -- Alternatively, this file may be used under the terms of Open CASCADE
16 -- commercial license or contractual agreement.
17
18 deferred class Algo from BOPAlgo 
19         ---Purpose: provides the root interface for algorithms
20
21 uses  
22     BaseAllocator from BOPCol
23
24 --raises
25
26 is
27     Initialize 
28         returns Algo from BOPAlgo;  
29     ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_Algo();"  
30      
31     Initialize (theAllocator: BaseAllocator from BOPCol) 
32         returns Algo from BOPAlgo;  
33      
34     Perform(me:out) 
35         is deferred;      
36          
37     ErrorStatus (me) 
38         returns Integer from Standard; 
39   
40     WarningStatus (me) 
41         returns Integer from Standard;
42   
43     CheckData(me:out) 
44         is virtual protected;  
45         
46     CheckResult(me:out) 
47         is virtual protected; 
48
49     Allocator(me) 
50         returns BaseAllocator from BOPCol; 
51     ---C++: return const &      
52
53 fields 
54     myAllocator     : BaseAllocator from BOPCol is protected;
55     myErrorStatus   : Integer from Standard is protected;        
56     myWarningStatus : Integer from Standard is protected;        
57     
58 end Algo;