Generated on Thu Jul 6 07:07:04 2006 for Gecode by doxygen 1.4.7

Gecode::Iter::Ranges::Append< I, J > Class Template Reference
[Range iterators]

Inherits Gecode::Iter::Ranges::MinMax.

List of all members.


Detailed Description

template<class I, class J>
class Gecode::Iter::Ranges::Append< I, J >

Range iterator for appending two range iterators

The iterators are allowed to be adjacent but not to overlap (in this case, use Gecode::Iter::Union).

Requires

 #include "gecode/iter.hh" 

Definition at line 35 of file ranges-append.icc.

Constructors and initialization

 Append (void)
 Default constructor.
 Append (I &i, J &j)
 Initialize with iterator i and j.
void init (I &i, J &j)
 Initialize with iterator i and j.

Iteration control

void operator++ (void)
 Move iterator to next range (if possible).

Protected Attributes

i
 First iterator.
j
 Iterator to be appended.


Constructor & Destructor Documentation

template<class I, class J>
Gecode::Iter::Ranges::Append< I, J >::Append ( void   )  [inline]

Default constructor.

Definition at line 124 of file ranges-append.icc.

template<class I, class J>
Gecode::Iter::Ranges::Append< I, J >::Append ( I &  i,
J &  j 
) [inline]

Initialize with iterator i and j.

Definition at line 128 of file ranges-append.icc.


Member Function Documentation

template<class I, class J>
void Gecode::Iter::Ranges::Append< I, J >::init ( I &  i,
J &  j 
) [inline]

Initialize with iterator i and j.

Definition at line 138 of file ranges-append.icc.

template<class I, class J>
void Gecode::Iter::Ranges::Append< I, J >::operator++ ( void   )  [inline]

Move iterator to next range (if possible).

Definition at line 105 of file ranges-append.icc.


Member Data Documentation

template<class I, class J>
I Gecode::Iter::Ranges::Append< I, J >::i [protected]

First iterator.

Definition at line 38 of file ranges-append.icc.

template<class I, class J>
J Gecode::Iter::Ranges::Append< I, J >::j [protected]

Iterator to be appended.

Definition at line 40 of file ranges-append.icc.


The documentation for this class was generated from the following file: