38 virtual void runAnalytic(
const QuantLib::ext::shared_ptr<ore::data::InMemoryLoader>& loader,
39 const std::set<std::string>& runTypes = {})
override;
45 virtual void setVarReport(
const QuantLib::ext::shared_ptr<ore::data::InMemoryLoader>& loader){};
51 const QuantLib::ext::shared_ptr<InputParameters>&
inputs,
bool simulationConfig =
false,
52 bool sensitivityConfig =
false)
58 static constexpr const char*
LABEL =
"PARAMETRIC_VAR";
64 virtual QuantLib::ext::shared_ptr<SensitivityStream>
65 sensiStream(
const QuantLib::ext::shared_ptr<ore::data::InMemoryLoader>& loader) {
66 return inputs_->sensitivityStream();
70 void setVarReport(
const QuantLib::ext::shared_ptr<ore::data::InMemoryLoader>& loader)
override;
82 static constexpr const char*
LABEL =
"HISTSIM_VAR";
89 void setVarReport(
const QuantLib::ext::shared_ptr<ore::data::InMemoryLoader>& loader)
override;
void setLabel(const string &label)
const std::string & label() const
QuantLib::ext::shared_ptr< InputParameters > inputs_
const std::unique_ptr< Impl > & impl()
const QuantLib::ext::shared_ptr< InputParameters > & inputs() const
const std::set< std::string > & analyticTypes() const
HistoricalSimulationVarAnalytic(const QuantLib::ext::shared_ptr< InputParameters > &inputs)
void setUpConfigurations() override
void setVarReport(const QuantLib::ext::shared_ptr< ore::data::InMemoryLoader > &loader) override
HistoricalSimulationVarAnalyticImpl(const QuantLib::ext::shared_ptr< InputParameters > &inputs)
static constexpr const char * LABEL
ParametricVarAnalytic(const QuantLib::ext::shared_ptr< InputParameters > &inputs)
virtual void setUpConfigurations() override
virtual QuantLib::ext::shared_ptr< SensitivityStream > sensiStream(const QuantLib::ext::shared_ptr< ore::data::InMemoryLoader > &loader)
ParametricVarAnalyticImpl(const QuantLib::ext::shared_ptr< InputParameters > &inputs)
void setVarReport(const QuantLib::ext::shared_ptr< ore::data::InMemoryLoader > &loader) override
static constexpr const char * LABEL
VarAnalytic(std::unique_ptr< Analytic::Impl > impl, const std::set< std::string > &analyticTypes, const QuantLib::ext::shared_ptr< InputParameters > &inputs, bool simulationConfig=false, bool sensitivityConfig=false)
virtual void setUpConfigurations() override
virtual void runAnalytic(const QuantLib::ext::shared_ptr< ore::data::InMemoryLoader > &loader, const std::set< std::string > &runTypes={}) override
VarAnalyticImpl(const QuantLib::ext::shared_ptr< InputParameters > &inputs, const string &label)
virtual void setVarReport(const QuantLib::ext::shared_ptr< ore::data::InMemoryLoader > &loader)
QuantLib::ext::shared_ptr< VarReport > varReport_
Base class for a var calculation.