Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-23 09:19:26

0001 // Created on: 2001-09-10
0002 // Created by: Sergey KUUL
0003 // Copyright (c) 2001-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 #ifndef _Transfer_MapContainer_HeaderFile
0017 #define _Transfer_MapContainer_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <Standard_Transient.hxx>
0023 #include <NCollection_DataMap.hxx>
0024 
0025 class Transfer_MapContainer : public Standard_Transient
0026 {
0027 
0028 public:
0029   Standard_EXPORT Transfer_MapContainer();
0030 
0031   //! Set map already translated geometry objects.
0032   Standard_EXPORT void SetMapObjects(
0033     NCollection_DataMap<occ::handle<Standard_Transient>, occ::handle<Standard_Transient>>&
0034       theMapObjects);
0035 
0036   //! Get map already translated geometry objects.
0037   Standard_EXPORT NCollection_DataMap<occ::handle<Standard_Transient>,
0038                                       occ::handle<Standard_Transient>>&
0039                   GetMapObjects();
0040 
0041   DEFINE_STANDARD_RTTIEXT(Transfer_MapContainer, Standard_Transient)
0042 
0043 private:
0044   NCollection_DataMap<occ::handle<Standard_Transient>, occ::handle<Standard_Transient>> myMapObj;
0045 };
0046 
0047 #endif // _Transfer_MapContainer_HeaderFile