0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / BinMXCAFDoc / BinMXCAFDoc_LocationDriver.cdl
1 -- Created on: 2005-05-17
2 -- Created by: Eugeny NAPALKOV <eugeny.napalkov@opencascade.com>
3 -- Copyright (c) 2005-2014 OPEN CASCADE SAS
4 --
5 -- This file is part of Open CASCADE Technology software library.
6 --
7 -- This library is free software; you can redistribute it and/or modify it under
8 -- the terms of the GNU Lesser General Public License version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
12 --
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
15
16 class LocationDriver from BinMXCAFDoc inherits ADriver from BinMDF
17
18 uses
19     MessageDriver    from CDM,
20     SRelocationTable from BinObjMgt,
21     RRelocationTable from BinObjMgt,
22     Persistent       from BinObjMgt,
23     Location         from TopLoc,
24     Attribute        from TDF,
25     LocationSetPtr   from BinTools
26 is
27     Create (theMsgDriver:MessageDriver from CDM)
28     returns LocationDriver from BinMXCAFDoc;
29
30     NewEmpty (me)  returns Attribute from TDF
31     is redefined;
32
33     Paste(me; theSource     : Persistent from BinObjMgt;
34               theTarget     : Attribute from TDF;
35               theRelocTable : out RRelocationTable from BinObjMgt)
36     returns Boolean from Standard is redefined;
37
38     Paste(me; theSource     : Attribute from TDF;
39               theTarget     : in out Persistent from BinObjMgt;
40               theRelocTable : out SRelocationTable from BinObjMgt)
41     is redefined;
42     
43     Translate(me; theSource     : Persistent from BinObjMgt;
44                        theLoc        : in out Location from TopLoc;
45                        theMap        : out RRelocationTable from BinObjMgt)
46     returns Boolean from Standard;
47     
48     Translate(me; theLoc        : Location from TopLoc;
49                        theTarget     : in out Persistent from BinObjMgt;
50                        theMap        : out SRelocationTable from BinObjMgt);
51     ---Purpose: Translate transient location to storable
52     
53     SetSharedLocations(me: mutable;
54                        theLocations:  in LocationSetPtr  from BinTools);
55     ---C++: inline
56     
57 fields
58     myLocations : LocationSetPtr   from BinTools;
59 end;