Scanner working on std::vector elements. More...
#include <scannerConnectors.hh>


Public Member Functions | |
| StlVectorScan * | clone () const |
| Returns a clone of the scanner. | |
| bool | eos () const |
| Returns true if the end of the scanned set is reached. | |
| operator int () | |
| Returns true as long as the end of the scanned set is not reached yet. | |
| T & | operator* () |
| T & | operator++ () |
| pre-increment operator | |
| T & | operator++ (int) |
| post-increment operator | |
| StlVectorScan (Vector &vec) | |
| Constructor. | |
| StlVectorScan (const Vector &vec, ItType it) | |
| Constructor. | |
Private Types | |
| typedef std::vector< T * > | Vector |
Private Attributes | |
| ItType | it |
| const Vector & | vec |
Scanner working on std::vector elements.
ItType should be std::vector<T>::iterator or std::vector<T>::const_iterator.
Definition at line 279 of file scannerConnectors.hh.
typedef std::vector<T*> concepts::StlVectorScan< T, ItType >::Vector [private] |
Definition at line 280 of file scannerConnectors.hh.
| concepts::StlVectorScan< T, ItType >::StlVectorScan | ( | const Vector & | vec, |
| ItType | it | ||
| ) | [inline] |
Constructor.
| vec | the vector to reference over, needed for checking of eof |
| it | the initial iterator |
Definition at line 291 of file scannerConnectors.hh.
| concepts::StlVectorScan< T, ItType >::StlVectorScan | ( | Vector & | vec | ) | [inline] |
Constructor.
| vec | the vector to reference over, needed for checking of eof |
Definition at line 298 of file scannerConnectors.hh.
| StlVectorScan* concepts::StlVectorScan< T, ItType >::clone | ( | ) | const [inline, virtual] |
Returns a clone of the scanner.
Implements concepts::Scan< T >.
Definition at line 304 of file scannerConnectors.hh.

| bool concepts::StlVectorScan< T, ItType >::eos | ( | ) | const [inline, virtual] |
Returns true if the end of the scanned set is reached.
Implements concepts::Scan< T >.
Definition at line 302 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::StlVectorScan< T, ItType >::operator* | ( | ) | [inline] |
Definition at line 306 of file scannerConnectors.hh.
| T& concepts::StlVectorScan< T, ItType >::operator++ | ( | ) | [inline] |
pre-increment operator
Definition at line 318 of file scannerConnectors.hh.
| T& concepts::StlVectorScan< T, ItType >::operator++ | ( | int | ) | [inline, virtual] |
post-increment operator
Implements concepts::Scan< T >.
Definition at line 311 of file scannerConnectors.hh.
ItType concepts::StlVectorScan< T, ItType >::it [private] |
Definition at line 283 of file scannerConnectors.hh.
const Vector& concepts::StlVectorScan< T, ItType >::vec [private] |
Definition at line 282 of file scannerConnectors.hh.