0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
[occt.git] / src / BinMDataStd / BinMDataStd_TickDriver.cxx
CommitLineData
b311480e 1// Created on: 2007-05-29
2// Created by: Vlad Romashko
973c2be1 3// Copyright (c) 2007-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
42cf5bc1 16
17#include <BinMDataStd_TickDriver.hxx>
7fd59977 18#include <BinMDF_ADriver.hxx>
19#include <BinObjMgt_Persistent.hxx>
20#include <BinObjMgt_RRelocationTable.hxx>
21#include <BinObjMgt_SRelocationTable.hxx>
42cf5bc1 22#include <CDM_MessageDriver.hxx>
23#include <Standard_Type.hxx>
24#include <TDataStd_Tick.hxx>
25#include <TDF_Attribute.hxx>
7fd59977 26
92efcf78 27IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_TickDriver,BinMDF_ADriver)
28
7fd59977 29//=======================================================================
30//function : BinMDataStd_TickDriver
31//purpose :
32//=======================================================================
33BinMDataStd_TickDriver::BinMDataStd_TickDriver(const Handle(CDM_MessageDriver)& theMsgDriver)
34: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_Tick)->Name())
35{
36}
37
38//=======================================================================
39//function : NewEmpty
40//purpose :
41//=======================================================================
42Handle(TDF_Attribute) BinMDataStd_TickDriver::NewEmpty() const
43{
44 return new TDataStd_Tick();
45}
46
47//=======================================================================
48//function : Paste
49//purpose : persistent -> transient (retrieve)
50//=======================================================================
51Standard_Boolean BinMDataStd_TickDriver::Paste(const BinObjMgt_Persistent&,
52 const Handle(TDF_Attribute)&,
53 BinObjMgt_RRelocationTable& ) const
54{
55 return Standard_True;
56}
57
58//=======================================================================
59//function : Paste
60//purpose : transient -> persistent (store)
61//=======================================================================
62void BinMDataStd_TickDriver::Paste(const Handle(TDF_Attribute)&,
63 BinObjMgt_Persistent&,
64 BinObjMgt_SRelocationTable& ) const
65{
66}