Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:36

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