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

Gecode::SetVarGlbValues Class Reference
[Range and value iterators for set variables]

Iterator for the values in the greatest lower bound of a set variable. More...

#include <set.hh>

List of all members.

Constructors and initialization



 SetVarGlbValues (void)
 Default constructor.
 SetVarGlbValues (const SetVar &x)
 Initialize to iterate values of variable x.

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

Iterator for the values in the greatest lower bound of a set variable.

Definition at line 368 of file set.hh.


Constructor & Destructor Documentation

Gecode::SetVarGlbValues::SetVarGlbValues ( void   ) 

Default constructor.

Gecode::SetVarGlbValues::SetVarGlbValues ( const SetVar x  )  [inline]

Initialize to iterate values of variable x.

Definition at line 189 of file set.hpp.


Member Function Documentation

bool Gecode::SetVarGlbValues::operator() ( void   )  const [inline]

Test whether iterator is still at a value or done.

Definition at line 195 of file set.hpp.

void Gecode::SetVarGlbValues::operator++ ( void   )  [inline]

Move iterator to next value (if possible).

Definition at line 200 of file set.hpp.

int Gecode::SetVarGlbValues::val ( void   )  const [inline]

Return current value.

Definition at line 205 of file set.hpp.


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