Open CASCADE Technology  7.6.0
Static Public Member Functions

MAT2d_MapBiIntHasher Class Reference

#include <MAT2d_MapBiIntHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const MAT2d_BiInt &theKey, const Standard_Integer theUpperBound)
 Computes a hash code for the given key, in the range [1, theUpperBound]. More...
 
static Standard_Boolean IsEqual (const MAT2d_BiInt &Key1, const MAT2d_BiInt &Key2)
 

Member Function Documentation

◆ HashCode()

static Standard_Integer MAT2d_MapBiIntHasher::HashCode ( const MAT2d_BiInt theKey,
const Standard_Integer  theUpperBound 
)
static

Computes a hash code for the given key, in the range [1, theUpperBound].

Parameters
theKeythe key 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]

◆ IsEqual()

static Standard_Boolean MAT2d_MapBiIntHasher::IsEqual ( const MAT2d_BiInt Key1,
const MAT2d_BiInt Key2 
)
static

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