63 bool operator!=(
const index_iterator i) {
return !(*
this == i); }
65 operator const uint*()
const;
67 virtual std::ostream&
info(std::ostream& os)
const;
79 virtual std::ostream&
info(std::ostream&
os)
const;
81 virtual void union_(const_iterator_
first, const_iterator_ last,
82 insert_iterator_ i)
const;
84 insert_iterator_ i)
const;
86 insert_iterator_ i)
const;
virtual void union_(const_iterator_ first, const_iterator_ last, insert_iterator_ i) const
virtual void difference_(const_iterator_ first, const_iterator_ last, insert_iterator_ i) const
virtual void intersection_(const_iterator_ first, const_iterator_ last, insert_iterator_ i) const
index_iterator operator++(int)
Post fix ++-operator.
bool operator==(const index_iterator i)
Comparison operator.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
index_iterator(const index_iterator &i)
Copy constructor.
index_iterator(const_iterator first, const_iterator last)
index_iterator & operator++()
Pre fix ++-operator.
uint dim() const
Returns the number of incides in the set.
uint max() const
Returns the largest index.
uint operator[](uint i) const
Returns the i th index.
std::pair< bool, uint > exist(uint i) const
void insert(const IndexRange &i)
index_iterator index_begin(uint i=0) const
Returns an iterator to the i th index.
const index_iterator index_end() const
Returns an iterator behind the last index.
void erase(const IndexRange &i)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Set< F > makeSet(uint n, const F &first,...)