ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
CxxUtils::ConcurrentPtrSet< VALUE, UPDATER >::Hasher Struct Reference

Hash functional for keys. More...

Collaboration diagram for CxxUtils::ConcurrentPtrSet< VALUE, UPDATER >::Hasher:

Public Member Functions

size_t operator() (const val_t p) const
 Hash function from the underlying representation type. More...
 
size_t operator() (const const_key_type p) const
 Hash function from a pointer. More...
 

Public Attributes

std::hash< const_key_typem_hash
 Hash functional. More...
 

Detailed Description

template<class VALUE, template< class > class UPDATER>
struct CxxUtils::ConcurrentPtrSet< VALUE, UPDATER >::Hasher

Hash functional for keys.

The key can be either a pointer or the representation type used by the underlying map.

Definition at line 511 of file ConcurrentPtrSet.h.

Member Function Documentation

◆ operator()() [1/2]

template<class VALUE , template< class > class UPDATER>
size_t CxxUtils::ConcurrentPtrSet< VALUE, UPDATER >::Hasher::operator() ( const const_key_type  p) const

Hash function from a pointer.

◆ operator()() [2/2]

template<class VALUE , template< class > class UPDATER>
size_t CxxUtils::ConcurrentPtrSet< VALUE, UPDATER >::Hasher::operator() ( const val_t  p) const

Hash function from the underlying representation type.

Member Data Documentation

◆ m_hash

template<class VALUE , template< class > class UPDATER>
std::hash<const_key_type> CxxUtils::ConcurrentPtrSet< VALUE, UPDATER >::Hasher::m_hash

Hash functional.

Definition at line 518 of file ConcurrentPtrSet.h.


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