Generated on Tue Sep 25 2012 20:53:30 for Gecode by doxygen 1.7.5
Gecode::Int::Element::Int::IterIdxUnmark Class Reference

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

#include <element.hh>

List of all members.

Public Member Functions

 IterIdxUnmark (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

Value iterator for indices in index-value map.

The iterator also removes marked index-value pairs.


Constructor & Destructor Documentation

Gecode::Int::Element::Int::IterIdxUnmark::IterIdxUnmark ( IdxVal iv) [inline]

Initialize with start.

Definition at line 57 of file int.hpp.


Member Function Documentation

bool Gecode::Int::Element::Int::IterIdxUnmark::operator() ( void  ) const [inline]

Test whether more pairs to be iterated.

Definition at line 67 of file int.hpp.

void Gecode::Int::Element::Int::IterIdxUnmark::operator++ ( void  ) [inline]

Move to next index value pair (next index)

Definition at line 72 of file int.hpp.

Idx Gecode::Int::Element::Int::IterIdxUnmark::val ( void  ) const [inline]

Return index of current index value pair.

Definition at line 81 of file int.hpp.


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