basix_doc 0.1
join_iterator_rep< C > Class Template Reference

#include <iterator.hpp>

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

template<typename C>
class mmx::join_iterator_rep< C >

Definition at line 363 of file iterator.hpp.


Constructor & Destructor Documentation

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) {}

Member Function Documentation

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().

{ return busy (it1) || busy (it2); }
bool is_init ( ) [inline, protected]

Definition at line 373 of file iterator.hpp.

References mmx::init().

{ return init (it1) && init (it2); }
void regress ( ) [inline, protected]

Definition at line 374 of file iterator.hpp.

References mmx::init().

{ if (init (it2)) --it1; else --it2; }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines