#include <ored/scripting/staticanalyser.hpp>
Public Member Functions | |
StaticAnalyser (const ASTNodePtr root, const QuantLib::ext::shared_ptr< Context > context) | |
void | run (const std::string &script="") |
const std::map< std::string, std::set< QuantLib::Date > > & | indexEvalDates () const |
const std::map< std::string, std::set< QuantLib::Date > > & | indexFwdDates () const |
const std::map< std::string, std::set< QuantLib::Date > > & | payObsDates () const |
const std::map< std::string, std::set< QuantLib::Date > > & | payPayDates () const |
const std::map< std::string, std::set< QuantLib::Date > > & | discountObsDates () const |
const std::map< std::string, std::set< QuantLib::Date > > & | discountPayDates () const |
const std::set< QuantLib::Date > & | regressionDates () const |
const std::map< std::string, std::set< QuantLib::Date > > & | fwdCompAvgFixingDates () const |
const std::map< std::string, std::set< QuantLib::Date > > & | fwdCompAvgEvalDates () const |
const std::map< std::string, std::set< QuantLib::Date > > & | fwdCompAvgStartEndDates () const |
const std::map< std::string, std::set< QuantLib::Date > > & | probFixingDates () const |
Private Attributes | |
const ASTNodePtr | root_ |
const QuantLib::ext::shared_ptr< Context > | context_ |
std::map< std::string, std::set< QuantLib::Date > > | indexEvalDates_ |
std::map< std::string, std::set< QuantLib::Date > > | indexFwdDates_ |
std::map< std::string, std::set< QuantLib::Date > > | payObsDates_ |
std::map< std::string, std::set< QuantLib::Date > > | payPayDates_ |
std::map< std::string, std::set< QuantLib::Date > > | discountObsDates_ |
std::map< std::string, std::set< QuantLib::Date > > | discountPayDates_ |
std::map< std::string, std::set< QuantLib::Date > > | fwdCompAvgFixingDates_ |
std::map< std::string, std::set< QuantLib::Date > > | fwdCompAvgEvalDates_ |
std::map< std::string, std::set< QuantLib::Date > > | fwdCompAvgStartEndDates_ |
std::map< std::string, std::set< QuantLib::Date > > | probFixingDates_ |
std::set< QuantLib::Date > | regressionDates_ |
assumption: the context passed to a script engine is const and no declarations of type event or index are allowed in a script.
Definition at line 36 of file staticanalyser.hpp.
StaticAnalyser | ( | const ASTNodePtr | root, |
const QuantLib::ext::shared_ptr< Context > | context | ||
) |
Definition at line 38 of file staticanalyser.hpp.
void run | ( | const std::string & | script = "" | ) |
Definition at line 398 of file staticanalyser.cpp.
const std::map< std::string, std::set< QuantLib::Date > > & indexEvalDates | ( | ) | const |
Definition at line 44 of file staticanalyser.hpp.
const std::map< std::string, std::set< QuantLib::Date > > & indexFwdDates | ( | ) | const |
Definition at line 47 of file staticanalyser.hpp.
const std::map< std::string, std::set< QuantLib::Date > > & payObsDates | ( | ) | const |
Definition at line 50 of file staticanalyser.hpp.
const std::map< std::string, std::set< QuantLib::Date > > & payPayDates | ( | ) | const |
Definition at line 53 of file staticanalyser.hpp.
const std::map< std::string, std::set< QuantLib::Date > > & discountObsDates | ( | ) | const |
Definition at line 56 of file staticanalyser.hpp.
const std::map< std::string, std::set< QuantLib::Date > > & discountPayDates | ( | ) | const |
Definition at line 59 of file staticanalyser.hpp.
const std::set< QuantLib::Date > & regressionDates | ( | ) | const |
Definition at line 62 of file staticanalyser.hpp.
const std::map< std::string, std::set< QuantLib::Date > > & fwdCompAvgFixingDates | ( | ) | const |
Definition at line 65 of file staticanalyser.hpp.
const std::map< std::string, std::set< QuantLib::Date > > & fwdCompAvgEvalDates | ( | ) | const |
Definition at line 68 of file staticanalyser.hpp.
const std::map< std::string, std::set< QuantLib::Date > > & fwdCompAvgStartEndDates | ( | ) | const |
Definition at line 71 of file staticanalyser.hpp.
const std::map< std::string, std::set< QuantLib::Date > > & probFixingDates | ( | ) | const |
Definition at line 76 of file staticanalyser.hpp.
|
private |
Definition at line 79 of file staticanalyser.hpp.
|
private |
Definition at line 80 of file staticanalyser.hpp.
|
private |
Definition at line 82 of file staticanalyser.hpp.
|
private |
Definition at line 82 of file staticanalyser.hpp.
|
private |
Definition at line 82 of file staticanalyser.hpp.
|
private |
Definition at line 82 of file staticanalyser.hpp.
|
private |
Definition at line 83 of file staticanalyser.hpp.
|
private |
Definition at line 83 of file staticanalyser.hpp.
|
private |
Definition at line 83 of file staticanalyser.hpp.
|
private |
Definition at line 83 of file staticanalyser.hpp.
|
private |
Definition at line 83 of file staticanalyser.hpp.
|
private |
Definition at line 84 of file staticanalyser.hpp.
|
private |
Definition at line 85 of file staticanalyser.hpp.