#include <value_type_adapter.hpp>
Public Types | |
typedef Allocator::size_type | size_type |
typedef Allocator::difference_type | difference_type |
typedef my_base::allocator | allocator |
typedef it_value_type_traits_t::key_type | it_key_type |
typedef std::pair< typename my_base::key_type, typename my_base_data_type::key_type > | key_type |
typedef allocator::template rebind< key_type >::other::reference | key_reference |
typedef allocator::template rebind< key_type >::other::const_reference | const_key_reference |
typedef allocator::template rebind< key_type >::other::pointer | key_pointer |
typedef allocator::template rebind< key_type >::other::const_pointer | const_key_pointer |
typedef my_base_data_type::data_type | data_type |
typedef allocator::template rebind< data_type >::other::reference | data_reference |
typedef allocator::template rebind< data_type >::other::const_reference | const_data_reference |
typedef allocator::template rebind< data_type >::other::pointer | data_pointer |
typedef allocator::template rebind< data_type >::other::const_pointer | const_data_pointer |
typedef value_type_traits_t::value_type | value_type |
typedef value_type_traits_t::reference | reference |
typedef value_type_traits_t::const_reference | const_reference |
typedef value_type_traits_t::pointer | pointer |
typedef value_type_traits_t::const_pointer | const_pointer |
typedef it_< typename my_base::const_find_iterator, typename my_base_data_type::const_find_iterator, has_data, true > | const_find_iterator |
typedef it_< typename my_base::find_iterator, typename my_base_data_type::find_iterator, has_data, false > | find_iterator |
typedef it_< typename my_base::const_iterator, typename my_base_data_type::const_iterator, has_data, true > | const_iterator |
typedef it_< typename my_base::iterator, typename my_base_data_type::iterator, has_data, false > | iterator |
typedef compound_ds_tag | ds_category |
typedef cond_type< mapping_level==1, typename cond_type< has_data, data_enabled_ms_tag, basic_ms_tag >::type, compound_data_enabled_ms_tag >::type | ms_category |
typedef cond_type< Mapping_Level==1, DS_Tag, compound_ds_tag >::type | effective_base_ds_tag |
typedef ds_traits< my_base_data_type > | base_data_ds_traits |
typedef ig_sel< typename invalidation_guarantee_imp< my_base, effective_base_ds_tag >::type, typename ds_traits< my_base_data_type >::invalidation_guarantee >::type | invalidation_guarantee |
mapping_level | |
erase_can_throw | |
order_preserving | |
erase_iterators | |
reverse_iteration | |
split_join = false | |
enum | { mapping_level } |
enum | { erase_can_throw } |
enum | { order_preserving, order_preserving } |
enum | { erase_iterators } |
enum | { reverse_iteration, reverse_iteration } |
enum | { split_join = false } |
Public Member Functions | |
size_type | size () const |
size_type | max_size () const |
bool | empty () const |
it_key_type | extract_key (typename iterator::const_reference r_val) |
std::pair< find_iterator, bool > | insert (const_reference r_val) |
data_reference | operator[] (const_key_reference r_key) |
const_find_iterator | find (const_key_reference r_key) const |
find_iterator | find (const_key_reference r_key) |
const_data_reference | operator[] (const_key_reference r_key) const |
size_type | erase (const_key_reference r_key) |
template<class Pred> | |
size_type | erase_if (Pred prd) |
void | clear () |
const_iterator | begin () const |
iterator | begin () |
const_iterator | end () const |
iterator | end () |
Static Public Member Functions | |
static const_key_reference | extract_key (const_reference r_val) |
Protected Types | |
typedef my_base_data_type::data_pointer | erase_imp_ret_t |
Protected Member Functions | |
virtual | ~value_type_adapter () |
data_reference | subscript_imp (const_key_reference r_key) |
Private Types | |
typedef PB_ASSOC_BASE_C_DEC | my_base |
typedef my_base::data_type | my_base_data_type |
typedef it_value_type_traits_< typename base_it_key_type< my_base, Mapping_Level==1 >::type, typename my_base_data_type::const_key_reference, typename cond_type< is_same_type< typename my_base_data_type::data_type, null_data_type >::value, null_data_type, typename my_base_data_type::data_reference >::type, typename my_base_data_type::reference, typename my_base::allocator > | it_value_type_traits_t |
typedef value_type_traits_< typename my_base::key_type, typename my_base_data_type::key_type, typename my_base_data_type::data_type, typename my_base::allocator > | value_type_traits_t |
same_alloc_type | |
value | |
has_data | |
enum | { same_alloc_type, value } |
enum | { has_data, value } |
Private Member Functions | |
PB_ASSOC_STATIC_ASSERT (wrong_level, Mapping_Level > 0) | |
PB_ASSOC_STATIC_ASSERT (must_be_same_alloc, same_alloc_type) | |
const_key_reference | extract_key_imp (const_reference r_val, int_to_type< true >) |
const_key_reference | extract_key_imp (const_reference r_val, int_to_type< false >) |
it_key_type | extract_key_imp (typename iterator::const_reference r_val, int_to_type< true >) |
it_key_type | extract_key_imp (typename iterator::const_reference r_val, int_to_type< false >) |
value_type_adapter & | operator= (const value_type_adapter &r_other) |
Definition at line 109 of file value_type_adapter.hpp.
typedef my_base::allocator pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::allocator |
Definition at line 174 of file value_type_adapter.hpp.
typedef ds_traits< my_base_data_type> pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::base_data_ds_traits |
Definition at line 295 of file value_type_adapter.hpp.
typedef allocator::template rebind< data_type>::other::const_pointer pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::const_data_pointer |
Definition at line 224 of file value_type_adapter.hpp.
typedef allocator::template rebind< data_type>::other::const_reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::const_data_reference |
Definition at line 214 of file value_type_adapter.hpp.
typedef it_< typename my_base::const_find_iterator, typename my_base_data_type::const_find_iterator, has_data, true> pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::const_find_iterator |
Definition at line 242 of file value_type_adapter.hpp.
typedef it_< typename my_base::const_iterator, typename my_base_data_type::const_iterator, has_data, true> pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::const_iterator |
Definition at line 258 of file value_type_adapter.hpp.
typedef allocator::template rebind< key_type>::other::const_pointer pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::const_key_pointer |
Definition at line 202 of file value_type_adapter.hpp.
typedef allocator::template rebind< key_type>::other::const_reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::const_key_reference |
Definition at line 192 of file value_type_adapter.hpp.
typedef value_type_traits_t::const_pointer pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::const_pointer |
Definition at line 234 of file value_type_adapter.hpp.
typedef value_type_traits_t::const_reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::const_reference |
Definition at line 230 of file value_type_adapter.hpp.
typedef allocator::template rebind< data_type>::other::pointer pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::data_pointer |
Definition at line 219 of file value_type_adapter.hpp.
typedef allocator::template rebind< data_type>::other::reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::data_reference |
Definition at line 209 of file value_type_adapter.hpp.
typedef my_base_data_type::data_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::data_type |
Definition at line 204 of file value_type_adapter.hpp.
typedef Allocator::difference_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::difference_type |
Definition at line 172 of file value_type_adapter.hpp.
typedef compound_ds_tag pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::ds_category |
Definition at line 276 of file value_type_adapter.hpp.
typedef cond_type< Mapping_Level == 1, DS_Tag, compound_ds_tag>::type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::effective_base_ds_tag |
Definition at line 293 of file value_type_adapter.hpp.
typedef my_base_data_type::data_pointer pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::erase_imp_ret_t [protected] |
Definition at line 342 of file value_type_adapter.hpp.
typedef it_< typename my_base::find_iterator, typename my_base_data_type::find_iterator, has_data, false> pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::find_iterator |
Definition at line 250 of file value_type_adapter.hpp.
typedef ig_sel< typename invalidation_guarantee_imp< my_base, effective_base_ds_tag>::type, typename ds_traits< my_base_data_type>::invalidation_guarantee>::type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::invalidation_guarantee |
Definition at line 325 of file value_type_adapter.hpp.
typedef it_value_type_traits_t::key_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::it_key_type |
Definition at line 176 of file value_type_adapter.hpp.
typedef it_value_type_traits_< typename base_it_key_type< my_base, Mapping_Level == 1>::type, typename my_base_data_type::const_key_reference, typename cond_type< is_same_type< typename my_base_data_type::data_type, null_data_type>::value, null_data_type, typename my_base_data_type::data_reference>::type, typename my_base_data_type::reference, typename my_base::allocator> pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::it_value_type_traits_t [private] |
Definition at line 148 of file value_type_adapter.hpp.
typedef it_< typename my_base::iterator, typename my_base_data_type::iterator, has_data, false> pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::iterator |
Definition at line 266 of file value_type_adapter.hpp.
typedef allocator::template rebind< key_type>::other::pointer pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::key_pointer |
Definition at line 197 of file value_type_adapter.hpp.
typedef allocator::template rebind< key_type>::other::reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::key_reference |
Definition at line 187 of file value_type_adapter.hpp.
typedef std::pair< typename my_base::key_type, typename my_base_data_type::key_type> pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::key_type |
Definition at line 182 of file value_type_adapter.hpp.
typedef cond_type< mapping_level == 1, typename cond_type< has_data, data_enabled_ms_tag, basic_ms_tag>::type, compound_data_enabled_ms_tag>::type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::ms_category |
Definition at line 286 of file value_type_adapter.hpp.
typedef PB_ASSOC_BASE_C_DEC pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::my_base [private] |
Definition at line 113 of file value_type_adapter.hpp.
typedef my_base::data_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::my_base_data_type [private] |
Definition at line 115 of file value_type_adapter.hpp.
typedef value_type_traits_t::pointer pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::pointer |
Definition at line 232 of file value_type_adapter.hpp.
typedef value_type_traits_t::reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::reference |
Definition at line 228 of file value_type_adapter.hpp.
typedef Allocator::size_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::size_type |
Definition at line 170 of file value_type_adapter.hpp.
typedef value_type_traits_t::value_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::value_type |
Definition at line 226 of file value_type_adapter.hpp.
typedef value_type_traits_< typename my_base::key_type, typename my_base_data_type::key_type, typename my_base_data_type::data_type, typename my_base::allocator> pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::value_type_traits_t [private] |
Definition at line 158 of file value_type_adapter.hpp.
anonymous enum [private] |
anonymous enum [private] |
anonymous enum |
anonymous enum |
anonymous enum |
Definition at line 303 of file value_type_adapter.hpp.
anonymous enum |
anonymous enum |
Definition at line 327 of file value_type_adapter.hpp.
anonymous enum |
virtual pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::~value_type_adapter | ( | ) | [inline, protected, virtual] |
Definition at line 561 of file value_type_adapter.hpp.
iterator pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::begin | ( | ) | [inline] |
Definition at line 533 of file value_type_adapter.hpp.
References pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::end().
const_iterator pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::begin | ( | ) | const [inline] |
Definition at line 519 of file value_type_adapter.hpp.
References pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::end().
Referenced by pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::size().
void pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::clear | ( | ) | [inline] |
Definition at line 508 of file value_type_adapter.hpp.
bool pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::empty | ( | ) | const [inline] |
Definition at line 384 of file value_type_adapter.hpp.
References pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::size().
iterator pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::end | ( | ) | [inline] |
Definition at line 553 of file value_type_adapter.hpp.
const_iterator pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::end | ( | ) | const [inline] |
Definition at line 547 of file value_type_adapter.hpp.
Referenced by pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::begin(), pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::find(), and pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::size().
size_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::erase | ( | const_key_reference | r_key | ) | [inline] |
size_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::erase_if | ( | Pred | prd | ) | [inline] |
Definition at line 482 of file value_type_adapter.hpp.
it_key_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::extract_key | ( | typename iterator::const_reference | r_val | ) | [inline] |
Definition at line 398 of file value_type_adapter.hpp.
static const_key_reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::extract_key | ( | const_reference | r_val | ) | [inline, static] |
Definition at line 390 of file value_type_adapter.hpp.
it_key_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::extract_key_imp | ( | typename iterator::const_reference | r_val, | |
int_to_type< false > | ||||
) | [inline, private] |
Definition at line 364 of file value_type_adapter.hpp.
it_key_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::extract_key_imp | ( | typename iterator::const_reference | r_val, | |
int_to_type< true > | ||||
) | [inline, private] |
Definition at line 358 of file value_type_adapter.hpp.
const_key_reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::extract_key_imp | ( | const_reference | r_val, | |
int_to_type< false > | ||||
) | [inline, private] |
Definition at line 352 of file value_type_adapter.hpp.
const_key_reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::extract_key_imp | ( | const_reference | r_val, | |
int_to_type< true > | ||||
) | [inline, private] |
Definition at line 346 of file value_type_adapter.hpp.
Referenced by pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::extract_key().
find_iterator pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::find | ( | const_key_reference | r_key | ) | [inline] |
Definition at line 439 of file value_type_adapter.hpp.
References pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::end(), and std::find().
const_find_iterator pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::find | ( | const_key_reference | r_key | ) | const [inline] |
Definition at line 422 of file value_type_adapter.hpp.
References pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::end(), and std::find().
std::pair< find_iterator, bool> pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::insert | ( | const_reference | r_val | ) | [inline] |
Definition at line 408 of file value_type_adapter.hpp.
size_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::max_size | ( | ) | const [inline] |
Definition at line 378 of file value_type_adapter.hpp.
value_type_adapter& pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::operator= | ( | const value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level > & | r_other | ) | [private] |
const_data_reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::operator[] | ( | const_key_reference | r_key | ) | const [inline] |
Definition at line 456 of file value_type_adapter.hpp.
data_reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::operator[] | ( | const_key_reference | r_key | ) | [inline] |
Definition at line 416 of file value_type_adapter.hpp.
pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::PB_ASSOC_STATIC_ASSERT | ( | must_be_same_alloc | , | |
same_alloc_type | ||||
) | [private] |
pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::PB_ASSOC_STATIC_ASSERT | ( | wrong_level | , | |
Mapping_Level | , | |||
0 | ||||
) | [private] |
size_type pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::size | ( | ) | const [inline] |
Definition at line 372 of file value_type_adapter.hpp.
References pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::begin(), std::distance(), and pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::end().
Referenced by pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::empty().
data_reference pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::subscript_imp | ( | const_key_reference | r_key | ) | [inline, protected] |
Definition at line 580 of file value_type_adapter.hpp.
Referenced by pb_assoc::detail::value_type_adapter< Key, Data, DS_Tag, Policy_Tl, Allocator, Mapping_Level >::operator[]().