0024428: Implementation of LGPL license
[occt.git] / src / BOPAlgo / BOPAlgo_Tools.cdl
1 -- Created by: Peter KURNEV
2 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
3 --
4 -- This file is part of Open CASCADE Technology software library.
5 --
6 -- This library is free software; you can redistribute it and / or modify it
7 -- under the terms of the GNU Lesser General Public version 2.1 as published
8 -- by the Free Software Foundation, with special exception defined in the file
9 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 -- distribution for complete text of the license and disclaimer of any warranty.
11 --
12 -- Alternatively, this file may be used under the terms of Open CASCADE
13 -- commercial license or contractual agreement.
14
15 class Tools from BOPAlgo 
16
17 ---Purpose: 
18
19 uses  
20     BaseAllocator from BOPCol, 
21     IndexedDataMapOfIntegerListOfInteger from BOPCol,  
22     DataMapOfIntegerListOfInteger from BOPCol, 
23     PDS from BOPDS, 
24     PaveBlock from BOPDS,  
25     IndexedDataMapOfPaveBlockListOfInteger from BOPDS, 
26     IndexedDataMapOfPaveBlockListOfPaveBlock from BOPDS, 
27     DataMapOfIntegerListOfPaveBlock from BOPDS
28 --raises
29
30 is
31     --- 
32     --- static methods 
33     --- 
34     MakeBlocksCnx(myclass; 
35         theMILI     :IndexedDataMapOfIntegerListOfInteger from BOPCol; 
36         theMBlocks  :out DataMapOfIntegerListOfInteger from BOPCol; 
37         theAllocator:out BaseAllocator from BOPCol);  
38
39     MakeBlocks(myclass; 
40         theMILI     :IndexedDataMapOfPaveBlockListOfPaveBlock from BOPDS; 
41         theMBlocks  :out DataMapOfIntegerListOfPaveBlock from BOPDS; 
42         theAllocator:out BaseAllocator from BOPCol); 
43  
44     PerformCommonBlocks(myclass; 
45         theMBlocks  :out IndexedDataMapOfPaveBlockListOfPaveBlock from BOPDS; 
46         theAllocator:out BaseAllocator from BOPCol; 
47         pDS: out PDS from BOPDS);
48     
49     FillMap(myclass; 
50         tneN1:Integer from Standard; 
51         tneN2:Integer from Standard; 
52         theMILI : out IndexedDataMapOfIntegerListOfInteger from BOPCol; 
53         theAllocator: out BaseAllocator from BOPCol); 
54     
55      
56     FillMap(myclass; 
57         tnePB1:PaveBlock from BOPDS; 
58         tnePB2:PaveBlock from BOPDS; 
59         theMILI : out IndexedDataMapOfPaveBlockListOfPaveBlock from BOPDS; 
60         theAllocator: out BaseAllocator from BOPCol);
61  
62     FillMap(myclass; 
63         tnePB1:PaveBlock from BOPDS; 
64         tneF:Integer from Standard;  
65         theMILI : out IndexedDataMapOfPaveBlockListOfInteger from BOPDS; 
66         theAllocator: out BaseAllocator from BOPCol); 
67  
68     PerformCommonBlocks(myclass; 
69         theMBlocks  :IndexedDataMapOfPaveBlockListOfInteger from BOPDS; 
70         theAllocator:out BaseAllocator from BOPCol; 
71         pDS: out PDS from BOPDS);
72 --fields
73
74 end Tools;