Gecode::Iter::Values::Inter< I, J > Class Template Reference
[Value iterators]
Detailed Description
template<class I, class J>
class Gecode::Iter::Values::Inter< I, J >
Value iterator for the intersection of two value iterators.
Definition at line 47 of file values-inter.icc.
Constructors and initialization | |
Inter (void) | |
Default constructor. | |
Inter (I &i, J &j) | |
Initialize with values from i and j. | |
void | init (I &i, J &j) |
Initialize with values from i and j. | |
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. |
Constructor & Destructor Documentation
template<class I, class J>
Gecode::Iter::Values::Inter< I, J >::Inter | ( | void | ) | [inline] |
template<class I, class J>
Gecode::Iter::Values::Inter< I, J >::Inter | ( | I & | i, | |
J & | j | |||
) | [inline] |
Member Function Documentation
template<class I, class J>
void Gecode::Iter::Values::Inter< I, J >::init | ( | I & | i, | |
J & | j | |||
) | [inline] |
template<class I, class J>
bool Gecode::Iter::Values::Inter< I, J >::operator() | ( | void | ) | const [inline] |
template<class I, class J>
void Gecode::Iter::Values::Inter< I, J >::operator++ | ( | void | ) | [inline] |
template<class I, class J>
int Gecode::Iter::Values::Inter< I, J >::val | ( | void | ) | const [inline] |
The documentation for this class was generated from the following file:
- gecode/iter/values-inter.icc (Revision: 7308)