Scanner for a list of pointers. More...
#include <scannerConnectors.hh>


Public Member Functions | |
| PListScan< T > * | clone () const |
| Returns a clone of the scanner. | |
| bool | eos () const |
| Returns true if the end of the scanned set is reached. | |
| operator int () | |
| Returns true as long as the end of the scanned set is not reached yet. | |
| T & | operator++ (int) |
| Returns the next element in the scanned set. | |
| PListScan (Joiner< T *, 1 > &cnr) | |
| Constructor. | |
Private Attributes | |
| Joiner< T *, 1 > * | current_ |
| Pointer to the current element. | |
| bool | eos_ |
| Is true if the end of the list is reached. | |
| Joiner< T *, 1 > * | head_ |
| Pointer to the head of the list. | |
Scanner for a list of pointers.
Definition at line 174 of file scannerConnectors.hh.
| concepts::PListScan< T >::PListScan | ( | Joiner< T *, 1 > & | cnr | ) | [inline] |
Constructor.
| cnr | Reference to the list |
Definition at line 187 of file scannerConnectors.hh.
| PListScan<T>* concepts::PListScan< T >::clone | ( | ) | const [inline, virtual] |
Returns a clone of the scanner.
Implements concepts::Scan< T >.
Definition at line 192 of file scannerConnectors.hh.
| bool concepts::PListScan< T >::eos | ( | ) | const [inline, virtual] |
Returns true if the end of the scanned set is reached.
Implements concepts::Scan< T >.
Definition at line 190 of file scannerConnectors.hh.
| concepts::Scan< T >::operator int | ( | ) | [inline, inherited] |
Returns true as long as the end of the scanned set is not reached yet.
Definition at line 32 of file scannerConnectors.hh.
| T & concepts::PListScan< T >::operator++ | ( | int | ) | [virtual] |
Returns the next element in the scanned set.
Implements concepts::Scan< T >.
Definition at line 198 of file scannerConnectors.hh.
Joiner<T*, 1>* concepts::PListScan< T >::current_ [private] |
Pointer to the current element.
Definition at line 179 of file scannerConnectors.hh.
bool concepts::PListScan< T >::eos_ [private] |
Is true if the end of the list is reached.
Definition at line 182 of file scannerConnectors.hh.
Joiner<T*, 1>* concepts::PListScan< T >::head_ [private] |
Pointer to the head of the list.
Definition at line 176 of file scannerConnectors.hh.