Salome HOME
Fix for the bug IPAL22851: Sub-shapes spelling
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_DataMapOfShapeMapOfShape.hxx
index f1e56991cf0dfdefc4875da609c6b26a0625ab24..228278e5e8b2e60b9b8eca7c6748931823fa1fca 100644 (file)
@@ -41,6 +41,7 @@
 #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
@@ -49,7 +50,7 @@ class TopTools_ShapeMapHasher;
 class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape;\r
 class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape;\r
 \r
-\r
+#include <Basics_OCCTVersion.hxx>\r
 \r
 class GEOMAlgo_DataMapOfShapeMapOfShape  : public TCollection_BasicMap {\r
 public:\r
@@ -102,31 +103,17 @@ public:
   return ChangeFind(K);\r
 }\r
 \r
-\r
-\r
-\r
-\r
-protected:\r
-\r
-\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
   \r
   Standard_EXPORT   GEOMAlgo_DataMapOfShapeMapOfShape(const GEOMAlgo_DataMapOfShapeMapOfShape& Other);\r
 \r
-\r
-\r
-\r
 };\r
 \r
-\r
-\r
-\r
-\r
 // other Inline functions and methods (like "C++: function call" methods)\r
 \r
-\r
 #endif\r