CPARK 1.0
A light-weighted, distributed computing framework for C++ that offers a fast and general-purpose large data processing solution.
|
#include <merged_view.h>
Public Types | |
using | difference_type = std::ptrdiff_t |
using | value_type = std::ranges::range_value_t< ViewType > |
Public Member Functions | |
Iterator (std::ranges::iterator_t< const ViewType > start_iterator, std::vector< ViewType > *views, std::vector< ViewType >::size_type start_index) | |
value_type | operator* () const |
Iterator & | operator++ () |
Iterator | operator++ (int) |
bool | operator== (const Iterator &other) const |
bool | operator!= (const Iterator &other) const |
Iterator & | operator-- () |
An lazily evaluated iterator that sequentially reads the elements in a sequence of views.
|
inline |
Initialize the Iterator with:
start_iterator | The iterator to the first element. |
views | A pointer to a vector of of views to be combined. |
start_index | The index of the first view. |
|
inline |
Two Iterator-s are equal iff: They are both 'end' iterators, or if they have the same view sequence and point to the same element.