78 explicit RowSet(
Statement& statement,
unsigned maxRows,
bool includeCurrentRow);
83 messageLength{o.messageLength},
84 buffer{std::move(o.buffer)},
85 descriptors{std::move(o.descriptors)},
86 statusWrapper{std::move(o.statusWrapper)},
87 numericConverter{std::move(o.numericConverter)},
88 calendarConverter{std::move(o.calendarConverter)}
100 messageLength = o.messageLength;
101 buffer = std::move(o.buffer);
102 descriptors = std::move(o.descriptors);
103 statusWrapper = std::move(o.statusWrapper);
104 numericConverter = std::move(o.numericConverter);
105 calendarConverter = std::move(o.calendarConverter);
130 return messageLength;
139 assert(index < count);
147 std::span<const std::byte>
getRawRow(
unsigned index)
const
149 assert(index < count);
150 const auto* data = buffer.data() +
static_cast<std::size_t
>(index) * messageLength;
151 return {data, messageLength};
165 unsigned messageLength = 0;
166 std::vector<std::byte> buffer;
167 std::vector<Descriptor> descriptors;
168 impl::StatusWrapper statusWrapper;
169 impl::NumericConverter numericConverter;
170 impl::CalendarConverter calendarConverter;