Open CASCADE Technology  7.5.0
Static Public Member Functions
BOPTools_SetMapHasher Class Reference

#include <BOPTools_SetMapHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const BOPTools_Set &theSet, Standard_Integer theUpperBound)
 Computes a hash code for the given set, in the range [1, theUpperBound]. More...
 
static Standard_Boolean IsEqual (const BOPTools_Set &aSet1, const BOPTools_Set &aSet2)
 

Member Function Documentation

◆ HashCode()

static Standard_Integer BOPTools_SetMapHasher::HashCode ( const BOPTools_Set theSet,
Standard_Integer  theUpperBound 
)
static

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

Parameters
theSetthe set 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 BOPTools_SetMapHasher::IsEqual ( const BOPTools_Set aSet1,
const BOPTools_Set aSet2 
)
static

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