concepts::SingletonScan< T > Class Template Reference
A scanner over a single element. More...
#include <scannerConnectors.hh>
Public Member Functions | |
SingletonScan * | 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... | |
SingletonScan (const SingletonScan &other) | |
SingletonScan (T &singleton) | |
Private Attributes | |
bool | eos_ |
T & | singleton_ |
Detailed Description
template<class T>
class concepts::SingletonScan< T >
A scanner over a single element.
Definition at line 352 of file scannerConnectors.hh.
Constructor & Destructor Documentation
◆ SingletonScan() [1/2]
|
inline |
Definition at line 354 of file scannerConnectors.hh.
◆ SingletonScan() [2/2]
|
inline |
Definition at line 357 of file scannerConnectors.hh.
Member Function Documentation
◆ clone()
|
inlinevirtual |
Returns a clone of the scanner.
Implements concepts::Scan< T >.
Definition at line 368 of file scannerConnectors.hh.
◆ eos()
|
inlinevirtual |
Returns true if the end of the scanned set is reached.
Implements concepts::Scan< T >.
Definition at line 360 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++()
|
inlinevirtual |
Returns the next element in the scanned set.
Implements concepts::Scan< T >.
Definition at line 362 of file scannerConnectors.hh.
Member Data Documentation
◆ eos_
|
private |
Definition at line 374 of file scannerConnectors.hh.
◆ singleton_
|
private |
Definition at line 373 of file scannerConnectors.hh.
The documentation for this class was generated from the following file:
- toolbox/scannerConnectors.hh