Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:00

0001 // Created on: 2007-03-30
0002 // Created by: Michael SAZONOV
0003 // Copyright (c) 2007-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 // The original implementation Copyright: (C) RINA S.p.A
0017 
0018 #ifndef BinTObjDrivers_IntSparseArrayDriver_HeaderFile
0019 #define BinTObjDrivers_IntSparseArrayDriver_HeaderFile
0020 
0021 #include <BinMDF_ADriver.hxx>
0022 
0023 class BinTObjDrivers_IntSparseArrayDriver : public BinMDF_ADriver 
0024 {
0025 
0026  public:
0027 
0028   Standard_EXPORT BinTObjDrivers_IntSparseArrayDriver
0029                          (const Handle(Message_Messenger)& theMessageDriver);
0030   // constructor
0031 
0032   Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
0033   // Creates a new attribute
0034 
0035   Standard_EXPORT Standard_Boolean Paste
0036                          (const BinObjMgt_Persistent&  theSource,
0037                           const Handle(TDF_Attribute)& theTarget,
0038                           BinObjMgt_RRelocationTable&  theRelocTable) const Standard_OVERRIDE;
0039   // Translate the contents of <theSource> and put it
0040   // into <theTarget>
0041 
0042   Standard_EXPORT void Paste
0043                          (const Handle(TDF_Attribute)& theSource,
0044                           BinObjMgt_Persistent&        theTarget,
0045                           BinObjMgt_SRelocationTable&  theRelocTable) const Standard_OVERRIDE;
0046   // Translate the contents of <aSource> and put it
0047   // into <aTarget>
0048 
0049  public:
0050   // CASCADE RTTI
0051   DEFINE_STANDARD_RTTIEXT(BinTObjDrivers_IntSparseArrayDriver,BinMDF_ADriver)
0052 };
0053 
0054 // Define handle class
0055 DEFINE_STANDARD_HANDLE(BinTObjDrivers_IntSparseArrayDriver,BinMDF_ADriver)
0056 
0057 #endif
0058 
0059 #ifdef _MSC_VER
0060 #pragma once
0061 #endif