Open CASCADE Technology  7.5.0
Static Public Member Functions

IMeshData::WeakEqual< Type > Struct Template Reference

#include <IMeshData_Types.hxx>

Static Public Member Functions

static Standard_Boolean IsEqual (const Type *theFirst, const Type *theSecond)
 
static Standard_Integer HashCode (const Type *const thePointer, Standard_Integer theUpperBound)
 Computes a hash code for the given pointer, in the range [1, theUpperBound]. More...
 

Member Function Documentation

◆ HashCode()

template<typename Type >
static Standard_Integer IMeshData::WeakEqual< Type >::HashCode ( const Type *const  thePointer,
Standard_Integer  theUpperBound 
)
inlinestatic

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

Parameters
thePointerthe pointer 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()

template<typename Type >
static Standard_Boolean IMeshData::WeakEqual< Type >::IsEqual ( const Type *  theFirst,
const Type *  theSecond 
)
inlinestatic

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