|
STLdoc
STLdocumentation
|
#include <ext/pb_ds/detail/list_update_map_/lu_map_.hpp>
Classes | |
| struct | entry |
Public Types | |
| typedef _Alloc | allocator_type |
| typedef _Alloc::size_type | size_type |
| typedef _Alloc::difference_type | difference_type |
| typedef Eq_Fn | eq_fn |
| typedef Update_Policy | update_policy |
| typedef Update_Policy::metadata_type | update_metadata |
| typedef traits_base::key_type | key_type |
| typedef traits_base::key_pointer | key_pointer |
| typedef traits_base::key_const_pointer | key_const_pointer |
| typedef traits_base::key_reference | key_reference |
| typedef traits_base::key_const_reference | key_const_reference |
| typedef traits_base::mapped_type | mapped_type |
| typedef traits_base::mapped_pointer | mapped_pointer |
| typedef traits_base::mapped_const_pointer | mapped_const_pointer |
| typedef traits_base::mapped_reference | mapped_reference |
| typedef traits_base::mapped_const_reference | mapped_const_reference |
| typedef traits_base::value_type | value_type |
| typedef traits_base::pointer | pointer |
| typedef traits_base::const_pointer | const_pointer |
| typedef traits_base::reference | reference |
| typedef traits_base::const_reference | const_reference |
| typedef point_const_iterator_ | point_const_iterator |
| typedef const_iterator_ | const_iterator |
Public Member Functions | |
| PB_DS_LU_NAME () | |
| PB_DS_LU_NAME (const PB_DS_CLASS_C_DEC &) | |
| virtual | ~PB_DS_LU_NAME () |
| template<typename It > | |
| PB_DS_LU_NAME (It, It) | |
| void | swap (PB_DS_CLASS_C_DEC &) |
| size_type | size () const |
| size_type | max_size () const |
| bool | empty () const |
| mapped_reference | operator[] (key_const_reference r_key) |
| std::pair< point_iterator, bool > | insert (const_reference) |
| point_iterator | find (key_const_reference r_key) |
| point_const_iterator | find (key_const_reference r_key) const |
| bool | erase (key_const_reference) |
| template<typename Pred > | |
| size_type | erase_if (Pred) |
| void | clear () |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
Protected Member Functions | |
| template<typename It > | |
| void | copy_from_range (It, It) |
Private Types | |
| typedef PB_DS_LU_TRAITS_BASE | traits_base |
| typedef _Alloc::template rebind< entry >::other | entry_allocator |
| typedef entry_allocator::pointer | entry_pointer |
| typedef entry_allocator::const_pointer | const_entry_pointer |
| typedef entry_allocator::reference | entry_reference |
| typedef entry_allocator::const_reference | const_entry_reference |
| typedef _Alloc::template rebind< entry_pointer >::other | entry_pointer_allocator |
| typedef entry_pointer_allocator::pointer | entry_pointer_array |
| typedef traits_base::value_type | value_type_ |
| typedef traits_base::pointer | pointer_ |
| typedef traits_base::const_pointer | const_pointer_ |
| typedef traits_base::reference | reference_ |
| typedef traits_base::const_reference | const_reference_ |
| typedef cond_dealtor< entry, _Alloc > | cond_dealtor_t |
Private Member Functions | |
| entry_pointer | allocate_new_entry (const_reference, false_type) |
| entry_pointer | allocate_new_entry (const_reference, true_type) |
| void | deallocate_all () |
| void | erase_next (entry_pointer) |
| void | actual_erase_entry (entry_pointer) |
| void | inc_it_state (const_pointer &r_p_value, entry_pointer &r_pos) const |
| entry_pointer | find_imp (key_const_reference) const |
Static Private Member Functions | |
| template<typename Metadata > | |
| static void | init_entry_metadata (entry_pointer, type_to_type< Metadata >) |
| static void | init_entry_metadata (entry_pointer, type_to_type< null_type >) |
| template<typename Metadata > | |
| static bool | apply_update (entry_pointer, type_to_type< Metadata >) |
| static bool | apply_update (entry_pointer, type_to_type< null_type >) |
Private Attributes | |
| entry_pointer | m_p_l |
Static Private Attributes | |
| static entry_allocator | s_entry_allocator |
| static Eq_Fn | s_eq_fn |
| static Update_Policy | s_update_policy |
| static type_to_type < update_metadata > | s_metadata_type_indicator |
| static null_type | s_null_type |
Friends | |
| class | const_iterator_ |
list-based (with updates) associative container. Skip to the lu, my darling.
| typedef _Alloc __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::allocator_type |
|
private |
|
private |
|
private |
| typedef const_iterator_ __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::const_iterator |
| typedef traits_base::const_pointer __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::const_pointer |
|
private |
| typedef traits_base::const_reference __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::const_reference |
|
private |
| typedef _Alloc::difference_type __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::difference_type |
|
private |
|
private |
|
private |
|
private |
|
private |
| typedef Eq_Fn __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::eq_fn |
| typedef traits_base::key_const_pointer __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::key_const_pointer |
| typedef traits_base::key_const_reference __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::key_const_reference |
| typedef traits_base::key_pointer __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::key_pointer |
| typedef traits_base::key_reference __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::key_reference |
| typedef traits_base::key_type __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::key_type |
| typedef traits_base::mapped_const_pointer __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::mapped_const_pointer |
| typedef traits_base::mapped_const_reference __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::mapped_const_reference |
| typedef traits_base::mapped_pointer __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::mapped_pointer |
| typedef traits_base::mapped_reference __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::mapped_reference |
| typedef traits_base::mapped_type __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::mapped_type |
| typedef point_const_iterator_ __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::point_const_iterator |
| typedef traits_base::pointer __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::pointer |
|
private |
| typedef traits_base::reference __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::reference |
|
private |
| typedef _Alloc::size_type __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::size_type |
|
private |
| typedef Update_Policy::metadata_type __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::update_metadata |
| typedef Update_Policy __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::update_policy |
| typedef traits_base::value_type __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::value_type |
|
private |
| __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::PB_DS_LU_NAME | ( | ) |
| __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::PB_DS_LU_NAME | ( | const PB_DS_CLASS_C_DEC & | ) |
|
virtual |
| __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::PB_DS_LU_NAME | ( | It | , |
| It | |||
| ) |
|
private |
|
inlineprivate |
|
inlineprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inline |
|
inline |
| void __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::clear | ( | ) |
|
protected |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inline |
|
inline |
| void __gnu_pbds::detail::PB_DS_LU_NAME< Key, Mapped, Eq_Fn, _Alloc, Update_Policy >::swap | ( | PB_DS_CLASS_C_DEC & | ) |
|
friend |
|
mutableprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
1.8.6