#include <InterpKernelHashTable.hxx>

Public Types | |
| typedef _Key | key_type |
| typedef _Val | value_type |
| typedef _HashFcn | hasher |
| typedef _EqualKey | key_equal |
| typedef std::size_t | size_type |
| typedef std::ptrdiff_t | difference_type |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef _Alloc::template rebind< value_type >::other | allocator_type |
| typedef _Hashtable_iterator < _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc > | iterator |
| typedef _Hashtable_const_iterator < _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc > | const_iterator |
Public Member Functions | |
| hasher | hash_funct () const |
| key_equal | key_eq () const |
| allocator_type | get_allocator () const |
| hashtable (size_type __n, const _HashFcn &__hf, const _EqualKey &__eql, const _ExtractKey &__ext, const allocator_type &__a=allocator_type()) | |
| hashtable (size_type __n, const _HashFcn &__hf, const _EqualKey &__eql, const allocator_type &__a=allocator_type()) | |
| hashtable (const hashtable &__ht) | |
| hashtable & | operator= (const hashtable &__ht) |
| ~hashtable () | |
| size_type | size () const |
| size_type | max_size () const |
| bool | empty () const |
| void | swap (hashtable &__ht) |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| size_type | bucket_count () const |
| size_type | max_bucket_count () const |
| size_type | elems_in_bucket (size_type __bucket) const |
| std::pair< iterator, bool > | insert_unique (const value_type &__obj) |
| iterator | insert_equal (const value_type &__obj) |
| std::pair< iterator, bool > | insert_unique_noresize (const value_type &__obj) |
| iterator | insert_equal_noresize (const value_type &__obj) |
| template<class _InputIterator > | |
| void | insert_unique (_InputIterator __f, _InputIterator __l) |
| template<class _InputIterator > | |
| void | insert_equal (_InputIterator __f, _InputIterator __l) |
| template<class _InputIterator > | |
| void | insert_unique (_InputIterator __f, _InputIterator __l, std::input_iterator_tag) |
| template<class _InputIterator > | |
| void | insert_equal (_InputIterator __f, _InputIterator __l, std::input_iterator_tag) |
| template<class _ForwardIterator > | |
| void | insert_unique (_ForwardIterator __f, _ForwardIterator __l, std::forward_iterator_tag) |
| template<class _ForwardIterator > | |
| void | insert_equal (_ForwardIterator __f, _ForwardIterator __l, std::forward_iterator_tag) |
| reference | find_or_insert (const value_type &__obj) |
| iterator | find (const key_type &__key) |
| const_iterator | find (const key_type &__key) const |
| size_type | count (const key_type &__key) const |
| std::pair< iterator, iterator > | equal_range (const key_type &__key) |
| std::pair< const_iterator, const_iterator > | equal_range (const key_type &__key) const |
| size_type | erase (const key_type &__key) |
| void | erase (const iterator &__it) |
| void | erase (iterator __first, iterator __last) |
| void | erase (const const_iterator &__it) |
| void | erase (const_iterator __first, const_iterator __last) |
| void | resize (size_type __num_elements_hint) |
| void | clear () |
Private Types | |
| typedef _Hashtable_node< _Val > | _Node |
| typedef _Alloc::template rebind< _Node >::other | _Node_Alloc |
| typedef _Alloc::template rebind< _Node * >::other | _Nodeptr_Alloc |
| typedef std::vector< _Node *, _Nodeptr_Alloc > | _Vector_type |
Private Member Functions | |
| _Node * | _M_get_node () |
| void | _M_put_node (_Node *__p) |
| size_type | _M_next_size (size_type __n) const |
| void | _M_initialize_buckets (size_type __n) |
| size_type | _M_bkt_num_key (const key_type &__key) const |
| size_type | _M_bkt_num (const value_type &__obj) const |
| size_type | _M_bkt_num_key (const key_type &__key, std::size_t __n) const |
| size_type | _M_bkt_num (const value_type &__obj, std::size_t __n) const |
| _Node * | _M_new_node (const value_type &__obj) |
| void | _M_delete_node (_Node *__n) |
| void | _M_erase_bucket (const size_type __n, _Node *__first, _Node *__last) |
| void | _M_erase_bucket (const size_type __n, _Node *__last) |
| void | _M_copy_from (const hashtable &__ht) |
Private Attributes | |
| _Node_Alloc | _M_node_allocator |
| hasher | _M_hash |
| key_equal | _M_equals |
| _ExtractKey | _M_get_key |
| _Vector_type | _M_buckets |
| size_type | _M_num_elements |
Friends | |
| struct | _Hashtable_iterator< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc > |
| struct | _Hashtable_const_iterator< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc > |
| template<class _Vl , class _Ky , class _HF , class _Ex , class _Eq , class _Al > | |
| bool | operator== (const hashtable< _Vl, _Ky, _HF, _Ex, _Eq, _Al > &, const hashtable< _Vl, _Ky, _HF, _Ex, _Eq, _Al > &) |
| typedef _Key INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.key_type |
| typedef _Val INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.value_type |
| typedef _HashFcn INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.hasher |
| typedef _EqualKey INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.key_equal |
| typedef std::size_t INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.size_type |
| typedef std::ptrdiff_t INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.difference_type |
| typedef value_type* INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.pointer |
| typedef const value_type* INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.const_pointer |
| typedef value_type& INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.reference |
| typedef const value_type& INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.const_reference |
typedef _Hashtable_node<_Val> INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._Node [private] |
| typedef _Alloc::template rebind<value_type>::other INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.allocator_type |
typedef _Alloc::template rebind<_Node>::other INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._Node_Alloc [private] |
typedef _Alloc::template rebind<_Node*>::other INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._Nodeptr_Alloc [private] |
typedef std::vector<_Node*, _Nodeptr_Alloc> INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._Vector_type [private] |
| typedef _Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc> INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.iterator |
| typedef _Hashtable_const_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc> INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.const_iterator |
| INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.hashtable | ( | size_type | __n, |
| const _HashFcn & | __hf, | ||
| const _EqualKey & | __eql, | ||
| const _ExtractKey & | __ext, | ||
| const allocator_type & | __a = allocator_type() |
||
| ) |
| INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.hashtable | ( | size_type | __n, |
| const _HashFcn & | __hf, | ||
| const _EqualKey & | __eql, | ||
| const allocator_type & | __a = allocator_type() |
||
| ) |
| INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.hashtable | ( | const hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc > & | __ht | ) |
| INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.~hashtable | ( | ) |
| hasher INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.hash_funct | ( | ) | const |
| key_equal INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.key_eq | ( | ) | const |
| allocator_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.get_allocator | ( | ) | const |
| _Node* INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_get_node | ( | ) | [private] |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_put_node | ( | _Node * | __p | ) | [private] |
| hashtable& INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.operator= | ( | const hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc > & | __ht | ) |
| size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.size | ( | ) | const |
| size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.max_size | ( | ) | const |
| bool INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.empty | ( | ) | const |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.swap | ( | hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc > & | __ht | ) |
| iterator INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.begin | ( | ) |
| iterator INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.end | ( | ) |
| const_iterator INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.begin | ( | ) | const |
| const_iterator INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.end | ( | ) | const |
| size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.bucket_count | ( | ) | const |
| size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.max_bucket_count | ( | ) | const |
| size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.elems_in_bucket | ( | size_type | __bucket | ) | const |
| std::pair<iterator, bool> INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.insert_unique | ( | const value_type & | __obj | ) |
| iterator INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.insert_equal | ( | const value_type & | __obj | ) |
| std::pair< typename hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::iterator, bool > INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::insert_unique_noresize | ( | const value_type & | __obj | ) |
References INTERP_KERNEL._Hashtable_node< _Val >._M_next.
| hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::iterator INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::insert_equal_noresize | ( | const value_type & | __obj | ) |
References INTERP_KERNEL._Hashtable_node< _Val >._M_next.
| void INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.insert_unique | ( | _InputIterator | __f, |
| _InputIterator | __l | ||
| ) |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.insert_equal | ( | _InputIterator | __f, |
| _InputIterator | __l | ||
| ) |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.insert_unique | ( | _InputIterator | __f, |
| _InputIterator | __l, | ||
| std::input_iterator_tag | |||
| ) |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.insert_equal | ( | _InputIterator | __f, |
| _InputIterator | __l, | ||
| std::input_iterator_tag | |||
| ) |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.insert_unique | ( | _ForwardIterator | __f, |
| _ForwardIterator | __l, | ||
| std::forward_iterator_tag | |||
| ) |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.insert_equal | ( | _ForwardIterator | __f, |
| _ForwardIterator | __l, | ||
| std::forward_iterator_tag | |||
| ) |
| hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::reference INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::find_or_insert | ( | const value_type & | __obj | ) |
| iterator INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.find | ( | const key_type & | __key | ) |
| const_iterator INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.find | ( | const key_type & | __key | ) | const |
| size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >.count | ( | const key_type & | __key | ) | const |
| std::pair< typename hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::iterator, typename hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::iterator > INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::equal_range | ( | const key_type & | __key | ) |
| std::pair< typename hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::const_iterator, typename hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::const_iterator > INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::equal_range | ( | const key_type & | __key | ) | const |
| hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::size_type INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::erase | ( | const key_type & | __key | ) |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::erase | ( | const iterator & | __it | ) |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::erase | ( | iterator | __first, |
| iterator | __last | ||
| ) |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::erase | ( | const const_iterator & | __it | ) |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::erase | ( | const_iterator | __first, |
| const_iterator | __last | ||
| ) |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::resize | ( | size_type | __num_elements_hint | ) |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::clear | ( | ) |
References INTERP_KERNEL._Hashtable_node< _Val >._M_next.
| size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_next_size | ( | size_type | __n | ) | const [private] |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_initialize_buckets | ( | size_type | __n | ) | [private] |
| size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_bkt_num_key | ( | const key_type & | __key | ) | const [private] |
| size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_bkt_num | ( | const value_type & | __obj | ) | const [private] |
| size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_bkt_num_key | ( | const key_type & | __key, |
| std::size_t | __n | ||
| ) | const [private] |
| size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_bkt_num | ( | const value_type & | __obj, |
| std::size_t | __n | ||
| ) | const [private] |
| _Node* INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_new_node | ( | const value_type & | __obj | ) | [private] |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_delete_node | ( | _Node * | __n | ) | [private] |
| void INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::_M_erase_bucket | ( | const size_type | __n, |
| _Node * | __first, | ||
| _Node * | __last | ||
| ) | [private] |
References INTERP_KERNEL._Hashtable_node< _Val >._M_next.
| void INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::_M_erase_bucket | ( | const size_type | __n, |
| _Node * | __last | ||
| ) | [private] |
References INTERP_KERNEL._Hashtable_node< _Val >._M_next.
| void INTERP_KERNEL.hashtable< _Val, _Key, _HF, _Ex, _Eq, _All >::_M_copy_from | ( | const hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc > & | __ht | ) | [private] |
friend struct _Hashtable_iterator< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc > [friend] |
friend struct _Hashtable_const_iterator< _Val, _Key, _HashFcn, _ExtractKey,_EqualKey, _Alloc > [friend] |
| bool operator== | ( | const hashtable< _Vl, _Ky, _HF, _Ex, _Eq, _Al > & | , |
| const hashtable< _Vl, _Ky, _HF, _Ex, _Eq, _Al > & | |||
| ) | [friend] |
_Node_Alloc INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_node_allocator [private] |
hasher INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_hash [private] |
key_equal INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_equals [private] |
_ExtractKey INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_get_key [private] |
_Vector_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_buckets [private] |
size_type INTERP_KERNEL.hashtable< _Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc >._M_num_elements [private] |