#include <iterator_sequence.hh>
Public Member Functions | |
| iterator_sequence (It1 first, It1 first_end, It2 second_begin, It2 second) | |
| iterator_sequence () | |
Private Types | |
| typedef iterator_sequence< It1, It2 > | Self |
Private Member Functions | |
| void | advance (typename Self::difference_type i) |
| void | decrement () |
| Self::reference | dereference () const |
| Self::difference_type | distance_to (Self x) const |
| bool | equal (Self x) const |
| void | increment () |
Private Attributes | |
| It1 | m_first |
| It1 | m_first_end |
| It2 | m_second |
| It2 | m_second_begin |
Friends | |
| class | boost::iterator_core_access |
The iterator_sequence template takes two iterator ranges and iterates in the two ranges as if they were a single sequence. The only constraint is that both iterator types have the same value_type.
Definition at line 14 of file iterator_sequence.hh.
typedef iterator_sequence<It1, It2> utilmm::iterator_sequence< It1, It2 >::Self [private] |
Definition at line 21 of file iterator_sequence.hh.
| utilmm::iterator_sequence< It1, It2 >::iterator_sequence | ( | It1 | first, |
| It1 | first_end, | ||
| It2 | second_begin, | ||
| It2 | second | ||
| ) | [inline] |
Builds a new sequence Note that for an iterator sequence (fb, fe) + (sb, se),
| first | the position in the first range |
| first_end | the end of the first range |
| second_begin | the beginning of the second range |
| second | the position in the second range |
Definition at line 36 of file iterator_sequence.hh.
| utilmm::iterator_sequence< It1, It2 >::iterator_sequence | ( | ) | [inline] |
Definition at line 41 of file iterator_sequence.hh.
| void utilmm::iterator_sequence< It1, It2 >::advance | ( | typename Self::difference_type | i | ) | [inline, private] |
Definition at line 72 of file iterator_sequence.hh.
| void utilmm::iterator_sequence< It1, It2 >::decrement | ( | ) | [inline, private] |
Definition at line 65 of file iterator_sequence.hh.
| Self::reference utilmm::iterator_sequence< It1, It2 >::dereference | ( | ) | const [inline, private] |
Definition at line 49 of file iterator_sequence.hh.
| Self::difference_type utilmm::iterator_sequence< It1, It2 >::distance_to | ( | Self | x | ) | const [inline, private] |
Definition at line 98 of file iterator_sequence.hh.
| bool utilmm::iterator_sequence< It1, It2 >::equal | ( | Self | x | ) | const [inline, private] |
Definition at line 56 of file iterator_sequence.hh.
| void utilmm::iterator_sequence< It1, It2 >::increment | ( | ) | [inline, private] |
Definition at line 58 of file iterator_sequence.hh.
friend class boost::iterator_core_access [friend] |
Definition at line 44 of file iterator_sequence.hh.
It1 utilmm::iterator_sequence< It1, It2 >::m_first [private] |
Definition at line 46 of file iterator_sequence.hh.
It1 utilmm::iterator_sequence< It1, It2 >::m_first_end [private] |
Definition at line 46 of file iterator_sequence.hh.
It2 utilmm::iterator_sequence< It1, It2 >::m_second [private] |
Definition at line 47 of file iterator_sequence.hh.
It2 utilmm::iterator_sequence< It1, It2 >::m_second_begin [private] |
Definition at line 47 of file iterator_sequence.hh.