#include <ored/portfolio/basketdata.hpp>
Inheritance diagram for BasketData:
Collaboration diagram for BasketData:Public Member Functions | |
| BasketData () | |
| Default constructor. More... | |
| BasketData (const std::vector< BasketConstituent > &constituents) | |
Constructor taking explicit set of basket constituents. More... | |
Inspectors | |
| const std::vector< BasketConstituent > & | constituents () const |
Public Member Functions inherited from XMLSerializable | |
| virtual | ~XMLSerializable () |
| virtual void | fromXML (XMLNode *node)=0 |
| virtual XMLNode * | toXML (XMLDocument &doc) const =0 |
| void | fromFile (const std::string &filename) |
| void | toFile (const std::string &filename) const |
| void | fromXMLString (const std::string &xml) |
| Parse from XML string. More... | |
| std::string | toXMLString () const |
| Parse from XML string. More... | |
Serialisation | |
| std::vector< BasketConstituent > | constituents_ |
| void | fromXML (ore::data::XMLNode *node) override |
| ore::data::XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
Serializable credit basket data
Definition at line 128 of file basketdata.hpp.
| BasketData | ( | ) |
| BasketData | ( | const std::vector< BasketConstituent > & | constituents | ) |
Constructor taking explicit set of basket constituents.
Definition at line 261 of file basketdata.cpp.
| const vector< BasketConstituent > & constituents | ( | ) | const |
|
overridevirtual |
Implements XMLSerializable.
Definition at line 265 of file basketdata.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 277 of file basketdata.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 148 of file basketdata.hpp.