OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBO
BOPTColStd


BOPTColStd_ShapeWithRankHasher Class Reference

The auxiliary class provides hash code for mapping
ShapeWithRank objects
.

#include <BOPTColStd_ShapeWithRankHasher.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_EXPORT Standard_Integer HashCode (const BOPTColStd_ShapeWithRank &SR, const Standard_Integer Upper)
 Returns a HasCode value for the Key <k> in the
range 0..Upper.

.
static Standard_EXPORT Standard_Boolean IsEqual (const BOPTColStd_ShapeWithRank &SR1, const BOPTColStd_ShapeWithRank &SR2)
 Returns True when the two keys are the same. Two
same keys must have the same hashcode, the
contrary is not necessary.
.


Member Function Documentation

static Standard_EXPORT Standard_Integer BOPTColStd_ShapeWithRankHasher::HashCode const BOPTColStd_ShapeWithRank SR,
const Standard_Integer  Upper
[static]
 

static Standard_EXPORT Standard_Boolean BOPTColStd_ShapeWithRankHasher::IsEqual const BOPTColStd_ShapeWithRank SR1,
const BOPTColStd_ShapeWithRank SR2
[static]
 

void BOPTColStd_ShapeWithRankHasher::operator delete void *  anAddress  )  [inline]
 

void* BOPTColStd_ShapeWithRankHasher::operator new size_t  size  )  [inline]
 

void* BOPTColStd_ShapeWithRankHasher::operator new size_t  ,
void *  anAddress
[inline]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:40:44 2008 for OpenCASCADE by  doxygen 1.4.1