Logo
Reference manual - version ored_version
Public Member Functions | List of all members
TRS::ReturnData Class Reference
+ Inheritance diagram for TRS::ReturnData:

Public Member Functions

 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)
 
bool payer () const
 
const std::string & currency () const
 
const ScheduleDatascheduleData () 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
 
XMLNodetoXML (XMLDocument &doc) override
 
- Public Member Functions inherited from XMLSerializable
void fromFile (const std::string &filename)
 
void toFile (const std::string &filename)
 
void fromXMLString (const std::string &xml)
 Parse from XML string.
 
std::string toXMLString ()
 Parse from XML string.