41 virtual QuantLib::Date
date()
const = 0;
43 virtual QuantLib::ext::shared_ptr<ore::analytics::Scenario>
scenario()
const = 0;
47 const QuantLib::ext::shared_ptr<ore::analytics::ScenarioSimMarketParameters>& simParams,
49 const QuantLib::ext::shared_ptr<ore::data::TodaysMarketParameters>& marketParams){};
Base Class for reading historical scenarios.
virtual bool next()=0
Return true if there is another Scenario to read and move to it.
virtual QuantLib::Date date() const =0
Return the current scenario's date if reader is still valid and Null<Date>() otherwise.
virtual ~HistoricalScenarioReader()
Destructor.
virtual void load(const QuantLib::ext::shared_ptr< ore::analytics::ScenarioSimMarketParameters > &simParams, const QuantLib::ext::shared_ptr< ore::data::TodaysMarketParameters > &marketParams)
virtual QuantLib::ext::shared_ptr< ore::analytics::Scenario > scenario() const =0
Return the current scenario if reader is still valid and nullptr otherwise.
A class to hold Scenario parameters for scenarioSimMarket.