Generated on for Gecode by doxygen 1.15.0
Gecode::Int::Element::PairValues< View > Class Template Reference

Value iterator for pair of iterators. More...

Constructors and initialization

 PairValues (View x, View y, int w)
 Initialize with views x and y and width w.

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 View>
class Gecode::Int::Element::PairValues< View >

Value iterator for pair of iterators.

Definition at line 45 of file pair.cpp.

Constructor & Destructor Documentation

◆ PairValues()

template<class View>
Gecode::Int::Element::PairValues< View >::PairValues ( View x,
View y,
int w )
inline

Initialize with views x and y and width w.

Definition at line 79 of file pair.cpp.

Member Function Documentation

◆ operator()()

template<class View>
bool Gecode::Int::Element::PairValues< View >::operator() ( void ) const
inline

Test whether iterator is still at a value or done.

Definition at line 91 of file pair.cpp.

◆ operator++()

template<class View>
void Gecode::Int::Element::PairValues< View >::operator++ ( void )
inline

Move iterator to next value (if possible).

Definition at line 83 of file pair.cpp.

◆ val()

template<class View>
int Gecode::Int::Element::PairValues< View >::val ( void ) const
inline

Return current value.

Definition at line 96 of file pair.cpp.


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