Open CASCADE Technology 7.8.0
Public Member Functions
NCollection_DefaultHasher< TheKeyType > Struct Template Reference

#include <NCollection_DefaultHasher.hxx>

Public Member Functions

size_t operator() (const TheKeyType &theKey) const noexcept
 
bool operator() (const TheKeyType &theK1, const TheKeyType &theK2) const noexcept
 

Detailed Description

template<class TheKeyType>
struct NCollection_DefaultHasher< TheKeyType >

Purpose: The DefaultHasher is a Hasher that is used by default in NCollection maps. To compute the hash code of the key is used the global function HashCode. To compare two keys is used the global function IsEqual.

Member Function Documentation

◆ operator()() [1/2]

template<class TheKeyType >
bool NCollection_DefaultHasher< TheKeyType >::operator() ( const TheKeyType theK1,
const TheKeyType theK2 
) const
inlinenoexcept

◆ operator()() [2/2]

template<class TheKeyType >
size_t NCollection_DefaultHasher< TheKeyType >::operator() ( const TheKeyType theKey) const
inlinenoexcept

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