Serializable object holding Derived schedule data. More...
#include <ored/portfolio/schedule.hpp>
Public Member Functions | |
ScheduleDerived () | |
Default constructor. More... | |
ScheduleDerived (const string &baseSchedule, const string &calendar, const string &convention, const string &shift, const bool removeFirstDate=false, const bool removeLastDate=false) | |
Constructor. More... | |
Inspectors | |
const string & | baseSchedule () const |
const string & | calendar () const |
const string & | convention () const |
const string & | shift () const |
bool | removeFirstDate () const |
bool | removeLastDate () const |
Modifiers | |
string & | modifyCalendar () |
string & | modifyConvention () |
string & | modifyShift () |
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 | baseSchedule_ |
string | calendar_ |
string | convention_ |
string | shift_ |
bool | removeFirstDate_ = false |
bool | removeLastDate_ = false |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
Serializable object holding Derived schedule data.
Definition at line 157 of file schedule.hpp.
ScheduleDerived | ( | ) |
ScheduleDerived | ( | const string & | baseSchedule, |
const string & | calendar, | ||
const string & | convention, | ||
const string & | shift, | ||
const bool | removeFirstDate = false , |
||
const bool | removeLastDate = false |
||
) |
Constructor.
Definition at line 162 of file schedule.hpp.
const string & baseSchedule | ( | ) | const |
Definition at line 169 of file schedule.hpp.
const string & calendar | ( | ) | const |
Definition at line 170 of file schedule.hpp.
const string & convention | ( | ) | const |
Definition at line 171 of file schedule.hpp.
const string & shift | ( | ) | const |
Definition at line 172 of file schedule.hpp.
bool removeFirstDate | ( | ) | const |
Definition at line 173 of file schedule.hpp.
bool removeLastDate | ( | ) | const |
Definition at line 174 of file schedule.hpp.
string & modifyCalendar | ( | ) |
Definition at line 179 of file schedule.hpp.
string & modifyConvention | ( | ) |
Definition at line 180 of file schedule.hpp.
string & modifyShift | ( | ) |
Definition at line 181 of file schedule.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 146 of file schedule.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 156 of file schedule.cpp.
|
private |
Definition at line 190 of file schedule.hpp.
|
private |
Definition at line 191 of file schedule.hpp.
|
private |
Definition at line 192 of file schedule.hpp.
|
private |
Definition at line 193 of file schedule.hpp.
|
private |
Definition at line 194 of file schedule.hpp.
|
private |
Definition at line 195 of file schedule.hpp.