Holds a list of ElementPair and allows to scan over this list.
More...
#include <elementPairs.hh>


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. | |
| Scanner * | scan () const |
Returns a scanner over the list of ElementPairs. | |
| ~ElementPairList () | |
Private Attributes | |
| concepts::Joiner< ElementPair < F > *, 1 > * | elmPairs_ |
List of ElementPairs. | |
| const bool | remove_ |
Holds a list of ElementPair and allows to scan over this list.
Definition at line 39 of file elementPairs.hh.
| typedef concepts::Scan<ElementPair<F> > concepts::ElementPairList< F >::Scanner |
Definition at line 41 of file elementPairs.hh.
| 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.
| elmPairs | List of element pairs |
| remove | Should elmPairs_ be removed at the end? |
Definition at line 50 of file elementPairs.hh.
| concepts::ElementPairList< F >::~ElementPairList | ( | ) | [inline] |
Definition at line 54 of file elementPairs.hh.
| 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.
| Scanner* concepts::ElementPairList< F >::scan | ( | ) | const [inline] |
Returns a scanner over the list of ElementPairs.
Definition at line 66 of file elementPairs.hh.
concepts::Joiner<ElementPair<F>*, 1>* concepts::ElementPairList< F >::elmPairs_ [private] |
List of ElementPairs.
Definition at line 70 of file elementPairs.hh.
const bool concepts::ElementPairList< F >::remove_ [private] |
Definition at line 72 of file elementPairs.hh.