Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <operations.hpp>
Public Types | |
using | node_t = Node |
using | edit_t = typename Node::edit_t |
using | result_t = concat_center_pos< Node > |
Public Member Functions | |
concat_merger_mut (edit_t ec, shift_t shift, count_t *counts, count_t n, edit_t candidate_e, node_t *candidate) | |
void | set_candidate (edit_t candidate_e, node_t *candidate) |
void | add_child (node_t *p, size_t size) |
template<typename Pos > | |
void | merge_leaf (Pos &&p, edit_t e) |
template<typename Pos > | |
void | merge_inner (Pos &&p, edit_t e) |
concat_center_pos< Node > | finish () const |
void | abort () |
Public Attributes | |
edit_t | ec_ = {} |
count_t * | curr_ |
count_t | n_ |
result_t | result_ |
count_t | count_ = 0 |
node_t * | candidate_ = nullptr |
edit_t | candidate_e_ = Node::memory::transience_t::noone |
node_t * | to_ = {} |
count_t | to_offset_ = {} |
size_t | to_size_ = {} |
Static Public Attributes | |
static constexpr auto | B = Node::bits |
static constexpr auto | BL = Node::bits_leaf |
Detailed Description
template<typename Node>
struct immer::detail::rbts::concat_merger_mut< Node >
Definition at line 1869 of file operations.hpp.
Member Typedef Documentation
◆ edit_t
using immer::detail::rbts::concat_merger_mut< Node >::edit_t = typename Node::edit_t |
Definition at line 1872 of file operations.hpp.
◆ node_t
using immer::detail::rbts::concat_merger_mut< Node >::node_t = Node |
Definition at line 1871 of file operations.hpp.
◆ result_t
using immer::detail::rbts::concat_merger_mut< Node >::result_t = concat_center_pos<Node> |
Definition at line 1877 of file operations.hpp.
Constructor & Destructor Documentation
◆ concat_merger_mut()
|
inline |
Definition at line 1888 of file operations.hpp.
Member Function Documentation
◆ abort()
|
inline |
Definition at line 2045 of file operations.hpp.
◆ add_child()
|
inline |
Definition at line 1911 of file operations.hpp.
References immer::detail::rbts::concat_merger_mut< Node >::candidate_, immer::detail::rbts::concat_merger_mut< Node >::candidate_e_, immer::detail::rbts::concat_center_pos< Node >::count_, immer::detail::rbts::concat_merger_mut< Node >::count_, immer::detail::rbts::concat_merger_mut< Node >::curr_, immer::detail::rbts::concat_merger_mut< Node >::ec_, immer::detail::rbts::concat_center_pos< Node >::max_children, immer::detail::rbts::concat_merger_mut< Node >::n_, immer::detail::rbts::concat_center_pos< Node >::nodes_, immer::detail::rbts::concat_merger_mut< Node >::result_, and immer::detail::rbts::concat_center_pos< Node >::sizes_.
Referenced by immer::detail::rbts::concat_merger_mut< Node >::merge_inner(), and immer::detail::rbts::concat_merger_mut< Node >::merge_leaf().
◆ finish()
|
inline |
Definition at line 2038 of file operations.hpp.
References immer::detail::rbts::concat_center_pos< Node >::count_, immer::detail::rbts::concat_merger_mut< Node >::count_, immer::detail::rbts::concat_center_pos< Node >::nodes_, immer::detail::rbts::concat_merger_mut< Node >::result_, and immer::detail::rbts::concat_merger_mut< Node >::to_.
◆ merge_inner()
|
inline |
Definition at line 1991 of file operations.hpp.
References immer::detail::rbts::concat_merger_mut< Node >::add_child(), immer::copy(), immer::detail::rbts::concat_merger_mut< Node >::curr_, immer::detail::rbts::concat_merger_mut< Node >::ec_, immer::detail::rbts::concat_merger_mut< Node >::to_, immer::detail::rbts::concat_merger_mut< Node >::to_offset_, and immer::detail::rbts::concat_merger_mut< Node >::to_size_.
◆ merge_leaf()
|
inline |
Definition at line 1939 of file operations.hpp.
References immer::detail::rbts::concat_merger_mut< Node >::add_child(), immer::detail::rbts::concat_merger_mut< Node >::curr_, immer::detail::rbts::concat_merger_mut< Node >::ec_, immer::detail::rbts::concat_merger_mut< Node >::to_, immer::detail::rbts::concat_merger_mut< Node >::to_offset_, immer::detail::uninitialized_copy(), and immer::detail::uninitialized_move().
◆ set_candidate()
|
inline |
Definition at line 1908 of file operations.hpp.
References immer::detail::rbts::concat_merger_mut< Node >::candidate_, and immer::detail::rbts::concat_merger_mut< Node >::candidate_e_.
Member Data Documentation
◆ B
|
static |
Definition at line 1874 of file operations.hpp.
◆ BL
|
static |
Definition at line 1875 of file operations.hpp.
◆ candidate_
node_t* immer::detail::rbts::concat_merger_mut< Node >::candidate_ = nullptr |
Definition at line 1885 of file operations.hpp.
Referenced by immer::detail::rbts::concat_merger_mut< Node >::add_child(), and immer::detail::rbts::concat_merger_mut< Node >::set_candidate().
◆ candidate_e_
edit_t immer::detail::rbts::concat_merger_mut< Node >::candidate_e_ = Node::memory::transience_t::noone |
Definition at line 1886 of file operations.hpp.
Referenced by immer::detail::rbts::concat_merger_mut< Node >::add_child(), and immer::detail::rbts::concat_merger_mut< Node >::set_candidate().
◆ count_
count_t immer::detail::rbts::concat_merger_mut< Node >::count_ = 0 |
Definition at line 1884 of file operations.hpp.
Referenced by immer::detail::rbts::concat_merger_mut< Node >::add_child(), and immer::detail::rbts::concat_merger_mut< Node >::finish().
◆ curr_
count_t* immer::detail::rbts::concat_merger_mut< Node >::curr_ |
Definition at line 1881 of file operations.hpp.
Referenced by immer::detail::rbts::concat_merger_mut< Node >::add_child(), immer::detail::rbts::concat_merger_mut< Node >::merge_inner(), and immer::detail::rbts::concat_merger_mut< Node >::merge_leaf().
◆ ec_
edit_t immer::detail::rbts::concat_merger_mut< Node >::ec_ = {} |
Definition at line 1879 of file operations.hpp.
Referenced by immer::detail::rbts::concat_merger_mut< Node >::add_child(), immer::detail::rbts::concat_merger_mut< Node >::merge_inner(), and immer::detail::rbts::concat_merger_mut< Node >::merge_leaf().
◆ n_
count_t immer::detail::rbts::concat_merger_mut< Node >::n_ |
Definition at line 1882 of file operations.hpp.
Referenced by immer::detail::rbts::concat_merger_mut< Node >::add_child().
◆ result_
result_t immer::detail::rbts::concat_merger_mut< Node >::result_ |
Definition at line 1883 of file operations.hpp.
Referenced by immer::detail::rbts::concat_merger_mut< Node >::add_child(), and immer::detail::rbts::concat_merger_mut< Node >::finish().
◆ to_
node_t* immer::detail::rbts::concat_merger_mut< Node >::to_ = {} |
Definition at line 1904 of file operations.hpp.
Referenced by immer::detail::rbts::concat_merger_mut< Node >::finish(), immer::detail::rbts::concat_merger_mut< Node >::merge_inner(), and immer::detail::rbts::concat_merger_mut< Node >::merge_leaf().
◆ to_offset_
count_t immer::detail::rbts::concat_merger_mut< Node >::to_offset_ = {} |
Definition at line 1905 of file operations.hpp.
Referenced by immer::detail::rbts::concat_merger_mut< Node >::merge_inner(), and immer::detail::rbts::concat_merger_mut< Node >::merge_leaf().
◆ to_size_
size_t immer::detail::rbts::concat_merger_mut< Node >::to_size_ = {} |
Definition at line 1906 of file operations.hpp.
Referenced by immer::detail::rbts::concat_merger_mut< Node >::merge_inner().
The documentation for this struct was generated from the following file:
- src/immer/detail/rbts/operations.hpp