|
Open CASCADE Technology 6.5.2
|
FindHasher defines HashCode for Finder, which is : ask a
Finder its HashCode ! Because this is the Finder itself which
brings the HashCode for its Key
This class complies to the template given in TCollection by
MapHasher itself
#include <Transfer_FindHasher.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_Integer | HashCode (const Handle< Transfer_Finder > &K, const Standard_Integer Upper) |
| Returns a HashCode in the range <0,Upper> for a Finder : asks the Finder its HashCode then transforms it to be in the required range | |
| static Standard_Boolean | IsEqual (const Handle< Transfer_Finder > &K1, const Handle< Transfer_Finder > &K2) |
| Returns True if two keys are the same. The test does not work on the Finders themselves but by calling their methods Equates | |
| static Standard_Integer Transfer_FindHasher::HashCode | ( | const Handle< Transfer_Finder > & | K, |
| const Standard_Integer | Upper | ||
| ) | [static] |
| static Standard_Boolean Transfer_FindHasher::IsEqual | ( | const Handle< Transfer_Finder > & | K1, |
| const Handle< Transfer_Finder > & | K2 | ||
| ) | [static] |
| void Transfer_FindHasher::operator delete | ( | void * | anAddress | ) | [inline] |
| void* Transfer_FindHasher::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| void* Transfer_FindHasher::operator new | ( | size_t | size | ) | [inline] |
1.7.4