Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <position.hpp>
Public Types | |
using | node_t = NodeT |
Public Member Functions | |
count_t | count () const |
node_t * | node () const |
size_t | size () const |
shift_t | shift () const |
count_t | index (size_t idx) const |
count_t | subindex (size_t idx) const |
size_t | size_before (count_t offset) const |
size_t | this_size () const |
size_t | size (count_t offset) |
template<typename Visitor , typename... Args> | |
void | each_left_sub (Visitor v, Args &&... args) |
template<typename Visitor , typename... Args> | |
void | each (Visitor v, Args &&... args) |
template<typename Visitor , typename... Args> | |
decltype(auto) | last_sub (Visitor v, Args &&... args) |
template<typename Visitor , typename ... Args> | |
decltype(auto) | visit (Visitor v, Args &&...args) |
Public Attributes | |
node_t * | leaf_ |
count_t | count_ |
Static Public Attributes | |
static constexpr auto | B = NodeT::bits |
static constexpr auto | BL = NodeT::bits_leaf |
Detailed Description
template<typename NodeT>
struct immer::detail::rbts::singleton_regular_sub_pos< NodeT >
Definition at line 670 of file position.hpp.
Member Typedef Documentation
◆ node_t
using immer::detail::rbts::singleton_regular_sub_pos< NodeT >::node_t = NodeT |
Definition at line 678 of file position.hpp.
Member Function Documentation
◆ count()
|
inline |
Definition at line 682 of file position.hpp.
◆ each()
|
inline |
Definition at line 695 of file position.hpp.
◆ each_left_sub()
|
inline |
Definition at line 693 of file position.hpp.
◆ index()
|
inline |
Definition at line 686 of file position.hpp.
◆ last_sub()
|
inline |
Definition at line 698 of file position.hpp.
References immer::detail::rbts::singleton_regular_sub_pos< NodeT >::count_, immer::detail::rbts::singleton_regular_sub_pos< NodeT >::leaf_, and immer::detail::rbts::make_leaf_sub_pos().
◆ node()
|
inline |
Definition at line 683 of file position.hpp.
◆ shift()
|
inline |
Definition at line 685 of file position.hpp.
References immer::detail::rbts::singleton_regular_sub_pos< NodeT >::BL.
◆ size() [1/2]
|
inline |
Definition at line 684 of file position.hpp.
References immer::detail::rbts::singleton_regular_sub_pos< NodeT >::count_.
◆ size() [2/2]
|
inline |
Definition at line 690 of file position.hpp.
References immer::detail::rbts::singleton_regular_sub_pos< NodeT >::count_.
◆ size_before()
|
inline |
Definition at line 688 of file position.hpp.
◆ subindex()
|
inline |
Definition at line 687 of file position.hpp.
◆ this_size()
|
inline |
Definition at line 689 of file position.hpp.
References immer::detail::rbts::singleton_regular_sub_pos< NodeT >::count_.
◆ visit()
|
inline |
Definition at line 704 of file position.hpp.
Member Data Documentation
◆ B
|
static |
Definition at line 675 of file position.hpp.
◆ BL
|
static |
Definition at line 676 of file position.hpp.
Referenced by immer::detail::rbts::singleton_regular_sub_pos< NodeT >::shift().
◆ count_
count_t immer::detail::rbts::singleton_regular_sub_pos< NodeT >::count_ |
◆ leaf_
node_t* immer::detail::rbts::singleton_regular_sub_pos< NodeT >::leaf_ |
Definition at line 679 of file position.hpp.
Referenced by immer::detail::rbts::singleton_regular_sub_pos< NodeT >::last_sub().
The documentation for this struct was generated from the following file:
- src/immer/detail/rbts/position.hpp