0025545: TopLoc_Location::Transformation() provokes data races
[occt.git] / src / TopLoc / TopLoc_ItemLocation.cdl
old mode 100755 (executable)
new mode 100644 (file)
index 2b144ae..6a66f1b
@@ -1,10 +1,18 @@
--- File:       ItemLocation.cdl
--- Created:    Mon Jan 21 14:00:31 1991
--- Author:     Christophe MARION
---             <cma@topsn3>
----Copyright:   Matra Datavision 1991
-
-
+-- Created on: 1991-01-21
+-- Created by: Christophe MARION
+-- Copyright (c) 1991-1999 Matra Datavision
+-- Copyright (c) 1999-2014 OPEN CASCADE SAS
+--
+-- 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 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.
+--
+-- Alternatively, this file may be used under the terms of Open CASCADE
+-- commercial license or contractual agreement.
 
 private class ItemLocation from TopLoc
 
@@ -22,31 +30,21 @@ private class ItemLocation from TopLoc
 
 uses
     Datum3D   from TopLoc,
-    Trsf      from gp,
-    TrsfPtr from TopLoc
+    Trsf      from gp
     
 is
     Create(D : Datum3D      from TopLoc; 
-          P : Integer      from Standard;
-           fromTrsf : Boolean from Standard = Standard_False) returns ItemLocation from TopLoc;
+          P : Integer      from Standard) returns ItemLocation from TopLoc;
        ---Purpose: Sets the elementary Datum to <D>
        --          Sets the exponent to <P>
 
-    Create(anOther : ItemLocation from TopLoc) returns ItemLocation from TopLoc;
-    
-    Assign(me : in out; anOther : ItemLocation from TopLoc) returns ItemLocation from TopLoc;
-    ---C++: alias operator=
-    ---C++: return &
-
-    Destroy(me : in out);
-    ---C++: alias ~
-
 fields
-    myDatum  : Datum3D   from TopLoc;
-    myPower  : Integer   from Standard;
-    myTrsf   : TrsfPtr   from TopLoc;
+    myDatum     : Datum3D   from TopLoc;
+    myPower     : Integer   from Standard;
+    myTrsf      : Trsf      from gp;
 
 friends
-    class Location from TopLoc
-    
+    class Location from TopLoc,
+    class SListOfItemLocation from TopLoc
+
 end ItemLocation;