#include <ored/portfolio/referencedata.hpp>
Inheritance diagram for BondReferenceDatum:
Collaboration diagram for BondReferenceDatum:Classes | |
| struct | BondData |
Public Member Functions | |
| BondReferenceDatum () | |
| BondReferenceDatum (const string &id) | |
| BondReferenceDatum (const string &id, const QuantLib::Date &validFrom) | |
| BondReferenceDatum (const string &id, const BondData &bondData) | |
| BondReferenceDatum (const string &id, const QuantLib::Date &validFrom, const BondData &bondData) | |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
| const BondData & | bondData () const |
| void | setBondData (const BondData &bondData) |
Public Member Functions inherited from ReferenceDatum | |
| ReferenceDatum () | |
| Default Constructor. More... | |
| ReferenceDatum (const std::string &type, const std::string &id) | |
| Base class constructor. More... | |
| ReferenceDatum (const std::string &type, const std::string &id, const QuantLib::Date &validFrom) | |
| Base class constructor. More... | |
| void | setType (const string &type) |
| setters More... | |
| void | setId (const string &id) |
| void | setValidFrom (const QuantLib::Date &validFrom) |
| const std::string & | type () const |
| getters More... | |
| const std::string & | id () const |
| const QuantLib::Date & | validFrom () const |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
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... | |
Static Public Attributes | |
| static constexpr const char * | TYPE = "Bond" |
Private Attributes | |
| BondData | bondData_ |
Definition at line 93 of file referencedata.hpp.
Definition at line 115 of file referencedata.hpp.
Here is the call graph for this function:| BondReferenceDatum | ( | const string & | id | ) |
Definition at line 117 of file referencedata.hpp.
| BondReferenceDatum | ( | const string & | id, |
| const QuantLib::Date & | validFrom | ||
| ) |
Definition at line 119 of file referencedata.hpp.
| BondReferenceDatum | ( | const string & | id, |
| const BondData & | bondData | ||
| ) |
Definition at line 121 of file referencedata.hpp.
| BondReferenceDatum | ( | const string & | id, |
| const QuantLib::Date & | validFrom, | ||
| const BondData & | bondData | ||
| ) |
Definition at line 123 of file referencedata.hpp.
|
overridevirtual |
Reimplemented from ReferenceDatum.
Definition at line 98 of file referencedata.cpp.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from ReferenceDatum.
Definition at line 103 of file referencedata.cpp.
Here is the call graph for this function:| const BondData & bondData | ( | ) | const |
| void setBondData | ( | const BondData & | bondData | ) |
|
staticconstexpr |
Definition at line 95 of file referencedata.hpp.
|
private |
Definition at line 133 of file referencedata.hpp.