Factory class for cloning scenario objects. More...
#include <orea/scenario/deltascenariofactory.hpp>
Public Member Functions | |
DeltaScenarioFactory (const QuantLib::ext::shared_ptr< ore::analytics::Scenario > &baseScenario, const QuantLib::ext::shared_ptr< ore::analytics::ScenarioFactory > &scenarioFactory=QuantLib::ext::make_shared< ore::analytics::SimpleScenarioFactory >(false)) | |
Constructor. More... | |
const QuantLib::ext::shared_ptr< ore::analytics::Scenario > | buildScenario (QuantLib::Date asof, bool isAbsolute, const std::string &label="", QuantLib::Real numeraire=0.0) const override |
returns a new scenario, using the base scenario as a starting point More... | |
Public Member Functions inherited from ScenarioFactory | |
virtual | ~ScenarioFactory () |
Default destructor. More... | |
virtual const QuantLib::ext::shared_ptr< Scenario > | buildScenario (Date asof, bool isAbsolute, const std::string &label="", Real numeraire=0.0) const =0 |
Build a scenario instance without filling it. More... | |
Private Attributes | |
QuantLib::ext::shared_ptr< ore::analytics::Scenario > | baseScenario_ |
QuantLib::ext::shared_ptr< ore::analytics::ScenarioFactory > | scenarioFactory_ |
Factory class for cloning scenario objects.
Definition at line 37 of file deltascenariofactory.hpp.
DeltaScenarioFactory | ( | const QuantLib::ext::shared_ptr< ore::analytics::Scenario > & | baseScenario, |
const QuantLib::ext::shared_ptr< ore::analytics::ScenarioFactory > & | scenarioFactory = QuantLib::ext::make_shared<ore::analytics::SimpleScenarioFactory>(false) |
||
) |
Constructor.
Definition at line 30 of file deltascenariofactory.cpp.
|
override |
returns a new scenario, using the base scenario as a starting point
Definition at line 38 of file deltascenariofactory.cpp.
|
private |
Definition at line 49 of file deltascenariofactory.hpp.
|
private |
Definition at line 50 of file deltascenariofactory.hpp.