7 #include "../misc/flippinggraycodebits.h"
21 virtual size_t size()
const = 0;
27 virtual void next() = 0;
32 virtual bool hasMore()
const = 0;
37 virtual std::set<T*>
set()
const = 0;
42 virtual std::vector<T*>
vector()
const = 0;
virtual size_t size() const =0
Size of the current element.
virtual bool hasMore() const =0
Returns if there are more elements available.
virtual std::vector< T * > vector() const =0
Returns the current element as a vector.
Base class used to provide iterating over sets.
virtual void next()=0
Generates the next subset.
virtual std::set< T * > set() const =0
Returns the current element as a set.