Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 2017-02-13
0002 // Created by: Sergey NIKONOV
0003 // Copyright (c) 2005-2017 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 #ifndef _BinMXCAFDoc_NoteCommentDriver_HeaderFile
0017 #define _BinMXCAFDoc_NoteCommentDriver_HeaderFile
0018 
0019 #include <BinMXCAFDoc_NoteDriver.hxx>
0020 
0021 class BinMXCAFDoc_NoteCommentDriver;
0022 DEFINE_STANDARD_HANDLE(BinMXCAFDoc_NoteCommentDriver, BinMXCAFDoc_NoteDriver)
0023 
0024 class BinMXCAFDoc_NoteCommentDriver : public BinMXCAFDoc_NoteDriver
0025 {
0026 public:
0027   
0028   Standard_EXPORT BinMXCAFDoc_NoteCommentDriver(const Handle(Message_Messenger)& theMsgDriver);
0029   
0030   Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
0031   
0032   Standard_EXPORT Standard_Boolean Paste (const BinObjMgt_Persistent&  theSource, 
0033                                           const Handle(TDF_Attribute)& theTarget, 
0034                                           BinObjMgt_RRelocationTable&  theRelocTable) const Standard_OVERRIDE;
0035   
0036   Standard_EXPORT void Paste (const Handle(TDF_Attribute)& theSource, 
0037                               BinObjMgt_Persistent&        theTarget, 
0038                               BinObjMgt_SRelocationTable&  theRelocTable) const Standard_OVERRIDE;
0039 
0040   DEFINE_STANDARD_RTTIEXT(BinMXCAFDoc_NoteCommentDriver, BinMXCAFDoc_NoteDriver)
0041 
0042 protected:
0043 
0044   BinMXCAFDoc_NoteCommentDriver(const Handle(Message_Messenger)& theMsgDriver,
0045                                 Standard_CString                 theName);
0046 
0047 };
0048 
0049 #endif // _BinMXCAFDoc_NoteCommentDriver_HeaderFile