|
TreeFrogFramework 2.10
|
#include <tsqlqueryormapperiterator.h>
Public Member Functions | |
| TSqlQueryORMapperIterator (TSqlQueryORMapper< T > &mapper) | |
| bool | hasNext () const |
| bool | hasPrevious () const |
| T | next () |
| T | previous () |
| void | toBack () |
| void | toFront () |
| T | value () const |
The TSqlQueryORMapperIterator class provides a Java-style iterator for TSqlQueryORMapper.
|
inline |
Constructs a TSqlQueryORMapperIterator object using the mapper mapper.
|
inline |
Returns true if there is at least one object ahead of the iterator; otherwise returns false.
|
inline |
Returns true if there is at least one object behind the iterator; otherwise returns false.
|
inline |
Returns the next object and advances the iterator by one position.
|
inline |
Returns the previous object and moves the iterator back by one position.
|
inline |
Moves the iterator to the back of the results (after the last object).
|
inline |
Moves the iterator to the front of the results (before the first object).
|
inline |
Returns the current object and does not move the iterator.