Generated on Mon Nov 30 23:53:51 2009 for Gecode by doxygen 1.6.1

Gecode::Int::Element::Int< V0, V1, Idx, Val >::IterIdx Class Reference

Value iterator for indices in index-value map. More...

#include <element.hh>

List of all members.

Public Member Functions

 IterIdx (IdxVal *iv)
 Initialize with start.
bool operator() (void) const
 Test whether more pairs to be iterated.
void operator++ (void)
 Move to next index value pair (next index).
Idx val (void) const
 Return index of current index value pair.

Detailed Description

template<class V0, class V1, class Idx, class Val>
class Gecode::Int::Element::Int< V0, V1, Idx, Val >::IterIdx

Value iterator for indices in index-value map.

The iterator also removes marked index-value pairs.

Definition at line 87 of file element.hh.


Constructor & Destructor Documentation

template<class V0 , class V1 , class Idx , class Val >
Gecode::Int::Element::Int< V0, V1, Idx, Val >::IterIdx::IterIdx ( IdxVal iv  )  [inline]

Initialize with start.

Definition at line 56 of file int.hpp.


Member Function Documentation

template<class V0 , class V1 , class Idx , class Val >
bool Gecode::Int::Element::Int< V0, V1, Idx, Val >::IterIdx::operator() ( void   )  const [inline]

Test whether more pairs to be iterated.

Definition at line 66 of file int.hpp.

template<class V0 , class V1 , class Idx , class Val >
void Gecode::Int::Element::Int< V0, V1, Idx, Val >::IterIdx::operator++ ( void   )  [inline]

Move to next index value pair (next index).

Definition at line 71 of file int.hpp.

template<class V0 , class V1 , class Idx , class Val >
Idx Gecode::Int::Element::Int< V0, V1, Idx, Val >::IterIdx::val ( void   )  const [inline]

Return index of current index value pair.

Definition at line 80 of file int.hpp.


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