some renaming and clean-up

This commit is contained in:
Guenter Obiltschnig
2007-05-15 18:34:37 +00:00
parent 01bcb63000
commit b9f60b8f5e
44 changed files with 500 additions and 396 deletions

View File

@@ -99,4 +99,44 @@ DynamicAny RecordSet::value(const std::string& name, std::size_t row) const
}
bool RecordSet::moveFirst()
{
if (rowCount() > 0)
{
_currentRow = 1;
return true;
}
else return false;
}
bool RecordSet::moveNext()
{
if (_currentRow >= rowCount()) return false;
++_currentRow;
return true;
}
bool RecordSet::movePrevious()
{
if (0 == _currentRow) return false;
--_currentRow;
return true;
}
bool RecordSet::moveLast()
{
if (rowCount() > 0)
{
_currentRow = rowCount();
return true;
}
else return false;
}
} } // namespace Poco::Data