Logo
Reference manual - version orea_version
Public Member Functions | List of all members
StaticScenarioGenerator Class Reference
+ Inheritance diagram for StaticScenarioGenerator:

Public Member Functions

void reset () override
 Reset the generator so calls to next() return the first scenario. More...
 
QuantLib::ext::shared_ptr< ore::analytics::Scenarionext (const Date &) override
 Return the next scenario for the given date.
 
void setScenario (const QuantLib::ext::shared_ptr< ore::analytics::Scenario > &s)
 
- Public Member Functions inherited from ScenarioGenerator
virtual ~ScenarioGenerator ()
 Default destructor.
 

Member Function Documentation

◆ reset()

void reset ( )
overridevirtual

Reset the generator so calls to next() return the first scenario.

This allows re-generation of scenarios if required.

Implements ScenarioGenerator.