BDE 4.14.0 Production release
|
#include <bslstp_hashtable.h>
Public Types | |
typedef _Key | key_type |
typedef _Val | value_type |
typedef _HF | hasher |
typedef _EqK | key_equal |
typedef size_t | size_type |
typedef 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 std::forward_iterator_tag | _Iterator_category |
typedef _Alloc_traits< _Val, _All >::allocator_type | allocator_type |
typedef _Const_traits< _Val > | __const_val_traits |
typedef _Nonconst_traits< _Val > | __nonconst_val_traits |
typedef _Ht_iterator< _Val, __const_val_traits, _Key, _HF, _ExK, _EqK, _All > | const_iterator |
typedef _Ht_iterator< _Val, __nonconst_val_traits, _Key, _HF, _ExK, _EqK, _All > | iterator |
Public Member Functions | |
hasher | hash_funct () const |
key_equal | key_eq () const |
allocator_type | get_allocator () const |
hashtable (size_type __n, const _HF &__hf, const _EqK &__eql, const _ExK &__ext, const allocator_type &__a=allocator_type()) | |
hashtable (size_type __n, const _HF &__hf, const _EqK &__eql, const allocator_type &__a=allocator_type()) | |
hashtable (const _Self &__ht) | |
hashtable (const _Self &__ht, const allocator_type &__a) | |
_Self & | operator= (const _Self &__ht) |
~hashtable () | |
size_type | size () const |
size_type | max_size () const |
bool | empty () const |
void | swap (_Self &__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 |
pair< iterator, bool > | insert_unique (const value_type &__obj) |
iterator | insert_equal (const value_type &__obj) |
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, const std::input_iterator_tag &) |
template<class _InputIterator > | |
void | insert_equal (_InputIterator __f, _InputIterator __l, const std::input_iterator_tag &) |
template<class _ForwardIterator > | |
void | insert_unique (_ForwardIterator __f, _ForwardIterator __l, const std::forward_iterator_tag &) |
template<class _ForwardIterator > | |
void | insert_equal (_ForwardIterator __f, _ForwardIterator __l, const std::forward_iterator_tag &) |
reference | find_or_insert (const value_type &__obj) |
template<class _KT > | |
iterator | find (const _KT &__key) |
template<class _KT > | |
const_iterator | find (const _KT &__key) const |
size_type | count (const key_type &__key) const |
pair< iterator, iterator > | equal_range (const key_type &__key) |
pair< const_iterator, const_iterator > | equal_range (const key_type &__key) const |
size_type | erase (const key_type &__key) |
void | erase (const const_iterator &__it) |
void | erase (const_iterator __first, const_iterator __last) |
void | resize (size_type __num_elements_hint) |
void | clear () |
reference | _M_insert (const value_type &__obj) |
Static Public Member Functions | |
static bool | _M_equal (const hashtable< _Val, _Key, _HF, _ExK, _EqK, _All > &, const hashtable< _Val, _Key, _HF, _ExK, _EqK, _All > &) |
typedef _Const_traits<_Val> bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::__const_val_traits |
typedef _Nonconst_traits<_Val> bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::__nonconst_val_traits |
typedef std::forward_iterator_tag bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::_Iterator_category |
typedef _Alloc_traits<_Val,_All>::allocator_type bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::allocator_type |
typedef _Ht_iterator<_Val, __const_val_traits,_Key,_HF,_ExK,_EqK, _All> bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::const_iterator |
typedef const value_type* bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::const_pointer |
typedef const value_type& bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::const_reference |
typedef ptrdiff_t bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::difference_type |
typedef _HF bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::hasher |
typedef _Ht_iterator<_Val, __nonconst_val_traits,_Key,_HF,_ExK,_EqK,_All> bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::iterator |
typedef _EqK bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::key_equal |
typedef _Key bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::key_type |
typedef value_type* bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::pointer |
typedef value_type& bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::reference |
typedef size_t bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::size_type |
typedef _Val bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::reference bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::_M_insert | ( | const value_type & | __obj | ) |
|
inline |
|
inline |
|
inline |
void bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::clear | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
pair< _Ht_iterator< _Val, _Nonconst_traits< _Val >, _Key, _HF, _ExK, _EqK, _All >, _Ht_iterator< _Val, _Nonconst_traits< _Val >, _Key, _HF, _ExK, _EqK, _All > > bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::equal_range | ( | const key_type & | __key | ) |
pair< _Ht_iterator< _Val, _Const_traits< _Val >, _Key, _HF, _ExK, _EqK, _All >, _Ht_iterator< _Val, _Const_traits< _Val >, _Key, _HF, _ExK, _EqK, _All > > bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::equal_range | ( | const key_type & | __key | ) | const |
void bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::erase | ( | const const_iterator & | __it | ) |
hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::size_type bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::erase | ( | const key_type & | __key | ) |
void bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::erase | ( | const_iterator | __first, |
const_iterator | __last | ||
) |
|
inline |
|
inline |
hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::reference bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::find_or_insert | ( | const value_type & | __obj | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::iterator bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::insert_equal_noresize | ( | const value_type & | __obj | ) |
|
inline |
|
inline |
|
inline |
|
inline |
pair< _Ht_iterator< _Val, _Nonconst_traits< _Val >, _Key, _HF, _ExK, _EqK, _All >, bool > bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::insert_unique_noresize | ( | const value_type & | __obj | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void bsl::hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::resize | ( | size_type | __num_elements_hint | ) |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |