Serializable Cashflow Leg Data. More...
#include <ored/portfolio/legdata.hpp>
Public Member Functions | |
CashflowData () | |
Default constructor. | |
CashflowData (const vector< double > &amounts, const vector< string > &dates) | |
Constructor. | |
Inspectors | |
const vector< double > & | amounts () const |
const vector< string > & | dates () const |
Public Member Functions inherited from LegAdditionalData | |
LegAdditionalData (const string &legType, const string &legNodeName) | |
LegAdditionalData (const string &legType) | |
const string & | legType () const |
const string & | legNodeName () const |
const std::set< std::string > & | indices () const |
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 | |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) override |
Additional Inherited Members | |
Protected Attributes inherited from LegAdditionalData | |
std::set< std::string > | indices_ |
Serializable Cashflow Leg Data.