Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::Sequence< F > Class Template Reference

#include <sequence.hh>

Inheritance diagram for concepts::Sequence< F >:
concepts::BaseSequence< F > concepts::OutputOperator

Public Member Functions

 Sequence (const int N)
 
template<class G >
 Sequence (const G &seq)
 
 operator Sequence< F > () const
 Type conversion.
 
 operator std::set< F > () const
 
template<class G , class H >
Sequence< G > operator() (G(H::*fun)() const) const
 
template<class G , class H >
Sequence< G * > operator() (G &(H::*fun)() const) const
 
template<class G , class H , class I , class J >
Sequence< G > operator() (G(H::*fun)(I) const, J i) const
 
Sequence< F > operator() (const BaseSequence< bool > &seq) const
 Returns subsequence which indices are true in seq.
 
std::vector< booloperator|| (const Sequence< F > &set) const
 
std::vector< booloperator&& (const Sequence< F > &set) const
 
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< booloperator== (const F val) const
 Returns true for the elements with are equal to val.
 
bool exist (F val) const
 Returns true, if a value is in the seq.
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

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.

Author
Kersten Schmidt, 2005
Examples
exactDtN.cc.

Definition at line 39 of file sequence.hh.

Constructor & Destructor Documentation

◆ Sequence() [1/3]

template<class F >
concepts::Sequence< F >::Sequence ( )
inline

Definition at line 41 of file sequence.hh.

◆ Sequence() [2/3]

template<class F >
concepts::Sequence< F >::Sequence ( const int  N)
inline

Definition at line 42 of file sequence.hh.

◆ Sequence() [3/3]

template<class F >
template<class G >
concepts::Sequence< F >::Sequence ( const G &  seq)
inline

Definition at line 44 of file sequence.hh.

◆ ~Sequence()

template<class F >
virtual concepts::Sequence< F >::~Sequence ( )
inlinevirtual

Definition at line 45 of file sequence.hh.

Member Function Documentation

◆ exist()

template<class F >
bool concepts::BaseSequence< F >::exist ( val) const
inlineinherited

Returns true, if a value is in the seq.

Definition at line 324 of file sequence.hh.

◆ info()

template<class F >
std::ostream & concepts::BaseSequence< F >::info ( std::ostream &  os) const
protectedvirtualinherited

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 335 of file sequence.hh.

◆ operator Sequence< F >()

template<class F >
concepts::BaseSequence< F >::operator Sequence< F > ( ) const
inlineinherited

Type conversion.

Definition at line 83 of file sequence.hh.

◆ operator std::set< F >()

template<class F >
concepts::BaseSequence< F >::operator std::set< F > ( ) const
inlineinherited

Definition at line 85 of file sequence.hh.

◆ operator&&()

template<class F >
std::vector< bool > concepts::BaseSequence< F >::operator&& ( const Sequence< F > &  set) const
inlineinherited

Definition at line 222 of file sequence.hh.

◆ operator()() [1/4]

template<class F >
Sequence< F > concepts::BaseSequence< F >::operator() ( const BaseSequence< bool > &  seq) const
inlineinherited

Returns subsequence which indices are true in seq.

Definition at line 306 of file sequence.hh.

◆ operator()() [2/4]

template<class F >
template<class G , class H >
Sequence< G * > concepts::BaseSequence< F >::operator() ( G &(H::*)() const  fun) const
inlineinherited

Returns element wise application of a member function, e.g. concepts::Connector1::key()

Definition at line 185 of file sequence.hh.

◆ operator()() [3/4]

template<class F >
template<class G , class H >
Sequence< G > concepts::BaseSequence< F >::operator() ( G(H::*)() const  fun) const
inlineinherited

Returns element wise application of a member function, e.g. concepts::Key::key()

Definition at line 173 of file sequence.hh.

◆ operator()() [4/4]

template<class F >
template<class G , class H , class I , class J >
Sequence< G > concepts::BaseSequence< F >::operator() ( G(H::*)(I) const  fun,
i 
) const
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+()

template<class F >
Sequence< F > concepts::BaseSequence< F >::operator+ ( const Sequence< F > &  seq) const
inlineinherited

Definition at line 257 of file sequence.hh.

◆ operator-() [1/2]

template<class F >
Sequence< F > concepts::BaseSequence< F >::operator- ( const F &  val) const
inlineinherited

Definition at line 247 of file sequence.hh.

◆ operator-() [2/2]

template<class F >
Sequence< F > concepts::BaseSequence< F >::operator- ( const Sequence< F > &  seq) const
inlineinherited

Definition at line 236 of file sequence.hh.

◆ operator==()

template<class F >
std::vector< bool > concepts::BaseSequence< F >::operator== ( const F  val) const
inlineinherited

Returns true for the elements with are equal to val.

Definition at line 268 of file sequence.hh.

◆ operator||()

template<class F >
std::vector< bool > concepts::BaseSequence< F >::operator|| ( const Sequence< F > &  set) const
inlineinherited

Definition at line 208 of file sequence.hh.


The documentation for this class was generated from the following file: