#include <splay_tree_.hpp>
Inherits __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >.
|
| splay_tree_map (const Cmp_Fn &) |
|
| splay_tree_map (const Cmp_Fn &, const node_update &) |
|
| splay_tree_map (const splay_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > &) |
|
iterator | begin () |
|
const_iterator | begin () const |
|
void | clear () |
|
template<typename It > |
void | copy_from_range (It, It) |
|
bool | empty () const |
|
iterator | end () |
|
const_iterator | end () const |
|
iterator | erase (iterator it) |
|
bool | erase (key_const_reference) |
|
reverse_iterator | erase (reverse_iterator) |
|
template<typename Pred > |
size_type | erase_if (Pred) |
|
point_iterator | find (key_const_reference) |
|
point_const_iterator | find (key_const_reference) const |
|
Cmp_Fn & | get_cmp_fn () |
|
const Cmp_Fn & | get_cmp_fn () const |
|
void | initialize () |
|
std::pair< point_iterator, bool > | insert (const_reference r_value) |
|
void | join (splay_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > &) |
|
point_iterator | lower_bound (key_const_reference) |
|
point_const_iterator | lower_bound (key_const_reference) const |
|
size_type | max_size () const |
|
node_iterator | node_begin () |
|
node_const_iterator | node_begin () const |
|
node_iterator | node_end () |
|
node_const_iterator | node_end () const |
|
mapped_reference | operator[] (key_const_reference r_key) |
|
reverse_iterator | rbegin () |
|
const_reverse_iterator | rbegin () const |
|
reverse_iterator | rend () |
|
const_reverse_iterator | rend () const |
|
size_type | size () const |
|
void | split (key_const_reference, splay_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > &) |
|
void | swap (splay_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > &) |
|
void | swap (tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &) |
|
point_iterator | upper_bound (key_const_reference) |
|
point_const_iterator | upper_bound (key_const_reference) const |
|
|
void | actual_erase_node (node_pointer) |
|
template<typename Node_Update_ > |
void | apply_update (node_pointer, Node_Update_ *) |
|
void | apply_update (node_pointer, null_node_update_pointer) |
|
std::pair< node_pointer, bool > | erase (node_pointer) |
|
node_pointer | get_new_node_for_leaf_insert (const_reference, false_type) |
|
node_pointer | get_new_node_for_leaf_insert (const_reference, true_type) |
|
void | initialize_min_max () |
|
iterator | insert_imp_empty (const_reference) |
|
std::pair< point_iterator, bool > | insert_leaf (const_reference) |
|
iterator | insert_leaf_new (const_reference, node_pointer, bool) |
|
void | join_finish (tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &) |
|
bool | join_prep (tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &) |
|
size_type | recursive_count (node_pointer) const |
|
void | rotate_left (node_pointer) |
|
void | rotate_parent (node_pointer) |
|
void | rotate_right (node_pointer) |
|
void | split_finish (tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &) |
|
bool | split_prep (key_const_reference, tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &) |
|
void | update_min_max_for_erased_node (node_pointer) |
|
template<typename Node_Update_ > |
void | update_to_top (node_pointer, Node_Update_ *) |
|
void | update_to_top (node_pointer, null_node_update_pointer) |
|
void | value_swap (tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &) |
|
|
static void | clear_imp (node_pointer) |
|
template<typename Key, typename Mapped, typename Cmp_Fn, typename Node_And_It_Traits, typename _Alloc>
class __gnu_pbds::detail::splay_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >
Splay tree.
Definition at line 107 of file splay_tree_.hpp.
◆ allocator_type
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ cmp_fn
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ comp_hash
◆ const_iterator
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ const_pointer
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ const_reference
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ const_reverse_iterator
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ container_category
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ difference_type
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ iterator
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ key_const_pointer
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ key_const_reference
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ key_pointer
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ key_reference
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ key_type
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ mapped_const_pointer
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ mapped_const_reference
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ mapped_pointer
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ mapped_reference
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ mapped_type
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ no_throw_indicator
◆ node
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
typedef node_alloc_traits::value_type __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node |
|
protectedinherited |
◆ node_allocator
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
typedef node_alloc_traits::allocator_type __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node_allocator |
|
protectedinherited |
◆ node_const_iterator
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
typedef traits_type::node_const_iterator __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node_const_iterator |
|
inherited |
◆ node_iterator
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
typedef traits_type::node_iterator __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node_iterator |
|
inherited |
◆ node_update
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ null_node_update_pointer
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
typedef traits_type::null_node_update_pointer __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::null_node_update_pointer |
|
protectedinherited |
◆ point_const_iterator
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ point_iterator
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ pointer
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ reference
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ reverse_iterator
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ size_type
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ store_extra
◆ stored_data_type
◆ traits_base
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
typedef types_traits<Key, Mapped, _Alloc, false> __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::traits_base |
|
protectedinherited |
◆ value_type
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ node_begin() [1/2]
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
node_iterator __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node_begin |
( |
| ) |
|
|
inlineinherited |
Returns a node_iterator corresponding to the node at the root of the tree.
◆ node_begin() [2/2]
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
node_const_iterator __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node_begin |
( |
| ) |
const |
|
inlineinherited |
Returns a const node_iterator corresponding to the node at the root of the tree.
◆ node_end() [1/2]
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
node_iterator __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node_end |
( |
| ) |
|
|
inlineinherited |
Returns a node_iterator corresponding to a node just after a leaf of the tree.
◆ node_end() [2/2]
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
node_const_iterator __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node_end |
( |
| ) |
const |
|
inlineinherited |
Returns a const node_iterator corresponding to a node just after a leaf of the tree.
◆ operator[]()
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
◆ m_no_throw_copies_indicator
◆ m_p_head
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
node_pointer __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::m_p_head |
|
protectedinherited |
◆ m_size
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
size_type __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::m_size |
|
protectedinherited |
◆ m_store_extra_indicator
◆ s_node_allocator
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc >
node_allocator __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::s_node_allocator |
|
staticprotectedinherited |
The documentation for this class was generated from the following file: