#include <ored/portfolio/trs.hpp>
Inheritance diagram for TRS::ReturnData:
Collaboration diagram for TRS::ReturnData:Public Member Functions | |
| ReturnData () | |
| ReturnData (const bool payer, const std::string ¤cy, const ScheduleData &scheduleData, const std::string &observationLag, const std::string &observationConvention, const std::string &observationCalendar, const std::string &paymentLag, const std::string &paymentConvention, const std::string &paymentCalendar, const std::vector< std::string > &paymentDates, const Real initialPrice, const std::string &initialPriceCurrency, const std::vector< std::string > &fxTerms, const boost::optional< bool > payUnderlyingCashFlowsImmediately) | |
| bool | payer () const |
| const std::string & | currency () const |
| const ScheduleData & | scheduleData () const |
| const std::string & | observationLag () const |
| const std::string & | observationConvention () const |
| const std::string & | observationCalendar () const |
| const std::string & | paymentLag () const |
| const std::string & | paymentConvention () const |
| const std::string & | paymentCalendar () const |
| const std::vector< std::string > & | paymentDates () const |
| Real | initialPrice () const |
| const std::string & | initialPriceCurrency () const |
| const std::vector< std::string > & | fxTerms () const |
| boost::optional< bool > | payUnderlyingCashFlowsImmediately () const |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (XMLDocument &doc) const override |
Public Member Functions inherited from XMLSerializable | |
| virtual | ~XMLSerializable () |
| virtual void | fromXML (XMLNode *node)=0 |
| virtual XMLNode * | toXML (XMLDocument &doc) const =0 |
| void | fromFile (const std::string &filename) |
| void | toFile (const std::string &filename) const |
| void | fromXMLString (const std::string &xml) |
| Parse from XML string. More... | |
| std::string | toXMLString () const |
| Parse from XML string. More... | |
Private Attributes | |
| bool | payer_ |
| std::string | currency_ |
| ScheduleData | scheduleData_ |
| std::string | observationLag_ |
| std::string | observationConvention_ |
| std::string | observationCalendar_ |
| std::string | paymentLag_ |
| std::string | paymentConvention_ |
| std::string | paymentCalendar_ |
| std::vector< std::string > | paymentDates_ |
| Real | initialPrice_ |
| std::string | initialPriceCurrency_ |
| std::vector< std::string > | fxTerms_ |
| boost::optional< bool > | payUnderlyingCashFlowsImmediately_ |
| ReturnData | ( | ) |
Definition at line 40 of file trs.hpp.
| ReturnData | ( | const bool | payer, |
| const std::string & | currency, | ||
| const ScheduleData & | scheduleData, | ||
| const std::string & | observationLag, | ||
| const std::string & | observationConvention, | ||
| const std::string & | observationCalendar, | ||
| const std::string & | paymentLag, | ||
| const std::string & | paymentConvention, | ||
| const std::string & | paymentCalendar, | ||
| const std::vector< std::string > & | paymentDates, | ||
| const Real | initialPrice, | ||
| const std::string & | initialPriceCurrency, | ||
| const std::vector< std::string > & | fxTerms, | ||
| const boost::optional< bool > | payUnderlyingCashFlowsImmediately | ||
| ) |
Definition at line 41 of file trs.hpp.
| bool payer | ( | ) | const |
| const std::string & currency | ( | ) | const |
| const ScheduleData & scheduleData | ( | ) | const |
| const std::string & observationLag | ( | ) | const |
| const std::string & observationConvention | ( | ) | const |
Definition at line 58 of file trs.hpp.
Here is the caller graph for this function:| const std::string & observationCalendar | ( | ) | const |
| const std::string & paymentLag | ( | ) | const |
| const std::string & paymentConvention | ( | ) | const |
| const std::string & paymentCalendar | ( | ) | const |
| const std::vector< std::string > & paymentDates | ( | ) | const |
| Real initialPrice | ( | ) | const |
| const std::string & initialPriceCurrency | ( | ) | const |
| const std::vector< std::string > & fxTerms | ( | ) | const |
| boost::optional< bool > payUnderlyingCashFlowsImmediately | ( | ) | const |
|
overridevirtual |
Implements XMLSerializable.
Definition at line 51 of file trs.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 75 of file trs.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |