Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-25 09:22:21

0001 // Created on: 2004-11-24
0002 // Created by: Michael SAZONOV
0003 // Copyright (c) 2004-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_XYZDriver_HeaderFile
0019 #define BinTObjDrivers_XYZDriver_HeaderFile
0020 
0021 #include <BinMDF_ADriver.hxx>
0022 
0023 class BinTObjDrivers_XYZDriver : public BinMDF_ADriver
0024 {
0025 
0026 public:
0027   Standard_EXPORT BinTObjDrivers_XYZDriver(const Handle(Message_Messenger)& theMessageDriver);
0028   // constructor
0029 
0030   Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
0031   // Creates a new attribute
0032 
0033   Standard_EXPORT Standard_Boolean
0034     Paste(const BinObjMgt_Persistent&  theSource,
0035           const Handle(TDF_Attribute)& theTarget,
0036           BinObjMgt_RRelocationTable&  theRelocTable) const Standard_OVERRIDE;
0037   // Translate the contents of <theSource> and put it
0038   // into <theTarget>
0039 
0040   Standard_EXPORT void Paste(const Handle(TDF_Attribute)& theSource,
0041                              BinObjMgt_Persistent&        theTarget,
0042                              BinObjMgt_SRelocationTable&  theRelocTable) const Standard_OVERRIDE;
0043   // Translate the contents of <aSource> and put it
0044   // into <aTarget>
0045 
0046 public:
0047   // CASCADE RTTI
0048   DEFINE_STANDARD_RTTIEXT(BinTObjDrivers_XYZDriver, BinMDF_ADriver)
0049 };
0050 
0051 // Define handle class
0052 DEFINE_STANDARD_HANDLE(BinTObjDrivers_XYZDriver, BinMDF_ADriver)
0053 
0054 #endif
0055 
0056 #ifdef _MSC_VER
0057 #pragma once
0058 #endif