concepts::BaseSet< F > Class Template Reference
Set with operations and output operator. More...
#include <set.hh>
Public Member Functions | |
BaseSet () | |
Standard Constructor. More... | |
BaseSet (const concepts::Array< F > &a) | |
Constructor, set is defined by an array. More... | |
template<class G > | |
BaseSet (const G &set) | |
Constructor, which uses the constructor of the base class std::set. More... | |
BaseSet (const std::string &str) | |
Constructor, set is defined by a string. More... | |
bool | exist (F val) const |
Returns true, if a value is in the set. More... | |
bool | isempty () const |
Returns true, if set is empty. More... | |
Set< F > | operator&& (const Set< F > &set) const |
Set< F > | operator&& (Set< F > &set) const |
Set< F > | operator() (const Set< uint > &set) const |
Returns subset with indices set . More... | |
template<class G , class H > | |
Set< G * > | operator() (G &(H::*fun)() const) const |
Returns element wise application of a member function, e.g. More... | |
template<class G , class H > | |
Set< G > | operator() (G(H::*fun)() const) const |
Returns element wise application of a member function, e.g. More... | |
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. More... | |
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 . More... | |
BaseSet< F > & | operator|= (const Set< F > &set) |
Set< F > | operator|| (const Set< F > &set) const |
Set< F > | operator|| (Set< F > &set) const |
virtual | ~BaseSet () |
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 . More... | |
virtual std::ostream & | info (std::ostream &os) const |
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 . More... | |
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 . More... | |
Detailed Description
template<class F>
class concepts::BaseSet< F >
Set with operations and output operator.
Member Typedef Documentation
◆ const_iterator_
template<class F >
|
protected |
◆ insert_iterator_
template<class F >
|
protected |
Constructor & Destructor Documentation
◆ BaseSet() [1/4]
template<class F >
|
inline |
◆ BaseSet() [2/4]
template<class F >
concepts::BaseSet< F >::BaseSet | ( | const std::string & | str | ) |
◆ BaseSet() [3/4]
template<class F >
concepts::BaseSet< F >::BaseSet | ( | const concepts::Array< F > & | a | ) |
◆ BaseSet() [4/4]
◆ ~BaseSet()
template<class F >
|
inlinevirtual |
Member Function Documentation
◆ difference_()
template<class F >
|
protectedvirtual |
Insert the set difference of this set with that between iterator first
and second
into i
.
Reimplemented in concepts::Set< IndexRange >.
◆ exist()
template<class F >
|
inline |
◆ info()
template<class F >
|
protectedvirtual |
Reimplemented in concepts::Set< IndexRange >.
◆ intersection_()
template<class F >
|
protectedvirtual |
Insert the set intersection of this set with that between iterator first
and second
into i
.
Reimplemented in concepts::Set< IndexRange >.
◆ isempty()
template<class F >
|
inline |
◆ operator&&() [1/2]
template<class F >
|
inline |
◆ operator&&() [2/2]
template<class F >
|
inline |
◆ operator()() [1/4]
template<class F >
|
inline |
◆ operator()() [2/4]
template<class F >
template<class G , class H >
|
inline |
Returns element wise application of a member function, e.g.
◆ operator()() [3/4]
template<class F >
template<class G , class H >
|
inline |
Returns element wise application of a member function, e.g.
◆ operator()() [4/4]
template<class F >
template<class G , class H , class I , class J >
|
inline |
◆ operator-() [1/2]
template<class F >
|
inline |
◆ operator-() [2/2]
template<class F >
|
inline |
◆ operator==()
template<class F >
|
inline |
◆ operator|=()
template<class F >
|
inline |
◆ operator||() [1/2]
template<class F >
|
inline |
◆ operator||() [2/2]
template<class F >
|
inline |
◆ union_()
template<class F >
|
protectedvirtual |
Insert the set union of this set with that between iterator first
and second
into i
.
Reimplemented in concepts::Set< IndexRange >.
The documentation for this class was generated from the following file:
- toolbox/set.hh