mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
more Data housekeeping
replaced more pointers with SharedPtr
This commit is contained in:
@@ -54,7 +54,7 @@ const std::size_t RecordSet::UNKNOWN_TOTAL_ROW_COUNT = std::numeric_limits<std::
|
||||
|
||||
|
||||
RecordSet::RecordSet(const Statement& rStatement,
|
||||
RowFormatterPtr pRowFormatter):
|
||||
RowFormatter::Ptr pRowFormatter):
|
||||
Statement(rStatement),
|
||||
_currentRow(0),
|
||||
_pBegin(new RowIterator(this, 0 == rowsExtracted())),
|
||||
@@ -68,7 +68,7 @@ RecordSet::RecordSet(const Statement& rStatement,
|
||||
|
||||
RecordSet::RecordSet(Session& rSession,
|
||||
const std::string& query,
|
||||
RowFormatterPtr pRowFormatter):
|
||||
RowFormatter::Ptr pRowFormatter):
|
||||
Statement((rSession << query, now)),
|
||||
_currentRow(0),
|
||||
_pBegin(new RowIterator(this, 0 == rowsExtracted())),
|
||||
@@ -308,7 +308,7 @@ bool RecordSet::moveLast()
|
||||
}
|
||||
|
||||
|
||||
void RecordSet::setRowFormatter(RowFormatterPtr pRowFormatter)
|
||||
void RecordSet::setRowFormatter(RowFormatter::Ptr pRowFormatter)
|
||||
{
|
||||
pRowFormatter->setTotalRowCount(static_cast<int>(getTotalRowCount()));
|
||||
Statement::setRowFormatter(pRowFormatter);
|
||||
|
||||
Reference in New Issue
Block a user