Open CASCADE Technology
7.4.0
|
The auxiliary class provides hash code for mapping objects. More...
#include <MoniTool_MTHasher.hxx>
Static Public Member Functions | |
static Standard_Integer | HashCode (Standard_CString theString, Standard_Integer theUpperBound) |
Returns hash code for the given string, in the range [1, theUpperBound]. More... | |
static Standard_Boolean | IsEqual (const Standard_CString Str1, const Standard_CString Str2) |
Returns True when the two CString are the same. Two same strings must have the same hashcode, the contrary is not necessary. Default Str1 == Str2. More... | |
The auxiliary class provides hash code for mapping objects.
|
static |
Returns hash code for the given string, in the range [1, theUpperBound].
theString | the string which hash code is to be computed |
theUpperBound | the upper bound of the range a computing hash code must be within |
|
static |
Returns True when the two CString are the same. Two same strings must have the same hashcode, the contrary is not necessary. Default Str1 == Str2.