Generated on Mon Aug 25 11:35:55 2008 for Gecode by doxygen 1.5.6

Test::Set::CountableSetValues Class Reference
[General set test support]

#include <set.hh>

List of all members.


Detailed Description

Value iterator producing subsets of an IntSet.

Definition at line 64 of file set.hh.


Public Member Functions

 CountableSetValues (void)
 Default constructor.
 CountableSetValues (const Gecode::IntSet &d0, int cur0)
 Initialize with set d0 and bit-pattern cur0.
void init (const Gecode::IntSet &d0, int cur0)
 Initialize with set d0 and bit-pattern cur0.
bool operator() (void) const
 Test if finished.
void operator++ (void)
 Move to next value.
int val (void) const
 Return current value.

Constructor & Destructor Documentation

Test::Set::CountableSetValues::CountableSetValues ( void   )  [inline]

Default constructor.

Definition at line 71 of file set.hh.

Test::Set::CountableSetValues::CountableSetValues ( const Gecode::IntSet d0,
int  cur0 
) [inline]

Initialize with set d0 and bit-pattern cur0.

Definition at line 73 of file set.hh.


Member Function Documentation

void Test::Set::CountableSetValues::init ( const Gecode::IntSet d0,
int  cur0 
) [inline]

Initialize with set d0 and bit-pattern cur0.

Definition at line 79 of file set.hh.

bool Test::Set::CountableSetValues::operator() ( void   )  const [inline]

Test if finished.

Definition at line 87 of file set.hh.

void Test::Set::CountableSetValues::operator++ ( void   )  [inline]

Move to next value.

Definition at line 91 of file set.hh.

int Test::Set::CountableSetValues::val ( void   )  const [inline]

Return current value.

Definition at line 98 of file set.hh.


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