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

Public Member Functions

 PnlAnalyticImpl (const QuantLib::ext::shared_ptr< InputParameters > &inputs)
 
void runAnalytic (const QuantLib::ext::shared_ptr< ore::data::InMemoryLoader > &loader, const std::set< std::string > &runTypes={}) override
 
void setUpConfigurations () override
 
bool useSpreadedTermStructures () const
 
const QuantLib::Date & mporDate () const
 
std::vector< QuantLib::Date > additionalMarketDates () const override
 
const QuantLib::ext::shared_ptr< ore::analytics::Scenario > & t0Scenario () const
 
const QuantLib::ext::shared_ptr< ore::analytics::Scenario > & t1Scenario () const
 
void setT0Scenario (const QuantLib::ext::shared_ptr< ore::analytics::Scenario > &scenario)
 
void setT1Scenario (const QuantLib::ext::shared_ptr< ore::analytics::Scenario > &scenario)
 
- Public Member Functions inherited from Analytic::Impl
 Impl (const QuantLib::ext::shared_ptr< InputParameters > &inputs)
 
virtual QuantLib::ext::shared_ptr< ore::data::EngineFactoryengineFactory ()
 build an engine factory
 
void setLabel (const string &label)
 
const std::string & label () const
 
void setAnalytic (Analytic *analytic)
 
Analyticanalytic () const
 
void setInputs (const QuantLib::ext::shared_ptr< InputParameters > &inputs)
 
bool generateAdditionalResults () const
 
void setGenerateAdditionalResults (const bool generateAdditionalResults)
 
bool hasDependentAnalytic (const std::string &key)
 
template<class T >
QuantLib::ext::shared_ptr< T > dependentAnalytic (const std::string &key) const
 
QuantLib::ext::shared_ptr< AnalyticdependentAnalytic (const std::string &key) const
 
const std::map< std::string, QuantLib::ext::shared_ptr< Analytic > > & dependentAnalytics () const
 
void addDependentAnalytic (const std::string &key, const QuantLib::ext::shared_ptr< Analytic > &analytic)
 
std::vector< QuantLib::ext::shared_ptr< Analytic > > allDependentAnalytics () const
 

Static Public Attributes

static constexpr const char * LABEL = "PNL"
 
static constexpr const char * mporLookupKey = "MPOR"
 

Additional Inherited Members

- Protected Attributes inherited from Analytic::Impl
QuantLib::ext::shared_ptr< InputParametersinputs_
 
std::string label_
 label for logging purposes primarily
 
std::map< std::string, QuantLib::ext::shared_ptr< Analytic > > dependentAnalytics_