0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
[occt.git] / src / BinTObjDrivers / BinTObjDrivers_IntSparseArrayDriver.hxx
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
6
7 #ifndef BinTObjDrivers_IntSparseArrayDriver_HeaderFile
8 #define BinTObjDrivers_IntSparseArrayDriver_HeaderFile
9
10 #include <TObj_Common.hxx>
11 #include <BinMDF_ADriver.hxx>
12
13 class BinTObjDrivers_IntSparseArrayDriver : public BinMDF_ADriver 
14 {
15
16  public:
17
18   Standard_EXPORT BinTObjDrivers_IntSparseArrayDriver
19                          (const Handle(CDM_MessageDriver)& theMessageDriver);
20   // constructor
21
22   Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const;
23   // Creates a new attribute
24
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
30   // into <theTarget>
31
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
37   // into <aTarget>
38
39  public:
40   // CASCADE RTTI
41   DEFINE_STANDARD_RTTI(BinTObjDrivers_IntSparseArrayDriver)
42 };
43
44 // Define handle class
45 DEFINE_STANDARD_HANDLE(BinTObjDrivers_IntSparseArrayDriver,BinMDF_ADriver)
46
47 #endif
48
49 #ifdef _MSC_VER
50 #pragma once
51 #endif