0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / TNaming / TNaming_TranslateTool.cdl
1 -- Created on: 1999-06-24
2 -- Created by: Sergey ZARITCHNY
3 -- Copyright (c) 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 TranslateTool from TNaming inherits  TShared from MMgt
18
19         ---Purpose: The TranslateTool class is provided to support the          
20         --          translation of topological data structures  Transient 
21         --  .       to  Transient.
22
23 uses 
24      Shape                  from TopoDS, 
25      IndexedDataMapOfTransientTransient  from TColStd 
26       
27 raises
28
29     TypeMismatch from Standard 
30     
31 is
32
33     Add(me;
34         S1 : in out Shape from TopoDS;
35         S2 :        Shape from TopoDS)
36         ---Level: Internal 
37     raises
38         TypeMismatch from Standard;
39     
40     --
41     --       The Make methods should create a new empty  object of the
42     --       given type with  the given Model.   They should raise the
43     --       TypeMismatch   exception  if  the Model   is  not of  the
44     --       expected type.
45     --       
46
47
48     MakeVertex(me; 
49                S  : out Shape from TopoDS) 
50         ---Level: Internal 
51     raises
52         TypeMismatch from Standard;
53     
54     MakeEdge(me; 
55              S  : out Shape from TopoDS) 
56         ---Level: Internal 
57     raises
58         TypeMismatch from Standard;
59     
60     MakeWire(me; 
61              S  : out Shape from TopoDS) 
62         ---Level: Internal 
63     raises
64         TypeMismatch from Standard;
65     
66     MakeFace(me; 
67              S  : out Shape from TopoDS) 
68         ---Level: Internal 
69     raises
70         TypeMismatch from Standard;
71     
72     MakeShell(me; 
73               S  : out Shape from TopoDS) 
74         ---Level: Internal 
75     raises
76         TypeMismatch from Standard;
77     
78     MakeSolid(me; 
79               S  : out Shape from TopoDS) 
80         ---Level: Internal 
81     raises
82         TypeMismatch from Standard;
83     
84     MakeCompSolid(me; 
85                   S  : out Shape from TopoDS) 
86         ---Level: Internal 
87     raises
88         TypeMismatch from Standard;
89     
90     MakeCompound(me; 
91                  S  : out Shape from TopoDS) 
92         ---Level: Internal 
93     raises
94         TypeMismatch from Standard;
95     
96     --
97     --     The Update methods should transfer the data from  the first
98     --     shape to the second.
99     --     
100     
101     UpdateVertex(me;
102                  S1 :         Shape                  from TopoDS;
103                  S2 : in out  Shape                  from TopoDS;
104                  M  : in out  IndexedDataMapOfTransientTransient  from TColStd);
105         ---Level: Internal 
106         
107     UpdateEdge  (me;
108                  S1 :         Shape                  from TopoDS;
109                  S2 : in out  Shape                  from TopoDS;
110                  M  : in out  IndexedDataMapOfTransientTransient  from TColStd);
111         ---Level: Internal 
112     
113     UpdateFace  (me;
114                  S1 :         Shape                  from TopoDS;
115                  S2 : in out  Shape                  from TopoDS;
116                  M  : in out  IndexedDataMapOfTransientTransient  from TColStd);
117         ---Level: Internal  
118     UpdateShape (me; 
119                  S1 :         Shape                  from TopoDS;
120                  S2 : in out  Shape                  from TopoDS); 
121         ---Level: Internal 
122              
123 end TranslateTool;