47 void reset()
override;
53 QuantLib::ext::shared_ptr<ZeroToParCube>
cube_;
57 std::map<std::string, QuantLib::Size>::const_iterator
tradeIdx_;
61 std::map<ore::analytics::RiskFactorKey, QuantLib::Real>::iterator
itCurrent_;
void init()
Shared initialisation.
QuantLib::ext::shared_ptr< ZeroToParCube > cube_
Handle on the SensitivityCube.
std::string currency_
Currency of the sensitivities in the SensitivityCube.
std::map< std::string, QuantLib::Size >::const_iterator tradeIdx_
TradeId and index of current trade ID in the underlying cube.
Size zeroCubeIdx_
zero cube idx
std::map< ore::analytics::RiskFactorKey, QuantLib::Real >::iterator itCurrent_
Iterator to current delta.
void reset() override
Resets the stream so that SensitivityRecord objects can be streamed again.
ore::analytics::SensitivityRecord next() override
std::map< ore::analytics::RiskFactorKey, QuantLib::Real > currentDeltas_
Par deltas for current trade ID.
Base Class for streaming SensitivityRecords.
Base class for sensitivity record streamer.
Class for converting zero sensitivities to par sensitivities.