concepts::ListScan< T > Class Template Reference
Scanner for a list. More...
#include <scannerConnectors.hh>
Public Member Functions | |
ListScan< T > * | clone () const |
Returns a clone of the scanner. More... | |
bool | eos () const |
Returns true if the end of the scanned set is reached. More... | |
ListScan (Joiner< T, 1 > &cnr) | |
Constructor. More... | |
operator int () | |
Returns true as long as the end of the scanned set is not reached yet. More... | |
T & | operator++ (int) |
Returns the next element in the scanned set. More... | |
Private Attributes | |
Joiner< T, 1 > * | current_ |
Pointer to the current element. More... | |
bool | eos_ |
Is true if the end of the list is reached. More... | |
Joiner< T, 1 > * | head_ |
Pointer to the head of the list. More... | |
Detailed Description
template<class T>
class concepts::ListScan< T >
Scanner for a list.
Definition at line 216 of file scannerConnectors.hh.
Constructor & Destructor Documentation
◆ ListScan()
|
inline |
Constructor.
- Parameters
-
cnr Reference to the list
Definition at line 229 of file scannerConnectors.hh.
Member Function Documentation
◆ clone()
|
inlinevirtual |
Returns a clone of the scanner.
Implements concepts::Scan< T >.
Definition at line 234 of file scannerConnectors.hh.
◆ eos()
|
inlinevirtual |
Returns true if the end of the scanned set is reached.
Implements concepts::Scan< T >.
Definition at line 232 of file scannerConnectors.hh.
◆ operator int()
|
inlineinherited |
Returns true as long as the end of the scanned set is not reached yet.
Definition at line 34 of file scannerConnectors.hh.
◆ operator++()
|
virtual |
Returns the next element in the scanned set.
Implements concepts::Scan< T >.
Definition at line 240 of file scannerConnectors.hh.
Member Data Documentation
◆ current_
|
private |
Pointer to the current element.
Definition at line 221 of file scannerConnectors.hh.
◆ eos_
|
private |
Is true if the end of the list is reached.
Definition at line 224 of file scannerConnectors.hh.
◆ head_
|
private |
Pointer to the head of the list.
Definition at line 218 of file scannerConnectors.hh.
The documentation for this class was generated from the following file:
- toolbox/scannerConnectors.hh