Open CASCADE Technology
7.5.0
|
A label hasher for label maps. More...
#include <TDF_LabelMapHasher.hxx>
Static Public Member Functions | |
static Standard_Integer | HashCode (const TDF_Label &theLabel, const Standard_Integer theUpperBound) |
Computes a hash code for the given label, in the range [1, theUpperBound]. More... | |
static Standard_Boolean | IsEqual (const TDF_Label &aLab1, const TDF_Label &aLab2) |
Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary. More... | |
A label hasher for label maps.
|
inlinestatic |
Computes a hash code for the given label, in the range [1, theUpperBound].
theLabel | the label which hash code is to be computed |
theUpperBound | the upper bound of the range a computing hash code must be within |
|
inlinestatic |
Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary.