RowIterator positioning

This commit is contained in:
Aleksandar Fabijanic
2008-08-25 12:42:31 +00:00
parent 5bd23e62b3
commit c94cd468de
4 changed files with 12 additions and 9 deletions

View File

@@ -424,7 +424,7 @@ private:
/// Sets the filter for the RecordSet.
RowFilter* getFilter();
const RowFilter* getFilter() const;
/// Returns the filter associated with the RecordSet.
std::size_t _currentRow;
@@ -571,11 +571,12 @@ inline std::ostream& RecordSet::copyNames(std::ostream& os) const
}
inline RowFilter* RecordSet::getFilter()
inline const RowFilter* RecordSet::getFilter() const
{
return _pFilter;
}
/* TODO
namespace Keywords {

View File

@@ -66,8 +66,10 @@ public:
static const int POSITION_END;
/// End position indicator.
RowIterator(RecordSet* pRecordSet, bool positionEnd = false);
/// Creates the RowIterator and positions it at the beginning.
RowIterator(RecordSet* pRecordSet, bool positionEnd);
/// Creates the RowIterator and positions it at the end of
/// the recordset if positionEnd is true. Otherwise, it is
/// positioned at the beginning.
RowIterator(const RowIterator& other);
/// Creates a copy of other RowIterator.