27#include <ql/time/calendar.hpp>
28#include <ql/time/date.hpp>
58 const std::vector<QuantLib::Date>&
dates()
const {
return dates_; }
59 QuantLib::Natural
lag()
const {
return lag_; }
QuantLib::BusinessDayConvention convention() const
void init()
Initialisation.
QuantLib::Natural lag() const
RelativeTo relativeTo() const
void populateRelativeTo()
Populate the value of relativeTo_ member from string.
std::vector< QuantLib::Date > dates_
virtual void fromXML(XMLNode *node) override
std::string strRelativeTo_
const QuantLib::Calendar & calendar() const
virtual XMLNode * toXML(XMLDocument &doc) const override
QuantLib::Calendar calendar_
OptionPaymentData()
Default constructor.
const std::vector< QuantLib::Date > & dates() const
RelativeTo
When we have payment rules, specifies what date the payment is relative to.
QuantLib::BusinessDayConvention convention_
std::vector< std::string > strDates_
std::string strConvention_
Small XML Document wrapper class.
Base class for all serializable classes.
std::ostream & operator<<(std::ostream &out, EquityReturnType t)
Serializable Credit Default Swap.