Logo
Reference manual - version ored_version
ScheduleDates Class Reference

Serializable object holding schedule Dates data. More...

#include <ored/portfolio/schedule.hpp>

Inheritance diagram for ScheduleDates:

Public Member Functions

 ScheduleDates ()
 Default constructor.
 ScheduleDates (const string &calendar, const string &convention, const string &tenor, const vector< string > &dates, const string &endOfMonth="", const string &endOfMonthConvention="", bool includeDuplicateDates=false)
 Constructor.
bool hasData () const
 Check if key attributes are empty.
Inspectors
const stringcalendar () const
const stringconvention () const
const stringtenor () const
const stringendOfMonth () const
const stringendOfMonthConvention () const
const vector< string > & dates () const
const bool includeDuplicateDates () const
Modifiers
vector< string > & modifyDates ()
Public Member Functions inherited from XMLSerializable
void fromFile (const std::string &filename)
void toFile (const std::string &filename) const
void fromXMLString (const std::string &xml)
 Parse from XML string.
std::string toXMLString () const
 Parse from XML string.
std::string toXMLStringUnformatted () const

Serialisation

virtual void fromXML (XMLNode *node) override
virtual XMLNode * toXML (XMLDocument &doc) const override

Detailed Description

Serializable object holding schedule Dates data.

Member Function Documentation

◆ fromXML()

virtual void fromXML ( XMLNode * node)
overridevirtual

Implements XMLSerializable.

◆ toXML()

virtual XMLNode * toXML ( XMLDocument & doc) const
overridevirtual

Implements XMLSerializable.