0024947: Redesign OCCT legacy type system -- automatic
[occt.git] / src / XmlMDF / XmlMDF_ReferenceDriver.cdl
1 -- Created on: 2001-09-04
2 -- Created by: Julia DOROVSKIKH
3 -- Copyright (c) 2001-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 ReferenceDriver from XmlMDF  inherits ADriver from XmlMDF
17
18         ---Purpose: Attribute Driver.
19
20 uses
21     SRelocationTable from XmlObjMgt,
22     RRelocationTable from XmlObjMgt,
23     Persistent       from XmlObjMgt,
24     MessageDriver    from CDM,
25     Attribute        from TDF
26
27 is
28     Create (theMessageDriver:MessageDriver from CDM)
29         returns ReferenceDriver from XmlMDF;
30
31     NewEmpty (me)  returns Attribute from TDF;
32
33     Paste(me; Source     : Persistent from XmlObjMgt;
34               Target     : Attribute from TDF;
35               RelocTable : out RRelocationTable from XmlObjMgt)
36         returns Boolean from Standard;
37
38     Paste(me; Source     : Attribute from TDF;
39               Target     : in out Persistent from XmlObjMgt;
40               RelocTable : out SRelocationTable from XmlObjMgt);
41
42 end ReferenceDriver;