Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/XmlTObjDrivers_XYZDriver.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Created on: 2004-11-24
0002 // Created by: Edward AGAPOV
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 XmlTObjDrivers_XYZDriver_HeaderFile
0019 #define XmlTObjDrivers_XYZDriver_HeaderFile
0020 
0021 #include <XmlMDF_ADriver.hxx>
0022 
0023 class XmlTObjDrivers_XYZDriver : public XmlMDF_ADriver
0024 {
0025 
0026 public:
0027   Standard_EXPORT XmlTObjDrivers_XYZDriver(const occ::handle<Message_Messenger>& theMessageDriver);
0028   // constructor
0029 
0030   Standard_EXPORT occ::handle<TDF_Attribute> NewEmpty() const override;
0031   // Creates a new attribute
0032 
0033   Standard_EXPORT bool Paste(const XmlObjMgt_Persistent&       Source,
0034                              const occ::handle<TDF_Attribute>& Target,
0035                              XmlObjMgt_RRelocationTable&       RelocTable) const override;
0036   // Translate the contents of <aSource> and put it
0037   // into <aTarget>, using the relocation table
0038   // <aRelocTable> to keep the sharings.
0039 
0040   Standard_EXPORT void Paste(const occ::handle<TDF_Attribute>& Source,
0041                              XmlObjMgt_Persistent&             Target,
0042                              XmlObjMgt_SRelocationTable&       RelocTable) const override;
0043   // Translate the contents of <aSource> and put it
0044   // into <aTarget>, using the relocation table
0045   // <aRelocTable> to keep the sharings.
0046   // Store master and referred labels as entry, the other model referred
0047   // as entry in model-container
0048   // The XYZ pointing nowhere is not stored
0049 
0050 public:
0051   // CASCADE RTTI
0052   DEFINE_STANDARD_RTTIEXT(XmlTObjDrivers_XYZDriver, XmlMDF_ADriver)
0053 };
0054 
0055 // Define handle class
0056 #endif
0057 
0058 #ifdef _MSC_VER
0059 #pragma once
0060 #endif