Open CASCADE Technology  7.6.0
Functions

Standard_ExtString.hxx File Reference

#include <Standard_TypeDef.hxx>

Functions

Standard_Integer HashCode (Standard_ExtString theExtString, Standard_Integer theUpperBound)
 Computes a hash code for the given wide character string, in the range [1, theUpperBound]. More...
 

Function Documentation

◆ HashCode()

Standard_Integer HashCode ( Standard_ExtString  theExtString,
Standard_Integer  theUpperBound 
)

Computes a hash code for the given wide character string, in the range [1, theUpperBound].

Parameters
theExtStringthe wide character string which hash code is to be computed
theUpperBoundthe upper bound of the range a computing hash code must be within
Returns
a computed hash code, in the range [1, theUpperBound]