#include <connectorSet.hh>

Inheritance diagram for concepts::Set< Attribute >:
concepts::BaseSet< Attribute >

Public Member Functions

bool exist (Attribute val) const
 Returns true, if a value is in the set. More...
 
bool isempty () const
 Returns true, if set is empty. More...
 
Set< Attributeoperator&& (const Set< Attribute > &set) const
 
Set< Attributeoperator&& (Set< Attribute > &set) const
 
Set< Attributeoperator() (const Set< uint > &set) const
 Returns subset with indices set. More...
 
Set< G * > operator() (G &(H::*fun)() const) const
 Returns element wise application of a member function, e.g. More...
 
Set< G > operator() (G(H::*fun)() const) const
 Returns element wise application of a member function, e.g. More...
 
Set< G > operator() (G(H::*fun)(I) const, J i) const
 Returns element wise application of a member function, e.g. More...
 
Set< Attributeoperator- (const Set< Attribute > &set) const
 
Set< Attributeoperator- (Set< Attribute > &set) const
 
Set< uint > operator== (const Attribute val) const
 Returns the indices of elements with are equal to val. More...
 
BaseSet< Attribute > & operator|= (const Set< Attribute > &set)
 
Set< Attributeoperator|| (const Set< Attribute > &set) const
 
Set< Attributeoperator|| (Set< Attribute > &set) const
 
 Set ()
 Default constructor. More...
 
 Set (const Attribute &attr)
 Constructor for a single attribute. More...
 
 Set (const Set< uint > &set)
 Constructor if a set of unsigned integer is given. More...
 
 Set (const std::string &str)
 Constructor, set is defined by a string. More...
 
 Set (const uint attr)
 Constructor for a single attribute. More...
 
virtual ~Set ()
 

Protected Types

typedef std::set< Attribute >::const_iterator const_iterator_
 
typedef std::insert_iterator< std::set< Attribute > > 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

Definition at line 17 of file connectorSet.hh.

Member Typedef Documentation

◆ const_iterator_

typedef std::set<Attribute >::const_iterator concepts::BaseSet< Attribute >::const_iterator_
protectedinherited

Definition at line 114 of file set.hh.

◆ insert_iterator_

typedef std::insert_iterator<std::set<Attribute > > concepts::BaseSet< Attribute >::insert_iterator_
protectedinherited

Definition at line 115 of file set.hh.

Constructor & Destructor Documentation

◆ Set() [1/5]

concepts::Set< Attribute >::Set ( )
inline

Default constructor.

Definition at line 20 of file connectorSet.hh.

◆ Set() [2/5]

concepts::Set< Attribute >::Set ( const Set< uint > &  set)
inline

Constructor if a set of unsigned integer is given.

Definition at line 22 of file connectorSet.hh.

◆ Set() [3/5]

concepts::Set< Attribute >::Set ( const std::string &  str)
inline

Constructor, set is defined by a string.

The numbers in the string str are separated by spaces, e.g., "0 1 3 8 7".

Definition at line 31 of file connectorSet.hh.

◆ Set() [4/5]

concepts::Set< Attribute >::Set ( const Attribute attr)
inline

Constructor for a single attribute.

Definition at line 35 of file connectorSet.hh.

◆ Set() [5/5]

concepts::Set< Attribute >::Set ( const uint  attr)
inline

Constructor for a single attribute.

Definition at line 37 of file connectorSet.hh.

◆ ~Set()

virtual concepts::Set< Attribute >::~Set ( )
inlinevirtual

Definition at line 38 of file connectorSet.hh.

Member Function Documentation

◆ difference_()

void concepts::BaseSet< Attribute >::difference_ ( const_iterator_  first,
const_iterator_  last,
insert_iterator_  i 
) const
protectedvirtualinherited

Insert the set difference of this set with that between iterator first and second into i.

Definition at line 129 of file set.hh.

◆ exist()

bool concepts::BaseSet< Attribute >::exist ( Attribute  val) const
inlineinherited

Returns true, if a value is in the set.

Definition at line 108 of file set.hh.

◆ info()

std::ostream & concepts::BaseSet< Attribute >::info ( std::ostream &  os) const
protectedvirtualinherited

Definition at line 112 of file set.hh.

◆ intersection_()

void concepts::BaseSet< Attribute >::intersection_ ( const_iterator_  first,
const_iterator_  last,
insert_iterator_  i 
) const
protectedvirtualinherited

Insert the set intersection of this set with that between iterator first and second into i.

Definition at line 124 of file set.hh.

◆ isempty()

bool concepts::BaseSet< Attribute >::isempty
inlineinherited

Returns true, if set is empty.

Definition at line 110 of file set.hh.

◆ operator&&() [1/2]

Set< Attribute > concepts::BaseSet< Attribute >::operator&& ( const Set< Attribute > &  set) const
inlineinherited

Definition at line 94 of file set.hh.

◆ operator&&() [2/2]

Set< Attribute > concepts::BaseSet< Attribute >::operator&& ( Set< Attribute > &  set) const
inlineinherited

Definition at line 95 of file set.hh.

◆ operator()() [1/4]

Set< Attribute > concepts::BaseSet< Attribute >::operator() ( const Set< uint > &  set) const
inlineinherited

Returns subset with indices set.

Definition at line 102 of file set.hh.

◆ operator()() [2/4]

Set< G * > concepts::BaseSet< Attribute >::operator() ( G &(H::*)() const  fun) const
inlineinherited

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

Connector1::key()

Definition at line 83 of file set.hh.

◆ operator()() [3/4]

Set< G > concepts::BaseSet< Attribute >::operator() ( G(H::*)() const  fun) const
inlineinherited

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

Key::key()

Definition at line 78 of file set.hh.

◆ operator()() [4/4]

Set< G > concepts::BaseSet< Attribute >::operator() ( G(H::*)(I) const  fun,
i 
) const
inlineinherited

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

Connector1::vertex(uint i)

Definition at line 88 of file set.hh.

◆ operator-() [1/2]

Set< Attribute > concepts::BaseSet< Attribute >::operator- ( const Set< Attribute > &  set) const
inlineinherited

Definition at line 97 of file set.hh.

◆ operator-() [2/2]

Set< Attribute > concepts::BaseSet< Attribute >::operator- ( Set< Attribute > &  set) const
inlineinherited

Definition at line 98 of file set.hh.

◆ operator==()

Set< uint > concepts::BaseSet< Attribute >::operator== ( const Attribute  val) const
inlineinherited

Returns the indices of elements with are equal to val.

Definition at line 100 of file set.hh.

◆ operator|=()

BaseSet< Attribute > & concepts::BaseSet< Attribute >::operator|= ( const Set< Attribute > &  set)
inlineinherited

Definition at line 105 of file set.hh.

◆ operator||() [1/2]

Set< Attribute > concepts::BaseSet< Attribute >::operator|| ( const Set< Attribute > &  set) const
inlineinherited

Definition at line 91 of file set.hh.

◆ operator||() [2/2]

Set< Attribute > concepts::BaseSet< Attribute >::operator|| ( Set< Attribute > &  set) const
inlineinherited

Definition at line 92 of file set.hh.

◆ union_()

void concepts::BaseSet< Attribute >::union_ ( const_iterator_  first,
const_iterator_  last,
insert_iterator_  i 
) const
protectedvirtualinherited

Insert the set union of this set with that between iterator first and second into i.

Definition at line 119 of file set.hh.


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