Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Private Attributes
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 >:
Inheritance graph
[legend]
Collaboration diagram for concepts::ElementPairList< F >:
Collaboration graph
[legend]

List of all members.

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.
 ElementPairList (concepts::Joiner< ElementPair< F > *, 1 > *elmPairs=0, bool remove=true)
 Constructor.
Scannerscan () const
 Returns a scanner over the list of ElementPairs.
 ~ElementPairList ()

Private Attributes

concepts::Joiner< ElementPair
< F > *, 1 > * 
elmPairs_
 List of ElementPairs.
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 39 of file elementPairs.hh.


Member Typedef Documentation

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

Definition at line 41 of file elementPairs.hh.


Constructor & Destructor Documentation

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 50 of file elementPairs.hh.

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

Definition at line 54 of file elementPairs.hh.


Member Function Documentation

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 61 of file elementPairs.hh.

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

Returns a scanner over the list of ElementPairs.

Definition at line 66 of file elementPairs.hh.


Member Data Documentation

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

List of ElementPairs.

Definition at line 70 of file elementPairs.hh.

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

Definition at line 72 of file elementPairs.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)