Open CASCADE Technology 7.8.0
Public Member Functions
Transfer_FindHasher Class Reference

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. More...

#include <Transfer_FindHasher.hxx>

Public Member Functions

size_t operator() (const Handle< Transfer_Finder > &theFinder) const
 
bool operator() (const Handle< Transfer_Finder > &theK1, const Handle< Transfer_Finder > &theK2) const
 Returns True if two keys are the same. The test does not work on the Finders themselves but by calling their methods Equates.
 

Detailed Description

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

Member Function Documentation

◆ operator()() [1/2]

size_t Transfer_FindHasher::operator() ( const Handle< Transfer_Finder > &  theFinder) const
inline

◆ operator()() [2/2]

bool Transfer_FindHasher::operator() ( const Handle< Transfer_Finder > &  theK1,
const Handle< Transfer_Finder > &  theK2 
) const
inline

Returns True if two keys are the same. The test does not work on the Finders themselves but by calling their methods Equates.


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