Serializable object holding schedule Dates data. More...
#include <ored/portfolio/schedule.hpp>
Public Member Functions | |
ScheduleDates () | |
Default constructor. More... | |
ScheduleDates (const string &calendar, const string &convention, const string &tenor, const vector< string > &dates, const string &endOfMonth="", const string &endOfMonthConvention="") | |
Constructor. More... | |
bool | hasData () const |
Check if key attributes are empty. More... | |
Inspectors | |
const string & | calendar () const |
const string & | convention () const |
const string & | tenor () const |
const string & | endOfMonth () const |
const string & | endOfMonthConvention () const |
const vector< string > & | dates () const |
Modifiers | |
vector< string > & | modifyDates () |
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... | |
Serialisation | |
string | calendar_ |
string | convention_ |
string | tenor_ |
string | endOfMonth_ |
string | endOfMonthConvention_ |
vector< string > | dates_ |
bool | was1T_ = false |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
Serializable object holding schedule Dates data.
Definition at line 110 of file schedule.hpp.
ScheduleDates | ( | ) |
ScheduleDates | ( | const string & | calendar, |
const string & | convention, | ||
const string & | tenor, | ||
const vector< string > & | dates, | ||
const string & | endOfMonth = "" , |
||
const string & | endOfMonthConvention = "" |
||
) |
Constructor.
Definition at line 115 of file schedule.hpp.
bool hasData | ( | ) | const |
Check if key attributes are empty.
Definition at line 121 of file schedule.hpp.
const string & calendar | ( | ) | const |
Definition at line 125 of file schedule.hpp.
const string & convention | ( | ) | const |
Definition at line 126 of file schedule.hpp.
const string & tenor | ( | ) | const |
Definition at line 127 of file schedule.hpp.
const string & endOfMonth | ( | ) | const |
Definition at line 128 of file schedule.hpp.
const string & endOfMonthConvention | ( | ) | const |
Definition at line 129 of file schedule.hpp.
const vector< string > & dates | ( | ) | const |
Definition at line 130 of file schedule.hpp.
vector< string > & modifyDates | ( | ) |
Definition at line 135 of file schedule.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 124 of file schedule.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 134 of file schedule.cpp.
|
private |
Definition at line 144 of file schedule.hpp.
|
private |
Definition at line 145 of file schedule.hpp.
|
private |
Definition at line 146 of file schedule.hpp.
|
private |
Definition at line 147 of file schedule.hpp.
|
private |
Definition at line 148 of file schedule.hpp.
|
private |
Definition at line 149 of file schedule.hpp.
|
private |
Definition at line 150 of file schedule.hpp.