28 if (
index_ == QuantLib::Null<Size>()) {
a wrapper to buffer sensi stream records
BufferedSensitivityStream(const QuantLib::ext::shared_ptr< SensitivityStream > &stream)
QuantLib::ext::shared_ptr< SensitivityStream > stream_
void reset() override
Resets the stream so that SensitivityRecord objects can be streamed again.
SensitivityRecord next() override
Returns the next SensitivityRecord in the stream.
std::vector< SensitivityRecord > buffer_