Bond Basket Reference Data. More...
#include <ored/portfolio/referencedata.hpp>
Public Member Functions | |
BondBasketReferenceDatum (const std::string &id) | |
BondBasketReferenceDatum (const std::string &id, const QuantLib::Date &validFrom) | |
BondBasketReferenceDatum (const std::string &id, const std::vector< BondUnderlying > &underlyingData) | |
BondBasketReferenceDatum (const std::string &id, const QuantLib::Date &validFrom, const std::vector< BondUnderlying > &underlyingData) | |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (ore::data::XMLDocument &doc) override |
const std::vector< BondUnderlying > & | underlyingData () const |
Public Member Functions inherited from ReferenceDatum | |
ReferenceDatum () | |
Default Constructor. | |
ReferenceDatum (const std::string &type, const std::string &id) | |
Base class constructor. | |
ReferenceDatum (const std::string &type, const std::string &id, const QuantLib::Date &validFrom) | |
Base class constructor. | |
void | setType (const string &type) |
setters | |
void | setId (const string &id) |
void | setValidFrom (const QuantLib::Date &validFrom) |
const std::string & | type () const |
getters | |
const std::string & | id () const |
const QuantLib::Date & | validFrom () 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. | |
Static Public Attributes | |
static constexpr const char * | TYPE = "BondBasket" |
Bond Basket Reference Data.