Generated on Sat Feb 7 2015 02:01:59 for Gecode by doxygen 1.8.9.1
Test::Set::CountableSetValues Class Reference

Value iterator producing subsets of an IntSet. More...

#include <set.hh>

Public Member Functions

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

Detailed Description

Value iterator producing subsets of an IntSet.

Definition at line 76 of file set.hh.

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 83 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 85 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 91 of file set.hh.

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

Test if finished.

Definition at line 99 of file set.hh.

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

Move to next value.

Definition at line 103 of file set.hh.

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

Return current value.

Definition at line 110 of file set.hh.


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