1 -- Created on: 1999-06-30
2 -- Created by: Sergey ZARITCHNY
3 -- Copyright (c) 1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 private class Translator from TNaming
19 ---Purpose: only for Shape Copy test - to move in DNaming
23 DataMapOfShapeShape from TopTools,
24 IndexedDataMapOfTransientTransient from TColStd
28 Create returns Translator from TNaming;
30 Add(me : in out; aShape : Shape from TopoDS);
32 Perform (me : in out);
35 returns Boolean from Standard;
37 Copied(me; aShape : Shape from TopoDS)
38 returns Shape from TopoDS;
39 ---Purpose: returns copied shape
43 returns DataMapOfShapeShape from TopTools;
44 ---C++ : return const&
45 ---Purpose: returns DataMap of results; (shape <-> copied shape)
46 DumpMap(me; isWrite : Boolean from Standard = Standard_False);
50 myIsDone : Boolean from Standard;
51 myMap : IndexedDataMapOfTransientTransient from TColStd;
52 myDataMapOfResults : DataMapOfShapeShape from TopTools;
53 -- myListOfShape : ListOfShape from TopTools;
54 -- myListOfResult : ListOfShape from TopTools;