Generated on Fri Mar 20 15:57:23 2015 for Gecode by doxygen 1.6.3

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

Iterate all subsets of a given set. More...

#include <set.hh>

List of all members.

Public Member Functions

 CountableSet (const Gecode::IntSet &s)
 Initialize with set s.
 CountableSet (void)
 Default constructor.
void init (const Gecode::IntSet &s)
 Initialize with set s.
bool operator() (void) const
 Check if still subsets left.
void operator++ (void)
 Move to next subset.
int val (void) const
 Return current subset.

Detailed Description

Iterate all subsets of a given set.

Definition at line 134 of file set.hh.


Constructor & Destructor Documentation

Test::Set::CountableSet::CountableSet ( const Gecode::IntSet s  ) 

Initialize with set s.

Definition at line 48 of file set.cpp.

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

Default constructor.

Definition at line 146 of file set.hh.


Member Function Documentation

void Test::Set::CountableSet::init ( const Gecode::IntSet s  ) 

Initialize with set s.

Definition at line 59 of file set.cpp.

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

Check if still subsets left.

Definition at line 150 of file set.hh.

void Test::Set::CountableSet::operator++ ( void   ) 

Move to next subset.

Definition at line 55 of file set.cpp.

int Test::Set::CountableSet::val ( void   )  const

Return current subset.

Definition at line 68 of file set.cpp.


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