#include <common.h>
Public Types | |
typedef iterator_jump_lead< It > | iterator |
Public Member Functions | |
iterator | begin (void) const |
iterator | end (void) const |
bool | empty (void) const |
slice (It aBeg, It aEnd, size_t aJmp) | |
slice () | |
size_t | size_safe (void) const |
Private Attributes | |
iterator | _Beg |
iterator | _End |
typedef iterator_jump_lead< It > rpa::range_jump< It >::slice::iterator |
At each incrementation, jumps several elements (Equal to the threads number). It can to detect whether it reached the end of the sequence, and for this, needs the sequence end and stores it internally.
rpa::range_jump< It >::slice::slice | ( | It | aBeg, | |
It | aEnd, | |||
size_t | aJmp | |||
) | [inline] |
rpa::range_jump< It >::slice::slice | ( | ) | [inline] |
When we reach the end of the input sequence. The default constructor if 'iterator_jump_lead' is so, that 'empty()' will be true.
iterator rpa::range_jump< It >::slice::begin | ( | void | ) | const [inline] |
bool rpa::range_jump< It >::slice::empty | ( | void | ) | const [inline] |
iterator rpa::range_jump< It >::slice::end | ( | void | ) | const [inline] |
size_t rpa::range_jump< It >::slice::size_safe | ( | void | ) | const [inline] |
This is used for debugging purpose only. This returns an 'absurd' value if the iterators are 'output_type'.
iterator rpa::range_jump< It >::slice::_Beg [private] |
iterator rpa::range_jump< It >::slice::_End [private] |