Generated on Tue Sep 25 2012 20:53:32 for Gecode by doxygen 1.7.5
Gecode::Iter::Ranges::NaryAppend Class Reference

Range iterator for appending arbitrarily many iterators. More...

#include <ranges-append.hpp>

List of all members.

Protected Attributes

I * r
 The array of iterators to be appended.
int n
 Number of iterators.
int active
 Number of current iterator being processed.

Constructors and initialization

 NaryAppend (void)
 Default constructor.
 NaryAppend (I *i, int n)
 Initialize with n iterators in i.
void init (I *i, int n)
 Initialize with n iterators in i.

Iteration control

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

Detailed Description

Range iterator for appending arbitrarily many iterators.

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


Constructor & Destructor Documentation

Gecode::Iter::Ranges::NaryAppend::NaryAppend ( void  ) [inline]

Default constructor.

Definition at line 191 of file ranges-append.hpp.

Gecode::Iter::Ranges::NaryAppend::NaryAppend ( I *  i,
int  n 
) [inline]

Initialize with n iterators in i.

Definition at line 195 of file ranges-append.hpp.


Member Function Documentation

void Gecode::Iter::Ranges::NaryAppend::init ( I *  i,
int  n 
) [inline]

Initialize with n iterators in i.

Definition at line 208 of file ranges-append.hpp.

void Gecode::Iter::Ranges::NaryAppend::operator++ ( void  ) [inline]

Move iterator to next range (if possible)

Definition at line 168 of file ranges-append.hpp.


Member Data Documentation

The array of iterators to be appended.

Definition at line 88 of file ranges-append.hpp.

Number of iterators.

Definition at line 90 of file ranges-append.hpp.

Number of current iterator being processed.

Definition at line 92 of file ranges-append.hpp.


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