#include <set.hh>
Public Member Functions | |
BaseSet () | |
Standard Constructor. | |
BaseSet (const std::string &str) | |
BaseSet (const concepts::Array< F > &a) | |
template<class G > | |
BaseSet (const G &set) | |
Constructor, which uses the constructor of the base class std::set. | |
template<class G , class H > | |
Set< G > | operator() (G(H::*fun)() const) const |
template<class G , class H > | |
Set< G * > | operator() (G &(H::*fun)() const) const |
template<class G , class H , class I , class J > | |
Set< G > | operator() (G(H::*fun)(I) const, J i) const |
Set< F > | operator|| (const Set< F > &set) const |
Set< F > | operator|| (Set< F > &set) const |
Set< F > | operator&& (const Set< F > &set) const |
Set< F > | operator&& (Set< F > &set) const |
Set< F > | operator- (const Set< F > &set) const |
Set< F > | operator- (Set< F > &set) const |
Set< uint > | operator== (const F val) const |
Returns the indices of elements with are equal to val . | |
Set< F > | operator() (const Set< uint > &set) const |
Returns subset with indices set . | |
BaseSet< F > & | operator|= (const Set< F > &set) |
bool | exist (F val) const |
Returns true, if a value is in the set. | |
bool | isempty () const |
Returns true, if set is empty. | |
Protected Types | |
typedef std::set< F >::const_iterator | const_iterator_ |
typedef std::insert_iterator< std::set< F > > | insert_iterator_ |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
virtual void | union_ (const_iterator_ first, const_iterator_ last, insert_iterator_ i) const |
virtual void | intersection_ (const_iterator_ first, const_iterator_ last, insert_iterator_ i) const |
virtual void | difference_ (const_iterator_ first, const_iterator_ last, insert_iterator_ i) const |
|
protected |
|
protected |
|
inline |
concepts::BaseSet< F >::BaseSet | ( | const std::string & | str | ) |
concepts::BaseSet< F >::BaseSet | ( | const concepts::Array< F > & | a | ) |
|
inlinevirtual |
|
protectedvirtual |
|
inline |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::Set< IndexRange >.
|
protectedvirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns element wise application of a member function, e.g. Connector1::key()
|
inline |
Returns element wise application of a member function, e.g. Key::key()
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protectedvirtual |