STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
Concurrency::details::_Hash_compare< _Key_type, _Hasher, _Key_equality > Class Template Reference

#include <internal_concurrent_hash.h>

Public Types

typedef _Hasher hasher
 

Public Member Functions

 _Hash_compare ()
 
 _Hash_compare (hasher _Hasharg)
 
 _Hash_compare (hasher _Hasharg, _Key_equality _Keyeqarg)
 
size_t operator() (const _Key_type &_Keyval) const
 
bool operator() (const _Key_type &_Keyval1, const _Key_type &_Keyval2) const
 

Public Attributes

hasher _M_hash_object
 
_Key_equality _M_key_compare_object
 

Member Typedef Documentation

template<typename _Key_type , typename _Hasher , typename _Key_equality >
typedef _Hasher Concurrency::details::_Hash_compare< _Key_type, _Hasher, _Key_equality >::hasher

Constructor & Destructor Documentation

template<typename _Key_type , typename _Hasher , typename _Key_equality >
Concurrency::details::_Hash_compare< _Key_type, _Hasher, _Key_equality >::_Hash_compare ( )
inline
33  {
34  }
template<typename _Key_type , typename _Hasher , typename _Key_equality >
Concurrency::details::_Hash_compare< _Key_type, _Hasher, _Key_equality >::_Hash_compare ( hasher  _Hasharg)
inline
36  : _M_hash_object(_Hasharg)
37  {
38  }
hasher _M_hash_object
Definition: internal_concurrent_hash.h:54
template<typename _Key_type , typename _Hasher , typename _Key_equality >
Concurrency::details::_Hash_compare< _Key_type, _Hasher, _Key_equality >::_Hash_compare ( hasher  _Hasharg,
_Key_equality  _Keyeqarg 
)
inline
40  : _M_hash_object(_Hasharg), _M_key_compare_object(_Keyeqarg)
41  {
42  }
_Key_equality _M_key_compare_object
Definition: internal_concurrent_hash.h:55
hasher _M_hash_object
Definition: internal_concurrent_hash.h:54

Member Function Documentation

template<typename _Key_type , typename _Hasher , typename _Key_equality >
size_t Concurrency::details::_Hash_compare< _Key_type, _Hasher, _Key_equality >::operator() ( const _Key_type &  _Keyval) const
inline
45  {
46  return ((size_t)_M_hash_object(_Keyval));
47  }
hasher _M_hash_object
Definition: internal_concurrent_hash.h:54
template<typename _Key_type , typename _Hasher , typename _Key_equality >
bool Concurrency::details::_Hash_compare< _Key_type, _Hasher, _Key_equality >::operator() ( const _Key_type &  _Keyval1,
const _Key_type &  _Keyval2 
) const
inline
50  {
51  return (!_M_key_compare_object(_Keyval1, _Keyval2));
52  }
_Key_equality _M_key_compare_object
Definition: internal_concurrent_hash.h:55

Member Data Documentation

template<typename _Key_type , typename _Hasher , typename _Key_equality >
hasher Concurrency::details::_Hash_compare< _Key_type, _Hasher, _Key_equality >::_M_hash_object
template<typename _Key_type , typename _Hasher , typename _Key_equality >
_Key_equality Concurrency::details::_Hash_compare< _Key_type, _Hasher, _Key_equality >::_M_key_compare_object

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