Generated on Sat Feb 7 2015 02:01:45 for Gecode by doxygen 1.8.9.1
Gecode::Int::ViewValues< View > Class Template Reference

Value iterator for integer views. More...

#include <view.hpp>

Constructors and initialization

 ViewValues (void)
 Default constructor. More...
 
 ViewValues (const View &x)
 Initialize with values for x. More...
 
void init (const View &x)
 Initialize with values x. More...
 

Additional Inherited Members

- Public Member Functions inherited from Gecode::Iter::Ranges::ToValues< ViewRanges< View > >
 ToValues (void)
 Default constructor. More...
 
 ToValues (ViewRanges< View > &i)
 Initialize with values from range iterator i. More...
 
void init (ViewRanges< View > &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...
 
- Protected Member Functions inherited from Gecode::Iter::Ranges::ToValues< ViewRanges< View > >
void start (void)
 Initialize iterator. More...
 
- Protected Attributes inherited from Gecode::Iter::Ranges::ToValues< ViewRanges< View > >
ViewRanges< View > i
 Range iterator used. More...
 
int cur
 Current value. More...
 
int max
 End of current range. More...
 

Detailed Description

template<class View>
class Gecode::Int::ViewValues< View >

Value iterator for integer views.

This class provides a value iterator for all integer views.

Definition at line 94 of file view.hpp.

Constructor & Destructor Documentation

template<class View >
Gecode::Int::ViewValues< View >::ViewValues ( void  )
inline

Default constructor.

Definition at line 46 of file iter.hpp.

template<class View>
Gecode::Int::ViewValues< View >::ViewValues ( const View &  x)
inline

Initialize with values for x.

Definition at line 50 of file iter.hpp.

Member Function Documentation

template<class View>
void Gecode::Int::ViewValues< View >::init ( const View &  x)
inline

Initialize with values x.

Definition at line 57 of file iter.hpp.


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