Class documentation of Concepts

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

#include <elementPairs.hh>

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

Public Types

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

Public Member Functions

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

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

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.


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