|
ACTS
Experiment-independent tracking
|
interface type to construct a static_join_view with CTAD
More...
#include <detray/utils/ranges/static_join.hpp>
Public Types | |
| using | base_type = ranges::static_join_view<I, range_itr_t> |
| Base implementation joining the fixed set of ranges. | |
| Public Types inherited from detray::ranges::static_join_view< I, range_itr_t > | |
| using | iterator_coll_t = darray<range_itr_t, I> |
| Begin/end iterator array for the fixed set of input ranges. | |
| using | iterator_t |
| Iterator that advances across the input ranges in order. | |
| using | value_t = std::iter_value_t<iterator_t> |
| Element type yielded by the joined view. | |
Public Member Functions | |
| template<detray::ranges::range... ranges_t> requires ((sizeof...(ranges_t) > 1) || ((!std::same_as<static_join, ranges_t>) && ...)) | |
| constexpr | static_join (ranges_t &&...ranges) |
| Construct the adaptor from the ranges to join. | |
| Public Member Functions inherited from detray::ranges::static_join_view< I, range_itr_t > | |
| constexpr | static_join_view ()=default |
| Default constructor. | |
| template<detray::ranges::range... ranges_t> | |
| constexpr | static_join_view (const ranges_t &...ranges) |
Construct from a pack of ranges - const. | |
| template<detray::ranges::range... ranges_t> requires ((sizeof...(ranges_t) > 1) || ((!std::same_as<static_join_view, ranges_t>) && ...)) | |
| constexpr | static_join_view (ranges_t &&...ranges) |
Construct from a pack of ranges. | |
| constexpr auto | begin () const -> iterator_t |
| constexpr auto | data () -> value_t * |
| constexpr auto | data () const -> const value_t * |
| constexpr auto | end () const -> iterator_t |
| constexpr auto | size () const noexcept -> std::size_t |
| Public Member Functions inherited from detray::ranges::view_interface< static_join_view< I, range_itr_t > > | |
| constexpr decltype(auto) | back () const |
| Return a reference to the last element. | |
| constexpr auto | data () const |
| Return a pointer to the first element, or null for an empty view. | |
| constexpr auto | empty () const -> bool |
| Check whether the view contains no elements. | |
| constexpr decltype(auto) | front () const |
| Return a reference to the first element. | |
| constexpr | operator bool () const |
| Test whether the view contains at least one element. | |
| constexpr decltype(auto) | operator[] (const dindex i) const |
Subscript operator that takes detray dindex. | |
| constexpr auto | size () const |
| Return the number of elements in the view. | |
Additional Inherited Members | |
| Public Attributes inherited from detray::ranges::static_join_view< I, range_itr_t > | |
| iterator_coll_t | m_begins {} |
| Start and end position of the subranges. | |
| iterator_coll_t | m_ends {} |
| End iterators of the input ranges. | |
interface type to construct a static_join_view with CTAD
|
explicitconstexpr |
Construct the adaptor from the ranges to join.
| ranges_t | input range types |
| ranges | input ranges in joined order |