#include <orea/app/analyticsmanager.hpp>
Collaboration diagram for AnalyticsManager:Public Member Functions | |
| AnalyticsManager (const QuantLib::ext::shared_ptr< InputParameters > &inputs, const QuantLib::ext::shared_ptr< MarketDataLoader > &marketDataLoader) | |
| virtual | ~AnalyticsManager () |
| bool | hasAnalytic (const std::string &type) |
| Valid analytics in the analytics manager are the union of analytics types provided by analytics_ map. More... | |
| const std::set< std::string > & | validAnalytics () |
| const std::set< std::string > & | requestedAnalytics () |
| const QuantLib::ext::shared_ptr< Analytic > & | getAnalytic (const std::string &type) const |
| Size | numberOfAnalytics () |
| const QuantLib::ext::shared_ptr< InputParameters > & | inputs () |
| std::vector< QuantLib::ext::shared_ptr< ore::data::TodaysMarketParameters > > | todaysMarketParams () |
| void | runAnalytics (const QuantLib::ext::shared_ptr< MarketCalibrationReportBase > &marketCalibrationReport=nullptr) |
| void | addAnalytic (const std::string &label, const QuantLib::ext::shared_ptr< Analytic > &analytic) |
| std::map< std::string, QuantLib::ext::shared_ptr< Analytic > > | analytics () |
| void | clear () |
| Analytic::analytic_reports const | reports () |
| Analytic::analytic_npvcubes const | npvCubes () |
| Analytic::analytic_mktcubes const | mktCubes () |
| Analytic::analytic_stresstests const | stressTests () |
| void | toFile (const Analytic::analytic_reports &reports, const std::string &outputPath, const std::map< std::string, std::string > &reportNames={}, const char sep=',', const bool commentCharacter=false, char quoteChar='\0', const string &nullString="#N/A", const std::set< std::string > &lowerHeaderReportNames={}) |
Private Attributes | |
| std::map< std::string, QuantLib::ext::shared_ptr< Analytic > > | analytics_ |
| QuantLib::ext::shared_ptr< InputParameters > | inputs_ |
| QuantLib::ext::shared_ptr< MarketDataLoader > | marketDataLoader_ |
| Analytic::analytic_reports | reports_ |
| std::set< std::string > | validAnalytics_ |
Definition at line 35 of file analyticsmanager.hpp.
| AnalyticsManager | ( | const QuantLib::ext::shared_ptr< InputParameters > & | inputs, |
| const QuantLib::ext::shared_ptr< MarketDataLoader > & | marketDataLoader | ||
| ) |
| inputs | Container for the inputs required by the standard analytics |
| marketDataLoader | A market data loader object that can retrieve required data from a large repository |
Definition at line 49 of file analyticsmanager.cpp.
Here is the call graph for this function:
|
virtual |
Definition at line 41 of file analyticsmanager.hpp.
| bool hasAnalytic | ( | const std::string & | type | ) |
Valid analytics in the analytics manager are the union of analytics types provided by analytics_ map.
Definition at line 89 of file analyticsmanager.cpp.
Here is the call graph for this function:| const std::set< std::string > & validAnalytics | ( | ) |
Definition at line 75 of file analyticsmanager.cpp.
Here is the caller graph for this function:| const std::set< std::string > & requestedAnalytics | ( | ) |
Definition at line 85 of file analyticsmanager.cpp.
| const QuantLib::ext::shared_ptr< Analytic > & getAnalytic | ( | const std::string & | type | ) | const |
Definition at line 94 of file analyticsmanager.cpp.
| Size numberOfAnalytics | ( | ) |
Definition at line 48 of file analyticsmanager.hpp.
| const QuantLib::ext::shared_ptr< InputParameters > & inputs | ( | ) |
| std::vector< QuantLib::ext::shared_ptr< ore::data::TodaysMarketParameters > > todaysMarketParams | ( | ) |
Definition at line 103 of file analyticsmanager.cpp.
Here is the caller graph for this function:| void runAnalytics | ( | const QuantLib::ext::shared_ptr< MarketCalibrationReportBase > & | marketCalibrationReport = nullptr | ) |
Definition at line 112 of file analyticsmanager.cpp.
Here is the call graph for this function:| void addAnalytic | ( | const std::string & | label, |
| const QuantLib::ext::shared_ptr< Analytic > & | analytic | ||
| ) |
Definition at line 66 of file analyticsmanager.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::map< std::string, QuantLib::ext::shared_ptr< Analytic > > analytics | ( | ) |
Definition at line 55 of file analyticsmanager.hpp.
| void clear | ( | ) |
Definition at line 60 of file analyticsmanager.cpp.
| Analytic::analytic_reports const reports | ( | ) |
Definition at line 185 of file analyticsmanager.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Analytic::analytic_npvcubes const npvCubes | ( | ) |
Definition at line 194 of file analyticsmanager.cpp.
| Analytic::analytic_mktcubes const mktCubes | ( | ) |
Definition at line 203 of file analyticsmanager.cpp.
| Analytic::analytic_stresstests const stressTests | ( | ) |
Definition at line 212 of file analyticsmanager.cpp.
| void toFile | ( | const Analytic::analytic_reports & | reports, |
| const std::string & | outputPath, | ||
| const std::map< std::string, std::string > & | reportNames = {}, |
||
| const char | sep = ',', |
||
| const bool | commentCharacter = false, |
||
| char | quoteChar = '\0', |
||
| const string & | nullString = "#N/A", |
||
| const std::set< std::string > & | lowerHeaderReportNames = {} |
||
| ) |
Definition at line 246 of file analyticsmanager.cpp.
Here is the call graph for this function:
|
private |
Definition at line 71 of file analyticsmanager.hpp.
|
private |
Definition at line 72 of file analyticsmanager.hpp.
|
private |
Definition at line 73 of file analyticsmanager.hpp.
|
private |
Definition at line 74 of file analyticsmanager.hpp.
|
private |
Definition at line 75 of file analyticsmanager.hpp.