TreeFrogFramework  1.18
Public Member Functions | List of all members
TSqlORMapperIterator< T > Class Template Reference

#include <tsqlormapperiterator.h>

Public Member Functions

 TSqlORMapperIterator (const TSqlORMapper< T > &mapper)
 
bool hasNext () const
 
bool hasPrevious () const
 
next ()
 
previous ()
 
void toBack ()
 
void toFront ()
 
value () const
 

Detailed Description

template<class T>
class TSqlORMapperIterator< T >

The TSqlORMapperIterator class provides a Java-style iterator for TSqlORMapper.

Constructor & Destructor Documentation

template<class T>
TSqlORMapperIterator< T >::TSqlORMapperIterator ( const TSqlORMapper< T > &  mapper)
inline

Constructor.

Member Function Documentation

template<class T>
bool TSqlORMapperIterator< T >::hasNext ( ) const
inline

Returns true if there is at least one object ahead of the iterator; otherwise returns false.

template<class T>
bool TSqlORMapperIterator< T >::hasPrevious ( ) const
inline

Returns true if there is at least one object behind the iterator; otherwise returns false.

template<class T>
T TSqlORMapperIterator< T >::next ( )
inline

Returns the next object and advances the iterator by one position.

template<class T>
T TSqlORMapperIterator< T >::previous ( )
inline

Returns the previous object and moves the iterator back by one position.

template<class T>
void TSqlORMapperIterator< T >::toBack ( )
inline

Moves the iterator to the back of the results (after the last object).

template<class T>
void TSqlORMapperIterator< T >::toFront ( )
inline

Moves the iterator to the front of the results (before the first object).

template<class T>
T TSqlORMapperIterator< T >::value ( ) const
inline

Returns the current object and does not move the iterator.


The documentation for this class was generated from the following files: