concepts::Sequence< bool > Class Reference

#include <sequence.hh>

Inheritance diagram for concepts::Sequence< bool >:
concepts::BaseSequence< bool >

Public Member Functions

bool exist (bool val) const
 Returns true, if a value is in the seq. More...
 
 operator Sequence< bool > () const
 Type conversion. More...
 
 operator std::set< bool > () const
 
Sequence< bool > operator& (const Sequence< bool > &seq) const
 Deletes each bit, which is not set in \seq. More...
 
std::vector< bool > operator&& (const Sequence< bool > &set) const
 
Sequence< bool > operator() (const BaseSequence< bool > &seq) const
 Returns subsequence which indices are true in seq. More...
 
Sequence< G * > operator() (G &(H::*fun)() const) const
 Returns element wise application of a member function, e.g. More...
 
Sequence< G > operator() (G(H::*fun)() const) const
 Returns element wise application of a member function, e.g. More...
 
Sequence< G > operator() (G(H::*fun)(I) const, J i) const
 Returns element wise application of a member function, e.g. More...
 
Sequence< bool > operator+ (const Sequence< bool > &seq) const
 
Sequence< bool > operator- (const bool &val) const
 
Sequence< bool > operator- (const Sequence< bool > &seq) const
 
std::vector< bool > operator== (const bool val) const
 Returns true for the elements with are equal to val. More...
 
Sequence< bool > operator| (const Sequence< bool > &seq) const
 Set each bit, which is set in \seq. More...
 
std::vector< bool > operator|| (const Sequence< bool > &set) const
 
Sequence< bool > operator~ () const
 Returns copy of this sequence with negate bits. More...
 
 Sequence ()
 Standard Constructor. More...
 
template<class F >
 Sequence (const F &seq)
 Constructor, which uses the constructor of the base class BaseSequence. More...
 
virtual ~Sequence ()
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Detailed Description

Definition at line 348 of file sequence.hh.

Constructor & Destructor Documentation

◆ Sequence() [1/2]

concepts::Sequence< bool >::Sequence ( )
inline

Standard Constructor.

Definition at line 351 of file sequence.hh.

◆ Sequence() [2/2]

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

Constructor, which uses the constructor of the base class BaseSequence.

Definition at line 354 of file sequence.hh.

◆ ~Sequence()

virtual concepts::Sequence< bool >::~Sequence ( )
inlinevirtual

Definition at line 355 of file sequence.hh.

Member Function Documentation

◆ exist()

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

Returns true, if a value is in the seq.

Definition at line 127 of file sequence.hh.

◆ info()

std::ostream & concepts::BaseSequence< bool >::info ( std::ostream &  os) const
protectedvirtualinherited

Definition at line 129 of file sequence.hh.

◆ operator Sequence< bool >()

concepts::BaseSequence< bool >::operator Sequence< bool >
inlineinherited

Type conversion.

Definition at line 83 of file sequence.hh.

◆ operator std::set< bool >()

concepts::BaseSequence< bool >::operator std::set< bool >
inlineinherited

Definition at line 85 of file sequence.hh.

◆ operator&()

Sequence<bool> concepts::Sequence< bool >::operator& ( const Sequence< bool > &  seq) const

Deletes each bit, which is not set in \seq.

◆ operator&&()

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

Definition at line 112 of file sequence.hh.

◆ operator()() [1/4]

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

Returns subsequence which indices are true in seq.

Definition at line 124 of file sequence.hh.

◆ operator()() [2/4]

Sequence< G * > concepts::BaseSequence< bool >::operator() ( G &(H::*)() const  fun) const
inlineinherited

Returns element wise application of a member function, e.g.

concepts::Connector1::key()

Definition at line 102 of file sequence.hh.

◆ operator()() [3/4]

Sequence< G > concepts::BaseSequence< bool >::operator() ( G(H::*)() const  fun) const
inlineinherited

Returns element wise application of a member function, e.g.

concepts::Key::key()

Definition at line 97 of file sequence.hh.

◆ operator()() [4/4]

Sequence< G > concepts::BaseSequence< bool >::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 107 of file sequence.hh.

◆ operator+()

Sequence< bool > concepts::BaseSequence< bool >::operator+ ( const Sequence< bool > &  seq) const
inlineinherited

Definition at line 116 of file sequence.hh.

◆ operator-() [1/2]

Sequence< bool > concepts::BaseSequence< bool >::operator- ( const bool &  val) const
inlineinherited

Definition at line 118 of file sequence.hh.

◆ operator-() [2/2]

Sequence< bool > concepts::BaseSequence< bool >::operator- ( const Sequence< bool > &  seq) const
inlineinherited

Definition at line 120 of file sequence.hh.

◆ operator==()

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

Returns true for the elements with are equal to val.

Definition at line 122 of file sequence.hh.

◆ operator|()

Sequence<bool> concepts::Sequence< bool >::operator| ( const Sequence< bool > &  seq) const

Set each bit, which is set in \seq.

◆ operator||()

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

Definition at line 110 of file sequence.hh.

◆ operator~()

Sequence<bool> concepts::Sequence< bool >::operator~ ( ) const

Returns copy of this sequence with negate bits.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich