1 // File : BinTObjDrivers_IntSparseArrayDriver.hxx
2 // Created : 30.03.2007
3 // Author : Michael SAZONOV
4 // Copyright: Open CASCADE 2007
5 // The original implementation Copyright: (C) RINA S.p.A
7 #ifndef BinTObjDrivers_IntSparseArrayDriver_HeaderFile
8 #define BinTObjDrivers_IntSparseArrayDriver_HeaderFile
10 #include <TObj_Common.hxx>
11 #include <BinMDF_ADriver.hxx>
13 class BinTObjDrivers_IntSparseArrayDriver : public BinMDF_ADriver
18 Standard_EXPORT BinTObjDrivers_IntSparseArrayDriver
19 (const Handle(CDM_MessageDriver)& theMessageDriver);
22 Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const;
23 // Creates a new attribute
25 Standard_EXPORT Standard_Boolean Paste
26 (const BinObjMgt_Persistent& theSource,
27 const Handle(TDF_Attribute)& theTarget,
28 BinObjMgt_RRelocationTable& theRelocTable) const;
29 // Translate the contents of <theSource> and put it
32 Standard_EXPORT void Paste
33 (const Handle(TDF_Attribute)& theSource,
34 BinObjMgt_Persistent& theTarget,
35 BinObjMgt_SRelocationTable& theRelocTable) const;
36 // Translate the contents of <aSource> and put it
41 DEFINE_STANDARD_RTTI(BinTObjDrivers_IntSparseArrayDriver)
44 // Define handle class
45 DEFINE_STANDARD_HANDLE(BinTObjDrivers_IntSparseArrayDriver,BinMDF_ADriver)