Open CASCADE Technology  7.3.0
Static Public Member Functions

TDF_LabelMapHasher Class Reference

A label hasher for label maps. More...

#include <TDF_LabelMapHasher.hxx>

Static Public Member Functions

static Standard_Integer HashCode (const TDF_Label &aLab, const Standard_Integer Upper)
 Returns a HasCode value for the Key <K> in the range 0..Upper. More...
 
static Standard_Boolean IsEqual (const TDF_Label &aLab1, const TDF_Label &aLab2)
 Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary. More...
 

Detailed Description

A label hasher for label maps.

Member Function Documentation

◆ HashCode()

static Standard_Integer TDF_LabelMapHasher::HashCode ( const TDF_Label aLab,
const Standard_Integer  Upper 
)
inlinestatic

Returns a HasCode value for the Key <K> in the range 0..Upper.

◆ IsEqual()

static Standard_Boolean TDF_LabelMapHasher::IsEqual ( const TDF_Label aLab1,
const TDF_Label aLab2 
)
inlinestatic

Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary.


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