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 | this_size () const |
template<typename Visitor , typename... Args> | |
void | each (Visitor v, Args &&... args) |
template<typename Visitor , typename... Args> | |
bool | each_pred (Visitor v, Args &&... args) |
template<typename Visitor , typename... Args> | |
bool | each_pred_zip (Visitor v, node_t *other, Args &&... args) |
template<typename Visitor , typename... Args> | |
bool | each_pred_i (Visitor v, count_t i, count_t n, Args &&... args) |
template<typename Visitor , typename... Args> | |
bool | each_pred_right (Visitor v, count_t start, Args &&... args) |
template<typename Visitor , typename... Args> | |
bool | each_pred_left (Visitor v, count_t n, Args &&... args) |
template<typename Visitor , typename... Args> | |
void | each_i (Visitor v, count_t i, count_t n, Args &&... args) |
template<typename Visitor , typename... Args> | |
void | each_right (Visitor v, count_t start, Args &&... args) |
template<typename Visitor , typename... Args> | |
void | each_left (Visitor v, count_t n, Args &&... args) |
template<typename Visitor , typename... Args> | |
decltype(auto) | towards (Visitor v, size_t idx, Args &&... args) |
template<typename Visitor , typename... Args> | |
decltype(auto) | towards_oh (Visitor v, size_t idx, count_t offset_hint, Args &&... args) |
template<typename Visitor , typename... Args> | |
decltype(auto) | towards_oh_ch (Visitor v, size_t idx, count_t offset_hint, count_t count_hint, Args &&... args) |
template<typename Visitor , typename... Args> | |
decltype(auto) | towards_sub_oh (Visitor v, size_t idx, count_t offset_hint, Args &&... args) |
template<typename Visitor , typename... Args> | |
decltype(auto) | last_oh (Visitor v, count_t offset_hint, Args &&... args) |
template<typename Visitor , typename ... Args> | |
decltype(auto) | visit (Visitor v, Args &&...args) |
Public Attributes | |
node_t * | node_ |
shift_t | shift_ |
size_t | size_ |
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::regular_pos< NodeT >
Definition at line 213 of file position.hpp.
Member Typedef Documentation
◆ node_t
using immer::detail::rbts::regular_pos< NodeT >::node_t = NodeT |
Definition at line 218 of file position.hpp.
Member Function Documentation
◆ count()
|
inline |
Definition at line 223 of file position.hpp.
References immer::detail::rbts::regular_pos< NodeT >::index(), and immer::detail::rbts::regular_pos< NodeT >::size_.
Referenced by immer::detail::rbts::regular_pos< NodeT >::towards(), immer::detail::rbts::regular_pos< NodeT >::towards_oh(), and immer::detail::rbts::regular_pos< NodeT >::towards_oh_ch().
◆ each()
|
inline |
Definition at line 232 of file position.hpp.
References immer::detail::rbts::each_regular().
◆ each_i()
|
inline |
Definition at line 256 of file position.hpp.
References immer::detail::rbts::each_i_regular().
◆ each_left()
|
inline |
Definition at line 264 of file position.hpp.
References immer::detail::rbts::each_left_regular().
◆ each_pred()
|
inline |
Definition at line 236 of file position.hpp.
References immer::detail::rbts::each_pred_regular().
◆ each_pred_i()
|
inline |
Definition at line 244 of file position.hpp.
References immer::detail::rbts::each_pred_i_regular().
◆ each_pred_left()
|
inline |
Definition at line 252 of file position.hpp.
References immer::detail::rbts::each_pred_left_regular().
◆ each_pred_right()
|
inline |
Definition at line 248 of file position.hpp.
References immer::detail::rbts::each_pred_right_regular().
◆ each_pred_zip()
|
inline |
Definition at line 240 of file position.hpp.
References immer::detail::rbts::each_pred_zip_regular().
◆ each_right()
|
inline |
Definition at line 260 of file position.hpp.
References immer::detail::rbts::each_right_regular().
◆ index()
|
inline |
Definition at line 227 of file position.hpp.
References immer::detail::rbts::regular_pos< NodeT >::shift_.
Referenced by immer::detail::rbts::regular_pos< NodeT >::count(), and immer::detail::rbts::regular_pos< NodeT >::towards().
◆ last_oh()
|
inline |
Definition at line 291 of file position.hpp.
References immer::detail::rbts::last_oh_regular().
◆ node()
|
inline |
Definition at line 224 of file position.hpp.
References immer::detail::rbts::regular_pos< NodeT >::node_.
◆ shift()
|
inline |
Definition at line 226 of file position.hpp.
References immer::detail::rbts::regular_pos< NodeT >::shift_.
◆ size()
|
inline |
Definition at line 225 of file position.hpp.
References immer::detail::rbts::regular_pos< NodeT >::size_.
◆ subindex()
|
inline |
Definition at line 228 of file position.hpp.
References immer::detail::rbts::regular_pos< NodeT >::shift_.
◆ this_size()
|
inline |
Definition at line 229 of file position.hpp.
References immer::detail::rbts::regular_pos< NodeT >::B, immer::detail::rbts::regular_pos< NodeT >::shift_, and immer::detail::rbts::regular_pos< NodeT >::size_.
◆ towards()
|
inline |
Definition at line 268 of file position.hpp.
References immer::detail::rbts::regular_pos< NodeT >::count(), immer::detail::rbts::regular_pos< NodeT >::index(), and immer::detail::rbts::towards_oh_ch_regular().
◆ towards_oh()
|
inline |
Definition at line 272 of file position.hpp.
References immer::detail::rbts::regular_pos< NodeT >::count(), and immer::detail::rbts::towards_oh_ch_regular().
◆ towards_oh_ch()
|
inline |
Definition at line 278 of file position.hpp.
References immer::detail::rbts::regular_pos< NodeT >::count(), and immer::detail::rbts::towards_oh_ch_regular().
◆ towards_sub_oh()
|
inline |
Definition at line 285 of file position.hpp.
References immer::detail::rbts::towards_sub_oh_regular().
◆ visit()
|
inline |
Definition at line 295 of file position.hpp.
Member Data Documentation
◆ B
|
static |
Definition at line 215 of file position.hpp.
Referenced by immer::detail::rbts::regular_pos< NodeT >::this_size().
◆ BL
|
static |
Definition at line 216 of file position.hpp.
◆ node_
node_t* immer::detail::rbts::regular_pos< NodeT >::node_ |
Definition at line 219 of file position.hpp.
Referenced by immer::detail::rbts::regular_pos< NodeT >::node().
◆ shift_
shift_t immer::detail::rbts::regular_pos< NodeT >::shift_ |
◆ size_
size_t immer::detail::rbts::regular_pos< NodeT >::size_ |
Definition at line 221 of file position.hpp.
Referenced by immer::detail::rbts::regular_pos< NodeT >::count(), immer::detail::rbts::regular_pos< NodeT >::size(), and immer::detail::rbts::regular_pos< NodeT >::this_size().
The documentation for this struct was generated from the following file:
- src/immer/detail/rbts/position.hpp