Salome HOME
Remove "MAC" ends of lines
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_DataMapOfShapeMapOfShape.hxx
index 228278e5e8b2e60b9b8eca7c6748931823fa1fca..93eb92ebe6c4ee3825d6e10422cc27dfb4e681c8 100644 (file)
-// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE\r
-//\r
-// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,\r
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS\r
-//\r
-// This library is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU Lesser General Public\r
-// License as published by the Free Software Foundation; either\r
-// version 2.1 of the License.\r
-//\r
-// This library is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
-// Lesser General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU Lesser General Public\r
-// License along with this library; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA\r
-//\r
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
-\r
-#ifndef _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile\r
-#define _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile\r
-\r
-#ifndef _Standard_HeaderFile\r
-#include <Standard.hxx>\r
-#endif\r
-#ifndef _Standard_Macro_HeaderFile\r
-#include <Standard_Macro.hxx>\r
-#endif\r
-\r
-#ifndef _TCollection_BasicMap_HeaderFile\r
-#include <TCollection_BasicMap.hxx>\r
-#endif\r
-#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile\r
-#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>\r
-#endif\r
-#ifndef _Standard_Integer_HeaderFile\r
-#include <Standard_Integer.hxx>\r
-#endif\r
-#ifndef _Standard_Boolean_HeaderFile\r
-#include <Standard_Boolean.hxx>\r
-#endif\r
-\r
-class Standard_DomainError;\r
-class Standard_NoSuchObject;\r
-class TopoDS_Shape;\r
-class TopTools_MapOfShape;\r
-class TopTools_ShapeMapHasher;\r
-class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape;\r
-class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape;\r
-\r
-#include <Basics_OCCTVersion.hxx>\r
-\r
-class GEOMAlgo_DataMapOfShapeMapOfShape  : public TCollection_BasicMap {\r
-public:\r
-\r
-  void* operator new(size_t,void* anAddress) \r
-  {\r
-    return anAddress;\r
-  }\r
-  void* operator new(size_t size) \r
-  {\r
-    return Standard::Allocate(size); \r
-  }\r
-  void  operator delete(void *anAddress) \r
-  {\r
-    if (anAddress) Standard::Free((Standard_Address&)anAddress); \r
-  }\r
-\r
-  \r
-  Standard_EXPORT   GEOMAlgo_DataMapOfShapeMapOfShape(const Standard_Integer NbBuckets = 1);\r
-  \r
-  Standard_EXPORT     GEOMAlgo_DataMapOfShapeMapOfShape& Assign(const GEOMAlgo_DataMapOfShapeMapOfShape& Other) ;\r
-    GEOMAlgo_DataMapOfShapeMapOfShape& operator =(const GEOMAlgo_DataMapOfShapeMapOfShape& Other) \r
-{\r
-  return Assign(Other);\r
-}\r
-  \r
-  Standard_EXPORT     void ReSize(const Standard_Integer NbBuckets) ;\r
-  \r
-  Standard_EXPORT     void Clear() ;\r
-~GEOMAlgo_DataMapOfShapeMapOfShape()\r
-{\r
-  Clear();\r
-}\r
-  \r
-  Standard_EXPORT     Standard_Boolean Bind(const TopoDS_Shape& K,const TopTools_MapOfShape& I) ;\r
-  \r
-  Standard_EXPORT     Standard_Boolean IsBound(const TopoDS_Shape& K) const;\r
-  \r
-  Standard_EXPORT     Standard_Boolean UnBind(const TopoDS_Shape& K) ;\r
-  \r
-  Standard_EXPORT    const TopTools_MapOfShape& Find(const TopoDS_Shape& K) const;\r
-   const TopTools_MapOfShape& operator()(const TopoDS_Shape& K) const\r
-{\r
-  return Find(K);\r
-}\r
-  \r
-  Standard_EXPORT     TopTools_MapOfShape& ChangeFind(const TopoDS_Shape& K) ;\r
-    TopTools_MapOfShape& operator()(const TopoDS_Shape& K) \r
-{\r
-  return ChangeFind(K);\r
-}\r
-\r
-#if OCC_VERSION_LARGE > 0x06050100 // for OCC-6.5.2 and higher version\r
-  Standard_EXPORT Standard_Address Find1 (const TopoDS_Shape& K) const;\r
-  Standard_EXPORT Standard_Address ChangeFind1 (const TopoDS_Shape& K);\r
-#endif\r
-\r
-private:\r
-  \r
-  Standard_EXPORT   GEOMAlgo_DataMapOfShapeMapOfShape(const GEOMAlgo_DataMapOfShapeMapOfShape& Other);\r
-\r
-};\r
-\r
-// other Inline functions and methods (like "C++: function call" methods)\r
-\r
-#endif\r
+// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
+
+//
+
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+
+//
+
+// This library is free software; you can redistribute it and/or
+
+// modify it under the terms of the GNU Lesser General Public
+
+// License as published by the Free Software Foundation; either
+
+// version 2.1 of the License.
+
+//
+
+// This library is distributed in the hope that it will be useful,
+
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+
+// Lesser General Public License for more details.
+
+//
+
+// You should have received a copy of the GNU Lesser General Public
+
+// License along with this library; if not, write to the Free Software
+
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+
+//
+
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+
+
+
+#ifndef _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile
+
+#define _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile
+
+
+
+#ifndef _Standard_HeaderFile
+
+#include <Standard.hxx>
+
+#endif
+
+#ifndef _Standard_Macro_HeaderFile
+
+#include <Standard_Macro.hxx>
+
+#endif
+
+
+
+#ifndef _TCollection_BasicMap_HeaderFile
+
+#include <TCollection_BasicMap.hxx>
+
+#endif
+
+#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
+
+#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
+
+#endif
+
+#ifndef _Standard_Integer_HeaderFile
+
+#include <Standard_Integer.hxx>
+
+#endif
+
+#ifndef _Standard_Boolean_HeaderFile
+
+#include <Standard_Boolean.hxx>
+
+#endif
+
+
+
+class Standard_DomainError;
+
+class Standard_NoSuchObject;
+
+class TopoDS_Shape;
+
+class TopTools_MapOfShape;
+
+class TopTools_ShapeMapHasher;
+
+class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape;
+
+class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape;
+
+
+
+#include <Basics_OCCTVersion.hxx>
+
+
+
+class GEOMAlgo_DataMapOfShapeMapOfShape  : public TCollection_BasicMap {
+
+public:
+
+
+
+  void* operator new(size_t,void* anAddress) 
+
+  {
+
+    return anAddress;
+
+  }
+
+  void* operator new(size_t size) 
+
+  {
+
+    return Standard::Allocate(size); 
+
+  }
+
+  void  operator delete(void *anAddress) 
+
+  {
+
+    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
+
+  }
+
+
+
+  
+
+  Standard_EXPORT   GEOMAlgo_DataMapOfShapeMapOfShape(const Standard_Integer NbBuckets = 1);
+
+  
+
+  Standard_EXPORT     GEOMAlgo_DataMapOfShapeMapOfShape& Assign(const GEOMAlgo_DataMapOfShapeMapOfShape& Other) ;
+
+    GEOMAlgo_DataMapOfShapeMapOfShape& operator =(const GEOMAlgo_DataMapOfShapeMapOfShape& Other) 
+
+{
+
+  return Assign(Other);
+
+}
+
+  
+
+  Standard_EXPORT     void ReSize(const Standard_Integer NbBuckets) ;
+
+  
+
+  Standard_EXPORT     void Clear() ;
+
+~GEOMAlgo_DataMapOfShapeMapOfShape()
+
+{
+
+  Clear();
+
+}
+
+  
+
+  Standard_EXPORT     Standard_Boolean Bind(const TopoDS_Shape& K,const TopTools_MapOfShape& I) ;
+
+  
+
+  Standard_EXPORT     Standard_Boolean IsBound(const TopoDS_Shape& K) const;
+
+  
+
+  Standard_EXPORT     Standard_Boolean UnBind(const TopoDS_Shape& K) ;
+
+  
+
+  Standard_EXPORT    const TopTools_MapOfShape& Find(const TopoDS_Shape& K) const;
+
+   const TopTools_MapOfShape& operator()(const TopoDS_Shape& K) const
+
+{
+
+  return Find(K);
+
+}
+
+  
+
+  Standard_EXPORT     TopTools_MapOfShape& ChangeFind(const TopoDS_Shape& K) ;
+
+    TopTools_MapOfShape& operator()(const TopoDS_Shape& K) 
+
+{
+
+  return ChangeFind(K);
+
+}
+
+
+
+#if OCC_VERSION_LARGE > 0x06050100 // for OCC-6.5.2 and higher version
+
+  Standard_EXPORT Standard_Address Find1 (const TopoDS_Shape& K) const;
+
+  Standard_EXPORT Standard_Address ChangeFind1 (const TopoDS_Shape& K);
+
+#endif
+
+
+
+private:
+
+  
+
+  Standard_EXPORT   GEOMAlgo_DataMapOfShapeMapOfShape(const GEOMAlgo_DataMapOfShapeMapOfShape& Other);
+
+
+
+};
+
+
+
+// other Inline functions and methods (like "C++: function call" methods)
+
+
+
+#endif
+