concepts::ElementPairList< F > Class Template Reference

Holds a list of ElementPair and allows to scan over this list. More...

#include <elementPairs.hh>

Inheritance diagram for concepts::ElementPairList< F >:
vectorial::ElementPairListIdentic< F >

Public Types

typedef concepts::Scan< ElementPair< F > > Scanner
 

Public Member Functions

void add (ElementPair< F > *elmPair)
 Adds the new ElementPair to the beginning of the list. More...
 
 ElementPairList (concepts::Joiner< ElementPair< F > *, 1 > *elmPairs=0, bool remove=true)
 Constructor. More...
 
Scannerscan () const
 Returns a scanner over the list of ElementPairs. More...
 
 ~ElementPairList ()
 

Private Attributes

concepts::Joiner< ElementPair< F > *, 1 > * elmPairs_
 List of ElementPairs. More...
 
const bool remove_
 

Detailed Description

template<typename F>
class concepts::ElementPairList< F >

Holds a list of ElementPair and allows to scan over this list.

Author
Philipp Frauenfelder, 2002

Definition at line 41 of file elementPairs.hh.

Member Typedef Documentation

◆ Scanner

template<typename F >
typedef concepts::Scan<ElementPair<F> > concepts::ElementPairList< F >::Scanner

Definition at line 43 of file elementPairs.hh.

Constructor & Destructor Documentation

◆ ElementPairList()

template<typename F >
concepts::ElementPairList< F >::ElementPairList ( concepts::Joiner< ElementPair< F > *, 1 > *  elmPairs = 0,
bool  remove = true 
)
inline

Constructor.

Usually, the list is removed by this class. If remove is set to false, this is not the case. Beware: this option holds also for pairs which are added later to elmPairs_ using add.

Parameters
elmPairsList of element pairs
removeShould elmPairs_ be removed at the end?

Definition at line 52 of file elementPairs.hh.

◆ ~ElementPairList()

template<typename F >
concepts::ElementPairList< F >::~ElementPairList ( )
inline

Definition at line 56 of file elementPairs.hh.

Member Function Documentation

◆ add()

template<typename F >
void concepts::ElementPairList< F >::add ( ElementPair< F > *  elmPair)
inline

Adds the new ElementPair to the beginning of the list.

This class takes care of removing elmPair at the end.

Definition at line 63 of file elementPairs.hh.

◆ scan()

template<typename F >
Scanner* concepts::ElementPairList< F >::scan ( ) const
inline

Returns a scanner over the list of ElementPairs.

Definition at line 68 of file elementPairs.hh.

Member Data Documentation

◆ elmPairs_

template<typename F >
concepts::Joiner<ElementPair<F>*, 1>* concepts::ElementPairList< F >::elmPairs_
private

List of ElementPairs.

Definition at line 72 of file elementPairs.hh.

◆ remove_

template<typename F >
const bool concepts::ElementPairList< F >::remove_
private

Definition at line 74 of file elementPairs.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