Generated on Mon Nov 30 23:53:54 2009 for Gecode by doxygen 1.6.1

Gecode::Iter::Ranges::Virt::Iterator Class Reference
[Range iterators with virtual member functions]

Abstract base class for range iterators. More...

#include <virtual-ranges.hpp>

List of all members.

Public Member Functions

virtual ~Iterator (void)
 Virtual destructor.

Iteration control



virtual void operator++ (void)=0
 Move iterator to next range (if possible).
virtual bool operator() (void)=0
 Test whether iterator is still at a range or done.

Range access



virtual int min (void) const =0
 Return smallest value of range.
virtual int max (void) const =0
 Return largest value of range.
virtual unsigned int width (void) const =0
 Return width of range (distance between minimum and maximum).

Detailed Description

Abstract base class for range iterators.

Definition at line 45 of file virtual-ranges.hpp.


Constructor & Destructor Documentation

Gecode::Iter::Ranges::Virt::Iterator::~Iterator ( void   )  [inline, virtual]

Virtual destructor.

Definition at line 69 of file virtual-ranges.hpp.


Member Function Documentation

virtual unsigned int Gecode::Iter::Ranges::Virt::Iterator::width ( void   )  const [pure virtual]

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