Support value iterator and recorder More...
#include <support-values.hh>
Public Member Functions | |
SupportValues (A &a, View x) | |
Initialize for view x. | |
~SupportValues (void) | |
Destructor. |
Iteration control | |
void | reset (void) |
Reset iterator. | |
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. |
Support control | |
void | support (void) |
Mark current (iterator) value as supported. | |
bool | support (int n) |
Mark n as supported if possible. | |
bool | support (long long int n) |
Mark n as supported if possible. | |
ModEvent | tell (Space &home) |
Remove all unsupported values. |
Support value iterator and recorder
Requires
Definition at line 48 of file support-values.hh.
|
inline |
Initialize for view x.
Definition at line 45 of file support-values.hpp.
|
inline |
Destructor.
Definition at line 65 of file support-values.hpp.
|
inline |
Reset iterator.
Definition at line 38 of file support-values.hpp.
|
inline |
Test whether iterator is still at a value or done.
Definition at line 82 of file support-values.hpp.
|
inline |
Move iterator to next value (if possible)
Definition at line 72 of file support-values.hpp.
|
inline |
Return current value.
Definition at line 88 of file support-values.hpp.
|
inline |
Mark current (iterator) value as supported.
Definition at line 94 of file support-values.hpp.
|
inline |
Mark n as supported if possible.
Definition at line 123 of file support-values.hpp.
|
inline |
Mark n as supported if possible.
Definition at line 131 of file support-values.hpp.
|
inline |
Remove all unsupported values.
Definition at line 175 of file support-values.hpp.