0024927: Getting rid of "Persistent" functionality -- Code
[occt.git] / src / MDocStd / MDocStd_XLinkRetrievalDriver.cdl
1 -- Created by: DAUTRY Philippe
2 -- Copyright (c) 1997-1999 Matra Datavision
3 -- Copyright (c) 1999-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 --              -----------------------------
17
18 ---Version:     0.0
19 --Version       Date            Purpose
20 --              0.0     Sep 17 1997     Creation
21
22
23 class XLinkRetrievalDriver from MDocStd
24     inherits ARDriver from MDF
25
26         ---Purpose: Tool used to translate a persistent XLink into a
27         --          transient one.
28
29 uses
30
31     RRelocationTable from MDF,
32     Attribute        from TDF,
33     Attribute        from PDF, 
34     MessageDriver    from CDM
35
36 is
37
38     Create (theMessageDriver : MessageDriver from CDM) -- Version 0
39     returns XLinkRetrievalDriver from MDocStd;
40
41     VersionNumber(me) returns Integer from Standard;
42         ---Purpose: Returns the version number from which the driver
43         --          is available: 0.
44
45     SourceType(me) returns Type from Standard;
46         ---Purpose: Returns the type XLink from PXref.
47
48     NewEmpty (me)
49     returns Attribute from TDF;
50
51
52     Paste(me;
53           aSource     :          Attribute        from PDF;
54           aTarget     :  Attribute        from TDF;
55           aRelocTable :          RRelocationTable from MDF);
56
57
58 end XLinkRetrievalDriver from MDocStd;