concepts::Sequence< F > Class Template Reference
Sequence with operations, output operator, and method of the particular element types. More...
#include <sequence.hh>
Public Member Functions | |
bool | exist (F val) const |
Returns true, if a value is in the seq. More... | |
operator Sequence< F > () const | |
Type conversion. More... | |
operator std::set< F > () const | |
std::vector< bool > | operator&& (const Sequence< F > &set) const |
Sequence< F > | operator() (const BaseSequence< bool > &seq) const |
Returns subsequence which indices are true in seq . More... | |
template<class G , class H > | |
Sequence< G * > | operator() (G &(H::*fun)() const) const |
Returns element wise application of a member function, e.g. More... | |
template<class G , class H > | |
Sequence< 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 > | |
Sequence< G > | operator() (G(H::*fun)(I) const, J i) const |
Returns element wise application of a member function, e.g. More... | |
Sequence< F > | operator+ (const Sequence< F > &seq) const |
Sequence< F > | operator- (const F &val) const |
Sequence< F > | operator- (const Sequence< F > &seq) const |
std::vector< bool > | operator== (const F val) const |
Returns true for the elements with are equal to val . More... | |
std::vector< bool > | operator|| (const Sequence< F > &set) const |
Sequence () | |
template<class G > | |
Sequence (const G &seq) | |
Sequence (const int N) | |
virtual | ~Sequence () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Detailed Description
template<class F>
class concepts::Sequence< F >
Sequence with operations, output operator, and method of the particular element types.
Need of specialisation for different types.
- Examples
- exactDtN.cc.
Definition at line 39 of file sequence.hh.
Constructor & Destructor Documentation
◆ Sequence() [1/3]
|
inline |
Definition at line 41 of file sequence.hh.
◆ Sequence() [2/3]
|
inline |
Definition at line 42 of file sequence.hh.
◆ Sequence() [3/3]
Definition at line 44 of file sequence.hh.
◆ ~Sequence()
|
inlinevirtual |
Definition at line 45 of file sequence.hh.
Member Function Documentation
◆ exist()
|
inlineinherited |
Returns true, if a value is in the seq.
Definition at line 324 of file sequence.hh.
◆ info()
|
protectedvirtualinherited |
Definition at line 335 of file sequence.hh.
◆ operator Sequence< F >()
|
inlineinherited |
Type conversion.
Definition at line 83 of file sequence.hh.
◆ operator std::set< F >()
|
inlineinherited |
Definition at line 85 of file sequence.hh.
◆ operator&&()
|
inlineinherited |
Definition at line 222 of file sequence.hh.
◆ operator()() [1/4]
|
inlineinherited |
Returns subsequence which indices are true in seq
.
Definition at line 306 of file sequence.hh.
◆ operator()() [2/4]
|
inlineinherited |
Returns element wise application of a member function, e.g.
Definition at line 185 of file sequence.hh.
◆ operator()() [3/4]
|
inlineinherited |
Returns element wise application of a member function, e.g.
Definition at line 173 of file sequence.hh.
◆ operator()() [4/4]
|
inlineinherited |
Returns element wise application of a member function, e.g.
concepts::Connector1::vertex(uint i)
Definition at line 197 of file sequence.hh.
◆ operator+()
|
inlineinherited |
Definition at line 257 of file sequence.hh.
◆ operator-() [1/2]
|
inlineinherited |
Definition at line 247 of file sequence.hh.
◆ operator-() [2/2]
|
inlineinherited |
Definition at line 236 of file sequence.hh.
◆ operator==()
|
inlineinherited |
Returns true for the elements with are equal to val
.
Definition at line 268 of file sequence.hh.
◆ operator||()
|
inlineinherited |
Definition at line 208 of file sequence.hh.
The documentation for this class was generated from the following file:
- toolbox/sequence.hh