Open CASCADE Technology  7.7.0
Functions
TObj_Common.hxx File Reference
#include <Standard_Transient.hxx>
#include <TCollection_HExtendedString.hxx>

Functions

Standard_Integer HashCode (const Handle< TCollection_HExtendedString > &theHExtendedString, const Standard_Integer theUpperBound)
 Basic CASCADE definitions. More...
 
Standard_Boolean IsEqual (const Handle< TCollection_HExtendedString > &theStr1, const Handle< TCollection_HExtendedString > &theStr2)
 

Function Documentation

◆ HashCode()

Standard_Integer HashCode ( const Handle< TCollection_HExtendedString > &  theHExtendedString,
const Standard_Integer  theUpperBound 
)
inline

Basic CASCADE definitions.

Methods inline implementation for HExtendedString Computes a hash code for the given handle referred to extended string, in the range [1, theUpperBound]

Parameters
theHExtendedStringthe handle referred to extended 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]

◆ IsEqual()

Standard_Boolean IsEqual ( const Handle< TCollection_HExtendedString > &  theStr1,
const Handle< TCollection_HExtendedString > &  theStr2 
)
inline