b311480e |
1 | -- Created on: 2004-05-13 |
2 | -- Created by: Sergey ZARITCHNY <szy@opencascade.com> |
973c2be1 |
3 | -- Copyright (c) 2004-2014 OPEN CASCADE SAS |
b311480e |
4 | -- |
973c2be1 |
5 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
6 | -- |
d5f74e42 |
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 |
973c2be1 |
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. |
b311480e |
12 | -- |
973c2be1 |
13 | -- Alternatively, this file may be used under the terms of Open CASCADE |
14 | -- commercial license or contractual agreement. |
b311480e |
15 | |
7fd59977 |
16 | -- modified 13.04.2009 Sergey Zaritchny |
7fd59977 |
17 | |
18 | class ShapeDriver from BinMDataXtd inherits ADriver from BinMDF |
19 | |
20 | ---Purpose: Shape attribute Driver. |
21 | |
22 | uses |
23 | MessageDriver from CDM, |
24 | SRelocationTable from BinObjMgt, |
25 | RRelocationTable from BinObjMgt, |
26 | Persistent from BinObjMgt, |
27 | Attribute from TDF |
28 | |
29 | is |
30 | Create (theMessageDriver:MessageDriver from CDM) |
6e33d3ce |
31 | returns ShapeDriver from BinMDataXtd; |
7fd59977 |
32 | |
6e33d3ce |
33 | NewEmpty (me) returns Attribute from TDF |
7fd59977 |
34 | is redefined; |
35 | |
36 | Paste(me; Source : Persistent from BinObjMgt; |
6e33d3ce |
37 | Target : Attribute from TDF; |
7fd59977 |
38 | RelocTable : out RRelocationTable from BinObjMgt) |
39 | returns Boolean from Standard is redefined; |
40 | |
41 | Paste(me; Source : Attribute from TDF; |
42 | Target : in out Persistent from BinObjMgt; |
43 | RelocTable : out SRelocationTable from BinObjMgt) |
44 | is redefined; |
45 | |
46 | end ShapeDriver; |
47 | |