Logo
Reference manual - version ored_version
Public Member Functions | List of all members
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="")
 Constructor.
 
bool hasData () const
 Check if key attributes are empty.
 
Inspectors
const string & calendar () const
 
const string & convention () const
 
const string & tenor () const
 
const string & endOfMonth () const
 
const vector< string > & dates () const
 
Modifiers
vector< string > & modifyDates ()
 
- 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 XMLNodetoXML (XMLDocument &doc) override
 

Detailed Description

Serializable object holding schedule Dates data.