concepts::StlVectorScan< T, ItType > Class Template Reference
Scanner working on std::vector elements. More...
#include <scannerConnectors.hh>
Public Member Functions | |
StlVectorScan * | 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* () |
T & | operator++ () |
pre-increment operator More... | |
T & | operator++ (int) |
post-increment operator More... | |
StlVectorScan (const Vector &vec, ItType it) | |
Constructor. More... | |
StlVectorScan (Vector &vec) | |
Constructor. More... | |
Private Types | |
typedef std::vector< T * > | Vector |
Private Attributes | |
ItType | it |
const Vector & | vec |
Detailed Description
template<class T, class ItType = typename std::vector<T*>::const_iterator>
class concepts::StlVectorScan< T, ItType >
Scanner working on std::vector elements.
ItType should be std::vector<T>::iterator or std::vector<T>::const_iterator.
Definition at line 281 of file scannerConnectors.hh.
Member Typedef Documentation
◆ Vector
|
private |
Definition at line 282 of file scannerConnectors.hh.
Constructor & Destructor Documentation
◆ StlVectorScan() [1/2]
|
inline |
Constructor.
- Parameters
-
vec the vector to reference over, needed for checking of eof it the initial iterator
Definition at line 293 of file scannerConnectors.hh.
◆ StlVectorScan() [2/2]
|
inline |
Constructor.
- Parameters
-
vec the vector to reference over, needed for checking of eof
Definition at line 300 of file scannerConnectors.hh.
Member Function Documentation
◆ clone()
|
inlinevirtual |
Returns a clone of the scanner.
Implements concepts::Scan< T >.
Definition at line 306 of file scannerConnectors.hh.
◆ eos()
|
inlinevirtual |
Returns true if the end of the scanned set is reached.
Implements concepts::Scan< T >.
Definition at line 304 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*()
|
inline |
Definition at line 308 of file scannerConnectors.hh.
◆ operator++() [1/2]
|
inline |
pre-increment operator
Definition at line 320 of file scannerConnectors.hh.
◆ operator++() [2/2]
|
inlinevirtual |
post-increment operator
Implements concepts::Scan< T >.
Definition at line 313 of file scannerConnectors.hh.
Member Data Documentation
◆ it
|
private |
Definition at line 285 of file scannerConnectors.hh.
◆ vec
|
private |
Definition at line 284 of file scannerConnectors.hh.
The documentation for this class was generated from the following file:
- toolbox/scannerConnectors.hh