basix_doc 0.1
|
#include <iterator.hpp>
Definition at line 363 of file iterator.hpp.
join_iterator_rep | ( | const iterator< C > | it1b, |
const iterator< C > | it2b | ||
) | [inline] |
Definition at line 367 of file iterator.hpp.
Referenced by join_iterator_rep< C >::clone().
: Iterator_rep (CF (it1b)), it1(it1b), it2(it2b) {}
void advance | ( | ) | [inline, protected] |
Definition at line 372 of file iterator.hpp.
References mmx::busy().
{ if (busy (it1)) ++it1; else ++it2; }
iterator_rep<C>* clone | ( | ) | [inline, protected] |
Definition at line 376 of file iterator.hpp.
References mmx::copy(), and join_iterator_rep< C >::join_iterator_rep().
{ return new join_iterator_rep (copy (it1), copy (it2)); }
C current | ( | ) | [inline, protected] |
Definition at line 375 of file iterator.hpp.
References mmx::busy().
{ return busy (it1)? *it1: *it2; }
bool is_busy | ( | ) | [inline, protected] |
Definition at line 371 of file iterator.hpp.
References mmx::busy().
bool is_init | ( | ) | [inline, protected] |
Definition at line 373 of file iterator.hpp.
References mmx::init().
void regress | ( | ) | [inline, protected] |
Definition at line 374 of file iterator.hpp.
References mmx::init().
{ if (init (it2)) --it1; else --it2; }