|
|
|||
File indexing completed on 2026-09-27 09:19:42
0001 // Copyright (c) 2019 OPEN CASCADE SAS 0002 // 0003 // This file is part of Open CASCADE Technology software library. 0004 // 0005 // This library is free software; you can redistribute it and/or modify it under 0006 // the terms of the GNU Lesser General Public License version 2.1 as published 0007 // by the Free Software Foundation, with special exception defined in the file 0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0009 // distribution for complete text of the license and disclaimer of any warranty. 0010 // 0011 // Alternatively, this file may be used under the terms of Open CASCADE 0012 // commercial license or contractual agreement. 0013 0014 #ifndef _XmlMXCAFDoc_VisMaterialToolDriver_HeaderFile 0015 #define _XmlMXCAFDoc_VisMaterialToolDriver_HeaderFile 0016 0017 #include <XmlMDF_ADriver.hxx> 0018 0019 //! XML persistence driver for XCAFDoc_VisMaterialTool. 0020 class XmlMXCAFDoc_VisMaterialToolDriver : public XmlMDF_ADriver 0021 { 0022 DEFINE_STANDARD_RTTIEXT(XmlMXCAFDoc_VisMaterialToolDriver, XmlMDF_ADriver) 0023 public: 0024 //! Main constructor. 0025 Standard_EXPORT XmlMXCAFDoc_VisMaterialToolDriver( 0026 const occ::handle<Message_Messenger>& theMsgDriver); 0027 0028 //! Create new instance of XCAFDoc_VisMaterialTool. 0029 Standard_EXPORT occ::handle<TDF_Attribute> NewEmpty() const override; 0030 0031 //! Paste attribute from persistence into document. 0032 Standard_EXPORT bool Paste(const XmlObjMgt_Persistent& theSource, 0033 const occ::handle<TDF_Attribute>& theTarget, 0034 XmlObjMgt_RRelocationTable& theRelocTable) const override; 0035 0036 //! Paste attribute from document into persistence. 0037 Standard_EXPORT void Paste(const occ::handle<TDF_Attribute>& theSource, 0038 XmlObjMgt_Persistent& theTarget, 0039 XmlObjMgt_SRelocationTable& theRelocTable) const override; 0040 }; 0041 0042 #endif // _XmlMXCAFDoc_VisMaterialToolDriver_HeaderFile
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|