Generated on Fri Oct 19 11:26:16 2018 for Gecode by doxygen 1.6.3

Gecode::Iter::Ranges::AddRange< I > Class Template Reference
[Range iterators]

Range iterator for adding a single range to a range iterator. More...

#include <ranges-add.hpp>

List of all members.

Protected Attributes

i
 Iterator to which the range is to be added.
int r_min
 Minimum of range to be added.
int r_max
 Maximum of range to be added.

Constructors and initialization



 AddRange (void)
 Default constructor.
 AddRange (I &i, int min, int max)
 Initialize with ranges i and range min to max.
void init (I &i, int min, int max)
 Initialize with ranges i and range min to max.

Iteration control



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

Detailed Description

template<class I>
class Gecode::Iter::Ranges::AddRange< I >

Range iterator for adding a single range to a range iterator.

Definition at line 42 of file ranges-add.hpp.


Constructor & Destructor Documentation

template<class I >
Gecode::Iter::Ranges::AddRange< I >::AddRange ( void   )  [inline]

Default constructor.

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

template<class I >
Gecode::Iter::Ranges::AddRange< I >::AddRange ( I &  i,
int  min,
int  max 
) [inline]

Initialize with ranges i and range min to max.

Definition at line 109 of file ranges-add.hpp.


Member Function Documentation

template<class I >
void Gecode::Iter::Ranges::AddRange< I >::init ( I &  i,
int  min,
int  max 
) [inline]

Initialize with ranges i and range min to max.

Reimplemented in Gecode::Iter::Ranges::SubRange< I >.

Definition at line 116 of file ranges-add.hpp.

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

Move iterator to next range (if possible).

Definition at line 94 of file ranges-add.hpp.


Member Data Documentation

template<class I >
I Gecode::Iter::Ranges::AddRange< I >::i [protected]

Iterator to which the range is to be added.

Definition at line 45 of file ranges-add.hpp.

template<class I >
int Gecode::Iter::Ranges::AddRange< I >::r_min [protected]

Minimum of range to be added.

Definition at line 47 of file ranges-add.hpp.

template<class I >
int Gecode::Iter::Ranges::AddRange< I >::r_max [protected]

Maximum of range to be added.

Definition at line 49 of file ranges-add.hpp.


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