#include <Standard_Boolean.hxx>
#include <GEOMAlgo_PassKeyShape.hxx>
+#include <Basics_OCCTVersion.hxx>
+
//=======================================================================
//class : GEOMAlgo_PassKeyShapeMapHasher
//purpose :
class GEOMAlgo_PassKeyShapeMapHasher
{
public:
+#if OCC_VERSION_LARGE < 0x07080000
GEOMALGOIMPL_EXPORT
static Standard_Integer HashCode(const GEOMAlgo_PassKeyShape& aPKey,
const Standard_Integer Upper) ;
GEOMALGOIMPL_EXPORT
static Standard_Boolean IsEqual(const GEOMAlgo_PassKeyShape& aPKey1,
const GEOMAlgo_PassKeyShape& aPKey2) ;
+#else
+ GEOMALGOIMPL_EXPORT
+ size_t operator()(const GEOMAlgo_PassKeyShape& aPKey) const;
+
+ GEOMALGOIMPL_EXPORT
+ bool operator()(const GEOMAlgo_PassKeyShape& aPKey1,
+ const GEOMAlgo_PassKeyShape& aPKey2) const;
+#endif // OCC_VERSION_LARGE < 0x07080000
};
#endif