blob: 7466e0a36ba84e5d59f8d93e34eafb93fb5da17d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
-- File: BinMXCAFDoc_LocationDriver.cdl
-- Created: Tue May 17 14:42:38 2005
-- Author: Eugeny NAPALKOV <eugeny.napalkov@opencascade.com>
-- Copyright: Open CasCade S.A. 2005
class LocationDriver from BinMXCAFDoc inherits ADriver from BinMDF
uses
MessageDriver from CDM,
SRelocationTable from BinObjMgt,
RRelocationTable from BinObjMgt,
Persistent from BinObjMgt,
Location from TopLoc,
Attribute from TDF,
LocationSetPtr from BinTools
is
Create (theMsgDriver:MessageDriver from CDM)
returns mutable LocationDriver from BinMXCAFDoc;
NewEmpty (me) returns mutable Attribute from TDF
is redefined;
Paste(me; theSource : Persistent from BinObjMgt;
theTarget : mutable Attribute from TDF;
theRelocTable : out RRelocationTable from BinObjMgt)
returns Boolean from Standard is redefined;
Paste(me; theSource : Attribute from TDF;
theTarget : in out Persistent from BinObjMgt;
theRelocTable : out SRelocationTable from BinObjMgt)
is redefined;
Translate(me; theSource : Persistent from BinObjMgt;
theLoc : in out Location from TopLoc;
theMap : out RRelocationTable from BinObjMgt)
returns Boolean from Standard;
Translate(me; theLoc : Location from TopLoc;
theTarget : in out Persistent from BinObjMgt;
theMap : out SRelocationTable from BinObjMgt);
---Purpose: Translate transient location to storable
SetSharedLocations(me: mutable;
theLocations: in LocationSetPtr from BinTools);
---C++: inline
fields
myLocations : LocationSetPtr from BinTools;
end;
|