Open CASCADE Technology  7.6.0
Static Public Member Functions

XCAFDoc_AssemblyItemId::Hasher Struct Reference

#include <XCAFDoc_AssemblyItemId.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const XCAFDoc_AssemblyItemId &theAssemblyItemId, const Standard_Integer theUpperBound)
 Computes a hash code for the given value of the XCAFDoc_AssemblyItemId, in range [1, theUpperBound]. More...
 
static int IsEqual (const XCAFDoc_AssemblyItemId &theItem1, const XCAFDoc_AssemblyItemId &theItem2)
 

Member Function Documentation

◆ HashCode()

static Standard_Integer XCAFDoc_AssemblyItemId::Hasher::HashCode ( const XCAFDoc_AssemblyItemId theAssemblyItemId,
const Standard_Integer  theUpperBound 
)
inlinestatic

Computes a hash code for the given value of the XCAFDoc_AssemblyItemId, in range [1, theUpperBound].

Parameters
theAssemblyItemIdthe value of the XCAFDoc_AssemblyItemId type 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 range [1, theUpperBound]

◆ IsEqual()

static int XCAFDoc_AssemblyItemId::Hasher::IsEqual ( const XCAFDoc_AssemblyItemId theItem1,
const XCAFDoc_AssemblyItemId theItem2 
)
inlinestatic

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