concepts::PListScan< T > Class Template Reference
Scanner for a list of pointers. More...
#include <scannerConnectors.hh>
Public Member Functions | |
PListScan< 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... | |
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... | |
PListScan (Joiner< T *, 1 > &cnr) | |
Constructor. 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::PListScan< T >
Scanner for a list of pointers.
Definition at line 176 of file scannerConnectors.hh.
Constructor & Destructor Documentation
◆ PListScan()
|
inline |
Constructor.
- Parameters
-
cnr Reference to the list
Definition at line 189 of file scannerConnectors.hh.
Member Function Documentation
◆ clone()
|
inlinevirtual |
Returns a clone of the scanner.
Implements concepts::Scan< T >.
Definition at line 194 of file scannerConnectors.hh.
◆ eos()
|
inlinevirtual |
Returns true if the end of the scanned set is reached.
Implements concepts::Scan< T >.
Definition at line 192 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 200 of file scannerConnectors.hh.
Member Data Documentation
◆ current_
|
private |
Pointer to the current element.
Definition at line 181 of file scannerConnectors.hh.
◆ eos_
|
private |
Is true if the end of the list is reached.
Definition at line 184 of file scannerConnectors.hh.
◆ head_
|
private |
Pointer to the head of the list.
Definition at line 178 of file scannerConnectors.hh.
The documentation for this class was generated from the following file:
- toolbox/scannerConnectors.hh