Open CASCADE Technology  7.7.0.dev
Static Public Member Functions

BOPDS_PairMapHasher Class Reference

#include <BOPDS_PairMapHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const BOPDS_Pair &thePair, const Standard_Integer theUpperBound)
 Computes a hash code for the given pair, in the range [1, theUpperBound]. More...
 
static Standard_Boolean IsEqual (const BOPDS_Pair &thePair1, const BOPDS_Pair &thePair2)
 

Member Function Documentation

◆ HashCode()

static Standard_Integer BOPDS_PairMapHasher::HashCode ( const BOPDS_Pair thePair,
const Standard_Integer  theUpperBound 
)
inlinestatic

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

Parameters
thePairthe pair 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 BOPDS_PairMapHasher::IsEqual ( const BOPDS_Pair thePair1,
const BOPDS_Pair thePair2 
)
inlinestatic

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