TreeFrogFramework: TSqlQueryORMapperIterator< T > Class Template Reference
#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 |
template<class T>
class TSqlQueryORMapperIterator< T >
The TSqlQueryORMapperIterator class provides a Java-style iterator for TSqlQueryORMapper.
◆ hasNext()
Returns true if there is at least one object ahead of the iterator; otherwise returns false.
◆ hasPrevious()
Returns true if there is at least one object behind the iterator; otherwise returns false.
◆ next()
Returns the next object and advances the iterator by one position.
◆ previous()
Returns the previous object and moves the iterator back by one position.
◆ toBack()
Moves the iterator to the back of the results (after the last object).
◆ toFront()
Moves the iterator to the front of the results (before the first object).
◆ value()
Returns the current object and does not move the iterator.
The documentation for this class was generated from the following files: