Open CASCADE Technology  7.5.0
Functions
Standard_Address.hxx File Reference
#include <Standard_Integer.hxx>

Functions

Standard_Integer HashCode (const void *const thePointer, const Standard_Integer theUpperBound)
 Returns a hash code of the given memory pointer. More...
 
Standard_Boolean IsEqual (const Standard_Address One, const Standard_Address Two)
 

Function Documentation

◆ HashCode()

Standard_Integer HashCode ( const void *const  thePointer,
const Standard_Integer  theUpperBound 
)
inline

Returns a hash code of the given memory pointer.

Parameters
thePointerthe memory pointer which hash code it to be computed
theUpperBoundthe upper bound of the range a resulting hash code must be within
Returns
a value of a computed hash code, in range [1, UpperBound]

◆ IsEqual()

Standard_Boolean IsEqual ( const Standard_Address  One,
const Standard_Address  Two 
)
inline