hashtable Class Reference
Private Member Functions
|
|
hashtable
(
size_type
, const _HF &, const _EqK &, const _ExK &, const
allocator_type
&)
|
|
hashtable
(
size_type
, const _HF &, const _EqK &, const
allocator_type
&)
|
|
hashtable
(const
_Self
&)
|
|
hashtable
(
__move_source
<
_Self
>)
|
|
~hashtable
()
|
iterator
|
_M_before_begin
(
size_type
&)
|
size_type
|
_M_bkt_num
(const
value_type
&)
|
size_type
|
_M_bkt_num
(const
value_type
&,
size_t
)
|
_STLP_TEMPLATE_FOR_CONT_EXT
size_type
|
_M_bkt_num_key
(const _KT &)
|
_STLP_TEMPLATE_FOR_CONT_EXT
size_type
|
_M_bkt_num_key
(const _KT &,
size_type
)
|
void
|
_M_copy_from
(const
_Self
&)
|
_STLP_TEMPLATE_FOR_CONT_EXT
_ElemsIte
|
_M_find
(const _KT &)
|
void
|
_M_initialize_buckets
(
size_type
)
|
void
|
_M_rehash
(
size_type
)
|
|
_STLP_FORCE_ALLOCATORS
(_Val, _All)
|
iterator
|
_S_before_begin
(const
_ElemsCont
&, const
_BucketVector
&,
size_type
&)
|
iterator
|
begin
()
|
local_iterator
|
begin
(
size_type
)
|
const_iterator
|
begin
()
|
const_local_iterator
|
begin
(
size_type
)
|
bool
|
empty
()
|
iterator
|
end
()
|
local_iterator
|
end
(
size_type
)
|
const_iterator
|
end
()
|
const_local_iterator
|
end
(
size_type
)
|
allocator_type
|
get_allocator
()
|
size_type
|
max_size
()
|
_Self
&
|
operator=
(const
_Self
&)
|
size_type
|
size
()
|
void
|
swap
(
_Self
&)
|
Private Member Type Definitions
|
typedef
|
_STLP_PRIV
_Slist_node_base
_BucketType
|
typedef
|
vector
<
_BucketType
*,
_M_bucket_allocator_type
>
_BucketVector
|
typedef
|
_Traits::_ConstLocalTraits
_ConstLocalTraits
|
typedef
|
_Traits::_ConstTraits
_ConstTraits
|
typedef
|
_ElemsCont::const_iterator
_ElemsConstIte
|
typedef
|
_ElemsCont::iterator
_ElemsIte
|
typedef
|
_Alloc_traits
<
_BucketType
*, _All >::
allocator_type
_M_bucket_allocator_type
|
typedef
|
_Traits::_NonConstLocalTraits
_NonConstLocalTraits
|
typedef
|
_Traits::_NonConstTraits
_NonConstTraits
|
typedef
|
hashtable
< _Val, _Key, _HF, _Traits, _ExK, _EqK, _All >
_Self
|
typedef
|
_Alloc_traits
< _Val, _All >::
allocator_type
allocator_type
|
typedef
|
_STLP_PRIV
_Ht_iterator
<
_ElemsIte
,
_ConstLocalTraits
>
const_local_iterator
|
typedef
|
_STLP_PRIV
_Ht_iterator
<
_ElemsIte
,
_NonConstLocalTraits
>
local_iterator
|
Constructor & Destructor Documentation
hashtable(size_type, const _HF &, const _EqK &, const _ExK &, const allocator_type &)
hashtable(size_type, const _HF &, const _EqK &, const allocator_type &)
hashtable(const _Self &)
hashtable
|
(
|
const
_Self
&
|
__ht
|
)
|
[private, inline]
|
hashtable(__move_source< _Self >)
~hashtable()
~hashtable
|
(
|
)
|
[private, inline]
|
Member Functions Documentation
_M_before_begin(size_type &)
_M_bkt_num(const value_type &)
_M_bkt_num(const value_type &, size_t)
_M_bkt_num_key(const _KT &)
_STLP_TEMPLATE_FOR_CONT_EXT
size_type
|
_M_bkt_num_key
|
(
|
const _KT &
|
__key
|
)
|
const [private, inline]
|
_M_bkt_num_key(const _KT &, size_type)
_STLP_TEMPLATE_FOR_CONT_EXT
size_type
|
_M_bkt_num_key
|
(
|
const _KT &
|
__key,
|
|
size_type
|
__n
|
|
)
|
const [private, inline]
|
_M_copy_from(const _Self &)
void
|
_M_copy_from
|
(
|
const
_Self
&
|
__ht
|
)
|
[private]
|
_M_find(const _KT &)
_STLP_TEMPLATE_FOR_CONT_EXT
_ElemsIte
|
_M_find
|
(
|
const _KT &
|
__key
|
)
|
const [private, inline]
|
_M_initialize_buckets(size_type)
void
|
_M_initialize_buckets
|
(
|
size_type
|
__n
|
)
|
[private, inline]
|
_M_insert(const value_type &)
_M_insert_noresize(size_type, const value_type &)
_M_rehash(size_type)
void
|
_M_rehash
|
(
|
size_type
|
__num_buckets
|
)
|
[private]
|
_STLP_FORCE_ALLOCATORS(_Val, _All)
_STLP_FORCE_ALLOCATORS
|
(
|
_Val
|
,
|
|
_All
|
|
|
)
|
[private]
|
_S_before_begin(const _ElemsCont &, const _BucketVector &, size_type &)
bucket(const _KT &)
_STLP_TEMPLATE_FOR_CONT_EXT
size_type
|
bucket
|
(
|
const _KT &
|
__k
|
)
|
const [inline]
|
count(const _KT &)
_STLP_TEMPLATE_FOR_CONT_EXT
size_type
|
count
|
(
|
const _KT &
|
__key
|
)
|
const [inline]
|
elems_in_bucket(size_type)
empty()
bool
|
empty
|
(
|
)
|
const [private, inline]
|
erase(const_iterator, const_iterator)
find(const _KT &)
_STLP_TEMPLATE_FOR_CONT_EXT
iterator
|
find
|
(
|
const _KT &
|
__key
|
)
|
[inline]
|
find(const _KT &)
_STLP_TEMPLATE_FOR_CONT_EXT
const_iterator
|
find
|
(
|
const _KT &
|
__key
|
)
|
const [inline]
|
hash_funct()
hasher
|
hash_funct
|
(
|
)
|
const [inline]
|
insert_equal(const value_type &)
insert_equal(const value_type *, const value_type *)
insert_equal(const_iterator, const_iterator)
insert_equal_noresize(const value_type &)
insert_unique(const value_type &)
insert_unique(const value_type *, const value_type *)
insert_unique(const_iterator, const_iterator)
insert_unique_noresize(const value_type &)
load_factor()
float
|
load_factor
|
(
|
)
|
const [inline]
|
max_bucket_count()
size_type
|
max_bucket_count
|
(
|
)
|
const [inline]
|
max_load_factor()
float
|
max_load_factor
|
(
|
)
|
const [inline]
|
max_load_factor(float)
void
|
max_load_factor
|
(
|
float
|
__z
|
)
|
[inline]
|
max_size()
size_type
|
max_size
|
(
|
)
|
const [private, inline]
|
operator=(const _Self &)
_Self
&
|
operator=
|
(
|
const
_Self
&
|
__ht
|
)
|
[private, inline]
|
resize(size_type)
void
|
resize
|
(
|
size_type
|
__num_elements_hint
|
)
|
|
swap(_Self &)
void
|
swap
|
(
|
_Self
&
|
__ht
|
)
|
[private, inline]
|
Member Type Definitions Documentation
Typedef _ConstLocalTraits
typedef _Traits::_ConstLocalTraits
|
_ConstLocalTraits
|
[private]
|
Typedef _ConstTraits
typedef _Traits::_ConstTraits
|
_ConstTraits
|
[private]
|
Typedef _ElemsConstIte
typedef _ElemsCont::const_iterator
|
_ElemsConstIte
|
[private]
|
Typedef _ElemsIte
typedef _ElemsCont::iterator
|
_ElemsIte
|
[private]
|
Typedef _Iterator_category
Typedef _M_bucket_allocator_type
Typedef _NonConstLocalTraits
typedef _Traits::_NonConstLocalTraits
|
_NonConstLocalTraits
|
[private]
|
Typedef _NonConstTraits
typedef _Traits::_NonConstTraits
|
_NonConstTraits
|
[private]
|
Typedef _Self
typedef
hashtable
< _Val, _Key, _HF, _Traits, _ExK, _EqK, _All >
|
_Self
|
[private]
|
Typedef const_local_iterator
Typedef pointer
typedef _NonConstTraits::pointer
|
pointer
|
Typedef reference
typedef _NonConstTraits::reference
|
reference
|
Member Data Documentation
_ExK _M_get_key
_ExK
|
_M_get_key
|
[private]
|
float _M_max_load_factor
float
|
_M_max_load_factor
|
[private]
|
size_type
_M_num_elements
_STLP_KEY_TYPE_FOR_CONT_EXT(key_type) public typedef _STLP_PRIV _Ht_iterator< _ElemsIte, _ConstTraits > const_iterator
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.