Open CASCADE Technology
7.4.0
|
Functions | |
Standard_Integer | Abs (const Standard_Integer Value) |
Standard_Boolean | IsEven (const Standard_Integer Value) |
Standard_Boolean | IsOdd (const Standard_Integer Value) |
Standard_Integer | Max (const Standard_Integer Val1, const Standard_Integer Val2) |
Standard_Integer | Min (const Standard_Integer Val1, const Standard_Integer Val2) |
Standard_Integer | Modulus (const Standard_Integer Value, const Standard_Integer Divisor) |
Standard_Integer | Square (const Standard_Integer Value) |
Standard_Integer | IntegerFirst () |
Standard_Integer | IntegerLast () |
Standard_Integer | IntegerSize () |
template<typename TheInteger > | |
opencascade::std::enable_if< opencascade::is_integer< TheInteger >::value, Standard_Integer >::type | IntegerHashCode (const TheInteger theValue, const typename opencascade::disable_deduction< TheInteger >::type theMask, const Standard_Integer theUpperBound) |
Computes a hash code for the given value of some integer type, in range [1, theUpperBound]. More... | |
Standard_Integer | HashCode (const Standard_Integer theValue, const Standard_Integer theUpperBound) |
Computes a hash code for the given value of the Standard_Integer type, in range [1, theUpperBound]. More... | |
Standard_Boolean | IsEqual (const Standard_Integer theOne, const Standard_Integer theTwo) |
Standard_Integer | HashCode (const unsigned int theValue, const Standard_Integer theUpperBound) |
Computes a hash value for the given unsigned integer, in range [1, theUpperBound]. More... | |
Standard_Integer | HashCode (const long long int theValue, const Standard_Integer theUpperBound) |
Computes a hash code for the given value of the "long long int" type, in range [1, theUpperBound]. More... | |
|
inline |
|
inline |
Computes a hash code for the given value of the Standard_Integer type, in range [1, theUpperBound].
theValue | the value of the Standard_Integer type which hash code is to be computed |
theUpperBound | the upper bound of the range a computing hash code must be within |
|
inline |
Computes a hash value for the given unsigned integer, in range [1, theUpperBound].
theValue | the unsigned integer which hash code is to be computed |
theUpperBound | the upper bound of the range a computing hash code must be within |
|
inline |
Computes a hash code for the given value of the "long long int" type, in range [1, theUpperBound].
theValue | the value of the "long long int" type which hash code is to be computed |
theUpperBound | the upper bound of the range a computing hash code must be within |
|
inline |
opencascade::std::enable_if<opencascade::is_integer<TheInteger>::value, Standard_Integer>::type IntegerHashCode | ( | const TheInteger | theValue, |
const typename opencascade::disable_deduction< TheInteger >::type | theMask, | ||
const Standard_Integer | theUpperBound | ||
) |
Computes a hash code for the given value of some integer type, in range [1, theUpperBound].
TheInteger | the type of the integer which hash code is to be computed |
theValue | the value of the TheInteger type which hash code is to be computed |
theMask | the mask for the last bits of the value that are used in the computation of a hash code |
theUpperBound | the upper bound of the range a computing hash code must be within |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |