Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions
MoniTool_MTHasher Class Reference

The auxiliary class provides hash code for mapping objects
More...

#include <MoniTool_MTHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const Standard_CString Str, const Standard_Integer Upper)
 
 Returns a HasCode value for the CString <Str>  in the <br>

range 0..Upper.
Default ::HashCode(Str,Upper)
More...

 
static Standard_Boolean IsEqual (const Standard_CString Str1, const Standard_CString Str2)
 
 Returns True  when the two CString are the same. Two <br>

same strings must have the same hashcode, the
contrary is not necessary.
Default Str1 == Str2
More...

 

Detailed Description

The auxiliary class provides hash code for mapping objects

Member Function Documentation

static Standard_Integer MoniTool_MTHasher::HashCode ( const Standard_CString  Str,
const Standard_Integer  Upper 
)
static

 Returns a HasCode value for the CString <Str>  in the <br>

range 0..Upper.
Default ::HashCode(Str,Upper)

static Standard_Boolean MoniTool_MTHasher::IsEqual ( const Standard_CString  Str1,
const Standard_CString  Str2 
)
static

 Returns True  when the two CString are the same. Two <br>

same strings must have the same hashcode, the
contrary is not necessary.
Default Str1 == Str2


The documentation for this class was generated from the following file: