b311480e |
1 | // Created on: 2001-08-24 |
2 | // Created by: Alexnder GRIGORIEV |
973c2be1 |
3 | // Copyright (c) 2001-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. |
7fd59977 |
15 | |
16 | #include <XmlMDataXtd_PlaneDriver.ixx> |
17 | #include <TDataXtd_Plane.hxx> |
18 | |
19 | //======================================================================= |
20 | //function : XmlMDataXtd_PlaneDriver |
21 | //purpose : Constructor |
22 | //======================================================================= |
23 | |
24 | XmlMDataXtd_PlaneDriver::XmlMDataXtd_PlaneDriver |
25 | (const Handle(CDM_MessageDriver)& theMsgDriver) |
26 | : XmlMDF_ADriver (theMsgDriver, NULL) |
27 | {} |
28 | |
29 | //======================================================================= |
30 | //function : NewEmpty |
31 | //purpose : |
32 | //======================================================================= |
33 | |
34 | Handle(TDF_Attribute) XmlMDataXtd_PlaneDriver::NewEmpty() const |
35 | { |
36 | return (new TDataXtd_Plane()); |
37 | } |
38 | |
39 | //======================================================================= |
40 | //function : Paste |
41 | //purpose : |
42 | //======================================================================= |
43 | |
44 | Standard_Boolean XmlMDataXtd_PlaneDriver::Paste |
45 | (const XmlObjMgt_Persistent&, |
46 | const Handle(TDF_Attribute)&, |
47 | XmlObjMgt_RRelocationTable& ) const |
48 | { |
49 | return Standard_True; |
50 | } |
51 | |
52 | //======================================================================= |
53 | //function : Paste |
54 | //purpose : |
55 | //======================================================================= |
56 | |
57 | void XmlMDataXtd_PlaneDriver::Paste (const Handle(TDF_Attribute)&, |
58 | XmlObjMgt_Persistent&, |
59 | XmlObjMgt_SRelocationTable& ) const |
60 | { |
61 | } |