Gecode::Reflection::VarMapIter Class Reference
[Reflection API]
Detailed Description
Iterating a variable map.The variable map is filled dynamically while iterating over the actors of a space. The iterator will signal that it is done when all currently known variables have been iterated, but it will later become available again once new variables are encountered.
Definition at line 160 of file var-map.icc.
Public Member Functions | |
VarMapIter (VarMap &m) | |
Construct iterator for variable map m. | |
bool | operator() (void) const |
Test whether iterator still has variables or is done. | |
VarSpec & | spec (void) const |
Return variable specification for current iterator position. | |
VarImpBase * | varImpBase (void) const |
Return variable implementation for current iterator position. | |
Var | var (void) const |
Return variable for current iterator position. | |
void | operator++ (void) |
Move iterator to next variable. |
Constructor & Destructor Documentation
Gecode::Reflection::VarMapIter::VarMapIter | ( | VarMap & | m | ) |
Member Function Documentation
bool Gecode::Reflection::VarMapIter::operator() | ( | void | ) | const |
VarSpec & Gecode::Reflection::VarMapIter::spec | ( | void | ) | const |
Return variable specification for current iterator position.
Definition at line 254 of file var-map.cc.
VarImpBase * Gecode::Reflection::VarMapIter::varImpBase | ( | void | ) | const |
Return variable implementation for current iterator position.
Definition at line 257 of file var-map.cc.
Var Gecode::Reflection::VarMapIter::var | ( | void | ) | const |
void Gecode::Reflection::VarMapIter::operator++ | ( | void | ) |
The documentation for this class was generated from the following files:
- gecode/kernel/var-map.icc (Revision: 7297)
- gecode/kernel/var-map.cc (Revision: 7296)