Value iterator for integer variables. More...
#include <int.hh>
Constructors and initialization | |
IntVarValues (void) | |
Default constructor. More... | |
IntVarValues (const IntVar &x) | |
Initialize with values for x. More... | |
void | init (const IntVar &x) |
Initialize with values x. More... | |
Additional Inherited Members | |
![]() | |
ToValues (void) | |
Default constructor. More... | |
ToValues (IntVarRanges &i) | |
Initialize with values from range iterator i. More... | |
void | init (IntVarRanges &i) |
Initialize with values from range iterator i. More... | |
bool | operator() (void) const |
Test whether iterator is still at a value or done. More... | |
void | operator++ (void) |
Move iterator to next value (if possible) More... | |
int | val (void) const |
Return current value. More... | |
![]() | |
void | start (void) |
Initialize iterator. More... | |
![]() | |
IntVarRanges | i |
Range iterator used. More... | |
int | cur |
Current value. More... | |
int | max |
End of current range. More... | |
|
inline |
|
inline |
|
inline |