Generated on Mon May 10 06:47:00 2010 for Gecode by doxygen 1.6.3

Gecode::Iter::Values::Union< I, J > Class Template Reference
[Value iterators]

Value iterator for the union of two value iterators. More...

#include <values-union.hpp>

List of all members.

Constructors and initialization



 Union (void)
 Default constructor.
 Union (I &i, J &j)
 Initialize with values from i and j.
void init (I &i, J &j)
 Initialize with values from i and j.

Iteration control



bool operator() (void) const
 Test whether iterator is still at a value or done.
void operator++ (void)
 Move iterator to next value (if possible).

Value access



int val (void) const
 Return current value.

Detailed Description

template<class I, class J>
class Gecode::Iter::Values::Union< I, J >

Value iterator for the union of two value iterators.

Definition at line 47 of file values-union.hpp.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 88 of file values-union.hpp.

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

Initialize with values from i and j.

Definition at line 121 of file values-union.hpp.


Member Function Documentation

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

Initialize with values from i and j.

Definition at line 114 of file values-union.hpp.

template<class I , class J >
bool Gecode::Iter::Values::Union< I, J >::operator() ( void   )  const [inline]

Test whether iterator is still at a value or done.

Definition at line 127 of file values-union.hpp.

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

Move iterator to next value (if possible).

Definition at line 92 of file values-union.hpp.

template<class I , class J >
int Gecode::Iter::Values::Union< I, J >::val ( void   )  const [inline]

Return current value.

Definition at line 133 of file values-union.hpp.


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