Generated on Thu Mar 22 10:39:59 2012 for Gecode by doxygen 1.6.3

Gecode::Iter::Values::ToRanges< I > Class Template Reference
[Value iterators]

Range iterator from value iterator. More...

#include <values-ranges.hpp>

List of all members.

Protected Attributes

i
 Value iterator used.

Constructors and initialization



 ToRanges (void)
 Default constructor.
 ToRanges (I &i)
 Initialize with value iterator i.
void init (I &i)
 Initialize with value iterator i.

Iteration control



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

Detailed Description

template<class I>
class Gecode::Iter::Values::ToRanges< I >

Range iterator from value iterator.

The iterator only requires that the value iterator iterates values in increasing order. Duplicates in the iterated value sequence are okay.

Definition at line 50 of file values-ranges.hpp.


Constructor & Destructor Documentation

template<class I >
Gecode::Iter::Values::ToRanges< I >::ToRanges ( void   )  [inline]

Default constructor.

Definition at line 74 of file values-ranges.hpp.

template<class I>
Gecode::Iter::Values::ToRanges< I >::ToRanges ( I &  i  )  [inline]

Initialize with value iterator i.

Definition at line 91 of file values-ranges.hpp.


Member Function Documentation

template<class I>
void Gecode::Iter::Values::ToRanges< I >::init ( I &  i  )  [inline]

Initialize with value iterator i.

Definition at line 98 of file values-ranges.hpp.

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

Move iterator to next range (if possible).

Definition at line 78 of file values-ranges.hpp.


Member Data Documentation

template<class I>
I Gecode::Iter::Values::ToRanges< I >::i [protected]

Value iterator used.

Definition at line 53 of file values-ranges.hpp.


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