Serializable object holding schedule Rules data. More...
#include <ored/portfolio/schedule.hpp>
Public Member Functions | |
ScheduleRules () | |
Default constructor. | |
ScheduleRules (const string &startDate, const string &endDate, const string &tenor, const string &calendar, const string &convention, const string &termConvention, const string &rule, const string &endOfMonth="N", const string &firstDate="", const string &lastDate="", const bool removeFirstDate=false, const bool removeLastDate=false) | |
const bool | hasData () const |
Check if key attributes are empty. | |
Inspectors | |
const string & | startDate () const |
const string & | endDate () const |
const string & | tenor () const |
const string & | calendar () const |
const string & | convention () const |
const string & | termConvention () const |
const string & | rule () const |
const string & | endOfMonth () const |
const string & | firstDate () const |
const string & | lastDate () const |
bool | removeFirstDate () const |
bool | removeLastDate () const |
Modifiers | |
string & | modifyStartDate () |
string & | modifyEndDate () |
string & | modifyCalendar () |
string & | modifyConvention () |
string & | modifyTermConvention () |
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. | |
Serialisation | |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) override |
Serializable object holding schedule Rules data.