Open CASCADE Technology
6.5.4
|
The auxiliary class provides hash code for mapping
ShapeWithRank objects
#include <BOPTColStd_ShapeWithRankHasher.hxx>
Static Public Member Functions | |
static DEFINE_STANDARD_ALLOC Standard_Integer | HashCode (const BOPTColStd_ShapeWithRank &SR, const Standard_Integer Upper) |
Returns a HasCode value for the Key <K> in the range 0..Upper. | |
static Standard_Boolean | IsEqual (const BOPTColStd_ShapeWithRank &SR1, const BOPTColStd_ShapeWithRank &SR2) |
Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary. |
static DEFINE_STANDARD_ALLOC Standard_Integer BOPTColStd_ShapeWithRankHasher::HashCode | ( | const BOPTColStd_ShapeWithRank & | SR, |
const Standard_Integer | Upper | ||
) | [static] |
static Standard_Boolean BOPTColStd_ShapeWithRankHasher::IsEqual | ( | const BOPTColStd_ShapeWithRank & | SR1, |
const BOPTColStd_ShapeWithRank & | SR2 | ||
) | [static] |