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


Public Member Functions | |
| ListScan< T > * | clone () const |
| Returns a clone of the scanner. | |
| bool | eos () const |
| Returns true if the end of the scanned set is reached. | |
| ListScan (Joiner< T, 1 > &cnr) | |
| Constructor. | |
| 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. | |
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.
Definition at line 214 of file scannerConnectors.hh.
| concepts::ListScan< T >::ListScan | ( | Joiner< T, 1 > & | cnr | ) | [inline] |
Constructor.
| cnr | Reference to the list |
Definition at line 227 of file scannerConnectors.hh.
| ListScan<T>* concepts::ListScan< T >::clone | ( | ) | const [inline, virtual] |
Returns a clone of the scanner.
Implements concepts::Scan< T >.
Definition at line 232 of file scannerConnectors.hh.
| bool concepts::ListScan< T >::eos | ( | ) | const [inline, virtual] |
Returns true if the end of the scanned set is reached.
Implements concepts::Scan< T >.
Definition at line 230 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::ListScan< T >::operator++ | ( | int | ) | [virtual] |
Returns the next element in the scanned set.
Implements concepts::Scan< T >.
Definition at line 238 of file scannerConnectors.hh.
Joiner<T, 1>* concepts::ListScan< T >::current_ [private] |
Pointer to the current element.
Definition at line 219 of file scannerConnectors.hh.
bool concepts::ListScan< T >::eos_ [private] |
Is true if the end of the list is reached.
Definition at line 222 of file scannerConnectors.hh.
Joiner<T, 1>* concepts::ListScan< T >::head_ [private] |
Pointer to the head of the list.
Definition at line 216 of file scannerConnectors.hh.