Generated on Thu Mar 22 10:39:59 2012 for Gecode by doxygen 1.6.3

Gecode::Iter::Values::ValueListIter Class Reference

Iterator over value lists. More...

#include <values-list.hpp>

List of all members.

Classes

class  ValueList
 Value list class. More...
class  VLIO
 Shared object for allocation. More...

Public Member Functions

 ~ValueListIter (void)
 Destructor.

Protected Member Functions

void set (ValueList *l)
 Set value lists.

Protected Attributes

VLIOvlio
 Reference to shared object.
ValueListh
 Head of value list.
ValueListc
 Current list element.

Constructors and initialization



 ValueListIter (void)
 Default constructor.
 ValueListIter (const ValueListIter &i)
 Copy constructor.
 ValueListIter (Region &r)
 Initialize.
void init (Region &r)
 Initialize.
ValueListIteroperator= (const ValueListIter &i)
 Assignment operator.

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).
void reset (void)
 Reset iterator to start.

Value access



int val (void) const
 Return value.

Detailed Description

Iterator over value lists.

Definition at line 45 of file values-list.hpp.


Constructor & Destructor Documentation

Gecode::Iter::Values::ValueListIter::ValueListIter ( void   )  [inline]

Default constructor.

Definition at line 113 of file values-list.hpp.

Gecode::Iter::Values::ValueListIter::ValueListIter ( const ValueListIter i  )  [inline]

Copy constructor.

Definition at line 128 of file values-list.hpp.

Gecode::Iter::Values::ValueListIter::ValueListIter ( Region r  )  [inline]

Initialize.

Definition at line 117 of file values-list.hpp.

Gecode::Iter::Values::ValueListIter::~ValueListIter ( void   )  [inline]

Destructor.

Definition at line 149 of file values-list.hpp.


Member Function Documentation

void Gecode::Iter::Values::ValueListIter::set ( ValueList l  )  [inline, protected]

Set value lists.

Definition at line 159 of file values-list.hpp.

void Gecode::Iter::Values::ValueListIter::init ( Region r  )  [inline]

Initialize.

Definition at line 122 of file values-list.hpp.

ValueListIter & Gecode::Iter::Values::ValueListIter::operator= ( const ValueListIter i  )  [inline]

Assignment operator.

Definition at line 134 of file values-list.hpp.

bool Gecode::Iter::Values::ValueListIter::operator() ( void   )  const [inline]

Test whether iterator is still at a value or done.

Definition at line 164 of file values-list.hpp.

void Gecode::Iter::Values::ValueListIter::operator++ ( void   )  [inline]

Move iterator to next value (if possible).

Definition at line 169 of file values-list.hpp.

void Gecode::Iter::Values::ValueListIter::reset ( void   )  [inline]

Reset iterator to start.

Definition at line 174 of file values-list.hpp.

int Gecode::Iter::Values::ValueListIter::val ( void   )  const [inline]

Return value.

Definition at line 179 of file values-list.hpp.


Member Data Documentation

Reference to shared object.

Definition at line 64 of file values-list.hpp.

Head of value list.

Definition at line 66 of file values-list.hpp.

Current list element.

Definition at line 68 of file values-list.hpp.


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