#include <ored/portfolio/basketdata.hpp>
Public Member Functions | |
BasketData () | |
Default constructor. | |
BasketData (const std::vector< BasketConstituent > &constituents) | |
Constructor taking explicit set of basket constituents. | |
Inspectors | |
const std::vector< BasketConstituent > & | constituents () 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 (ore::data::XMLNode *node) override |
ore::data::XMLNode * | toXML (ore::data::XMLDocument &doc) override |
Serializable credit basket data