spaceSet.hh
Set< IndexRange > & operator|=(const Set< IndexRange > &set)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void insert(const IndexRange &i)
Inserts a index range with possible merging, e.g.
Set with operations, output operator, and method of the particular element types.
Definition: traces.hh:18
index_iterator index_begin(uint i=0) const
Returns an iterator to the i th index.
std::insert_iterator< std::set< IndexRange > > insert_iterator_
Definition: set.hh:115
Definition: spaceSet.hh:17
void erase(const IndexRange &i)
Erases a index range with splitting, e.g.
bool operator!=(const index_iterator i)
Definition: spaceSet.hh:63
virtual void union_(const_iterator_ first, const_iterator_ last, insert_iterator_ i) const
Insert the set union of this set with that between iterator first and second into i.
Set< IndexRange >::const_iterator last_
Definition: spaceSet.hh:69
virtual void intersection_(const_iterator_ first, const_iterator_ last, insert_iterator_ i) const
Insert the set intersection of this set with that between iterator first and second into i.
bool operator==(const index_iterator i)
Comparison operator.
index_iterator operator++(int)
Post fix ++-operator.
std::set< IndexRange >::const_iterator const_iterator_
Definition: set.hh:114
index_iterator & operator++()
Pre fix ++-operator.
virtual std::ostream & info(std::ostream &os) const
const index_iterator index_end() const
Returns an iterator behind the last index.
index_iterator(const index_iterator &i)
Copy constructor.
std::pair< bool, uint > exist(uint i) const
Returns true and the position, if a index is in the set, otherwise false.
index_iterator(const_iterator first, const_iterator last)
Constructor.
virtual void difference_(const_iterator_ first, const_iterator_ last, insert_iterator_ i) const
Insert the set difference of this set with that between iterator first and second into i.