Factory class for building simple scenario objects. More...
#include <orea/scenario/simplescenariofactory.hpp>
Public Member Functions | |
SimpleScenarioFactory (const bool useCommonSharedDataBlock=false) | |
SimpleScenarioFactory (const QuantLib::ext::shared_ptr< SimpleScenario::SharedData > &sharedData) | |
const QuantLib::ext::shared_ptr< Scenario > | buildScenario (Date asof, bool isAbsolute, const std::string &label="", Real numeraire=0.0) const override |
Build a scenario instance without filling it. 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 | |
bool | useCommonSharedDataBlock_ = false |
QuantLib::ext::shared_ptr< SimpleScenario::SharedData > | sharedData_ |
Factory class for building simple scenario objects.
Definition at line 36 of file simplescenariofactory.hpp.
|
explicit |
use shared data block only if it is guarateed that all scenarios created by this factory:
Definition at line 42 of file simplescenariofactory.hpp.
|
explicit |
Definition at line 44 of file simplescenariofactory.hpp.
|
overridevirtual |
Build a scenario instance without filling it.
Implements ScenarioFactory.
Definition at line 46 of file simplescenariofactory.hpp.
|
private |
Definition at line 57 of file simplescenariofactory.hpp.
|
mutableprivate |
Definition at line 58 of file simplescenariofactory.hpp.