7fd59977 |
1 | // File: BinMDataStd_TickDriver.cxx |
2 | // Created: May 29 11:40:00 2007 |
3 | // Author: Vlad Romashko |
4 | // <vladislav.romashko@opencascade.com> |
5 | // Copyright: Open CASCADE |
6 | |
7 | #include <BinMDataStd_TickDriver.ixx> |
8 | #include <CDM_MessageDriver.hxx> |
9 | #include <TDF_Attribute.hxx> |
10 | #include <TDataStd_Tick.hxx> |
11 | #include <BinMDF_ADriver.hxx> |
12 | #include <BinObjMgt_Persistent.hxx> |
13 | #include <BinObjMgt_RRelocationTable.hxx> |
14 | #include <BinObjMgt_SRelocationTable.hxx> |
15 | |
16 | //======================================================================= |
17 | //function : BinMDataStd_TickDriver |
18 | //purpose : |
19 | //======================================================================= |
20 | BinMDataStd_TickDriver::BinMDataStd_TickDriver(const Handle(CDM_MessageDriver)& theMsgDriver) |
21 | : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_Tick)->Name()) |
22 | { |
23 | } |
24 | |
25 | //======================================================================= |
26 | //function : NewEmpty |
27 | //purpose : |
28 | //======================================================================= |
29 | Handle(TDF_Attribute) BinMDataStd_TickDriver::NewEmpty() const |
30 | { |
31 | return new TDataStd_Tick(); |
32 | } |
33 | |
34 | //======================================================================= |
35 | //function : Paste |
36 | //purpose : persistent -> transient (retrieve) |
37 | //======================================================================= |
38 | Standard_Boolean BinMDataStd_TickDriver::Paste(const BinObjMgt_Persistent&, |
39 | const Handle(TDF_Attribute)&, |
40 | BinObjMgt_RRelocationTable& ) const |
41 | { |
42 | return Standard_True; |
43 | } |
44 | |
45 | //======================================================================= |
46 | //function : Paste |
47 | //purpose : transient -> persistent (store) |
48 | //======================================================================= |
49 | void BinMDataStd_TickDriver::Paste(const Handle(TDF_Attribute)&, |
50 | BinObjMgt_Persistent&, |
51 | BinObjMgt_SRelocationTable& ) const |
52 | { |
53 | } |