Set with operations, output operator, and method of the particular element types. More...
#include <set.hh>


Public Member Functions | |
| bool | exist (F val) const |
| Returns true, if a value is in the set. | |
| bool | isempty () const |
| Returns true, if set is empty. | |
| Set< F > | operator&& (const Set< F > &set) const |
| Set< F > | operator&& (Set< F > &set) const |
| template<class G , class H > | |
| Set< G > | operator() (G(H::*fun)() const) const |
| Returns element wise application of a member function, e.g. | |
| Set< F > | operator() (const Set< uint > &set) const |
Returns subset with indices set. | |
| template<class G , class H > | |
| Set< G * > | operator() (G &(H::*fun)() const) const |
| Returns element wise application of a member function, e.g. | |
| template<class G , class H , class I , class J > | |
| Set< G > | operator() (G(H::*fun)(I) const, J i) const |
| Returns element wise application of a member function, e.g. | |
| Set< F > | operator- (Set< F > &set) const |
| Set< F > | operator- (const Set< F > &set) const |
| Set< uint > | operator== (const F val) const |
Returns the indices of elements with are equal to val. | |
| BaseSet< F > & | operator|= (const Set< F > &set) |
| Set< F > | operator|| (const Set< F > &set) const |
| Set< F > | operator|| (Set< F > &set) const |
| template<class G > | |
| Set (const G &set) | |
| Set () | |
| Set (const F &val) | |
| virtual | ~Set () |
Protected Types | |
| typedef std::set< F > ::const_iterator | const_iterator_ |
| typedef std::insert_iterator < std::set< F > > | insert_iterator_ |
Protected Member Functions | |
| 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. | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
| 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. | |
| 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 with operations, output operator, and method of the particular element types.
Need of specialisation for different types.
typedef std::set<F>::const_iterator concepts::BaseSet< F >::const_iterator_ [protected, inherited] |
typedef std::insert_iterator<std::set<F> > concepts::BaseSet< F >::insert_iterator_ [protected, inherited] |
| concepts::Set< F >::Set | ( | ) | [inline] |
| concepts::Set< F >::Set | ( | const F & | val | ) | [inline] |
| virtual concepts::Set< F >::~Set | ( | ) | [inline, virtual] |
| void concepts::BaseSet< F >::difference_ | ( | const_iterator_ | first, |
| const_iterator_ | last, | ||
| insert_iterator_ | i | ||
| ) | const [protected, virtual, inherited] |
Insert the set difference of this set with that between iterator first and second into i.
Reimplemented in concepts::Set< IndexRange >.
| bool concepts::BaseSet< F >::exist | ( | F | val | ) | const [inline, inherited] |
| std::ostream & concepts::BaseSet< F >::info | ( | std::ostream & | os | ) | const [protected, virtual, inherited] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::Set< IndexRange >.
Definition at line 288 of file set.hh.

| void concepts::BaseSet< F >::intersection_ | ( | const_iterator_ | first, |
| const_iterator_ | last, | ||
| insert_iterator_ | i | ||
| ) | const [protected, virtual, inherited] |
Insert the set intersection of this set with that between iterator first and second into i.
Reimplemented in concepts::Set< IndexRange >.
| bool concepts::BaseSet< F >::isempty | ( | ) | const [inline, inherited] |
| Set< F > concepts::BaseSet< F >::operator&& | ( | Set< F > & | set | ) | const [inline, inherited] |
| Set< F > concepts::BaseSet< F >::operator&& | ( | const Set< F > & | set | ) | const [inline, inherited] |
| Set< G > concepts::BaseSet< F >::operator() | ( | G(H::*)(I) const | fun, |
| J | i | ||
| ) | const [inline, inherited] |
| Set< G * > concepts::BaseSet< F >::operator() | ( | G &(H::*)() const | fun | ) | const [inline, inherited] |
Returns element wise application of a member function, e.g.
| Set< G > concepts::BaseSet< F >::operator() | ( | G(H::*)() const | fun | ) | const [inline, inherited] |
Returns element wise application of a member function, e.g.
| Set< F > concepts::BaseSet< F >::operator() | ( | const Set< uint > & | set | ) | const [inline, inherited] |
| Set< F > concepts::BaseSet< F >::operator- | ( | const Set< F > & | set | ) | const [inline, inherited] |
| Set< F > concepts::BaseSet< F >::operator- | ( | Set< F > & | set | ) | const [inline, inherited] |
| Set< uint > concepts::BaseSet< F >::operator== | ( | const F | val | ) | const [inline, inherited] |
| BaseSet< F > & concepts::BaseSet< F >::operator|= | ( | const Set< F > & | set | ) | [inline, inherited] |
Reimplemented in concepts::Set< IndexRange >.
| Set< F > concepts::BaseSet< F >::operator|| | ( | const Set< F > & | set | ) | const [inline, inherited] |
| Set< F > concepts::BaseSet< F >::operator|| | ( | Set< F > & | set | ) | const [inline, inherited] |
| void concepts::BaseSet< F >::union_ | ( | const_iterator_ | first, |
| const_iterator_ | last, | ||
| insert_iterator_ | i | ||
| ) | const [protected, virtual, inherited] |
Insert the set union of this set with that between iterator first and second into i.
Reimplemented in concepts::Set< IndexRange >.