#include <ored/portfolio/basketdata.hpp>
Inheritance diagram for BasketConstituent:
Collaboration diagram for BasketConstituent:Public Member Functions | |
| BasketConstituent () | |
| Default constructor. More... | |
| BasketConstituent (const std::string &issuerName, const std::string &creditCurveId, QuantLib::Real notional, const std::string ¤cy, const std::string &qualifier, QuantLib::Real priorNotional=QuantLib::Null< QuantLib::Real >(), QuantLib::Real recovery=QuantLib::Null< QuantLib::Real >(), const QuantLib::Date &auctionDate=QuantLib::Date(), const QuantLib::Date &auctionSettlementDate=QuantLib::Date(), const QuantLib::Date &defaultDate=QuantLib::Date(), const QuantLib::Date &eventDeterminationDate=QuantLib::Date()) | |
Constructor taking an explicit creditCurveId. More... | |
| BasketConstituent (const std::string &issuerName, const std::string &creditCurveId, QuantLib::Real weight, const std::string &qualifier, QuantLib::Real priorWeight=QuantLib::Null< QuantLib::Real >(), QuantLib::Real recovery=QuantLib::Null< QuantLib::Real >(), const QuantLib::Date &auctionDate=QuantLib::Date(), const QuantLib::Date &auctionSettlementDate=QuantLib::Date(), const QuantLib::Date &defaultDate=QuantLib::Date(), const QuantLib::Date &eventDeterminationDate=QuantLib::Date()) | |
Constructor taking an explicit creditCurveId and initialized by weight. More... | |
| BasketConstituent (const std::string &issuerName, const ore::data::CdsReferenceInformation &cdsReferenceInfo, QuantLib::Real notional, const std::string ¤cy, const std::string &qualifier, QuantLib::Real priorNotional=QuantLib::Null< QuantLib::Real >(), QuantLib::Real recovery=QuantLib::Null< QuantLib::Real >(), const QuantLib::Date &auctionDate=QuantLib::Date(), const QuantLib::Date &auctionSettlementDate=QuantLib::Date(), const QuantLib::Date &defaultDate=QuantLib::Date(), const QuantLib::Date &eventDeterminationDate=QuantLib::Date()) | |
Constructor taking CDS reference information, cdsReferenceInfo. More... | |
Serialisation | |
| void | fromXML (ore::data::XMLNode *node) override |
| ore::data::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... | |
Inspectors | |
| std::string | issuerName_ |
| boost::optional< ore::data::CdsReferenceInformation > | cdsReferenceInfo_ |
| std::string | creditCurveId_ |
| QuantLib::Real | notional_ |
| std::string | currency_ |
| std::string | qualifier_ |
| QuantLib::Real | priorNotional_ |
| QuantLib::Real | weight_ |
| QuantLib::Real | priorWeight_ |
| QuantLib::Real | recovery_ |
| QuantLib::Date | auctionDate_ |
| QuantLib::Date | auctionSettlementDate_ |
| QuantLib::Date | defaultDate_ |
| QuantLib::Date | eventDeterminationDate_ |
| bool | weightInsteadOfNotional_ |
| const std::string & | issuerName () const |
| const std::string & | creditCurveId () const |
| const boost::optional< ore::data::CdsReferenceInformation > & | cdsReferenceInfo () const |
| QuantLib::Real | notional () const |
| const std::string & | currency () const |
| QuantLib::Real | priorNotional () const |
| QuantLib::Real | recovery () const |
| QuantLib::Real | weight () const |
| QuantLib::Real | priorWeight () const |
| const QuantLib::Date & | auctionDate () const |
| const QuantLib::Date & | auctionSettlementDate () const |
| const QuantLib::Date & | defaultDate () const |
| const QuantLib::Date & | eventDeterminationDate () const |
| bool | weightInsteadOfNotional () const |
Serializable credit basket data constituent
Definition at line 37 of file basketdata.hpp.
Default constructor.
Definition at line 36 of file basketdata.cpp.
| BasketConstituent | ( | const std::string & | issuerName, |
| const std::string & | creditCurveId, | ||
| QuantLib::Real | notional, | ||
| const std::string & | currency, | ||
| const std::string & | qualifier, | ||
| QuantLib::Real | priorNotional = QuantLib::Null< QuantLib::Real >(), |
||
| QuantLib::Real | recovery = QuantLib::Null< QuantLib::Real >(), |
||
| const QuantLib::Date & | auctionDate = QuantLib::Date(), |
||
| const QuantLib::Date & | auctionSettlementDate = QuantLib::Date(), |
||
| const QuantLib::Date & | defaultDate = QuantLib::Date(), |
||
| const QuantLib::Date & | eventDeterminationDate = QuantLib::Date() |
||
| ) |
Constructor taking an explicit creditCurveId.
| BasketConstituent | ( | const std::string & | issuerName, |
| const std::string & | creditCurveId, | ||
| QuantLib::Real | weight, | ||
| const std::string & | qualifier, | ||
| QuantLib::Real | priorWeight = QuantLib::Null< QuantLib::Real >(), |
||
| QuantLib::Real | recovery = QuantLib::Null< QuantLib::Real >(), |
||
| const QuantLib::Date & | auctionDate = QuantLib::Date(), |
||
| const QuantLib::Date & | auctionSettlementDate = QuantLib::Date(), |
||
| const QuantLib::Date & | defaultDate = QuantLib::Date(), |
||
| const QuantLib::Date & | eventDeterminationDate = QuantLib::Date() |
||
| ) |
Constructor taking an explicit creditCurveId and initialized by weight.
| BasketConstituent | ( | const std::string & | issuerName, |
| const ore::data::CdsReferenceInformation & | cdsReferenceInfo, | ||
| QuantLib::Real | notional, | ||
| const std::string & | currency, | ||
| const std::string & | qualifier, | ||
| QuantLib::Real | priorNotional = QuantLib::Null< QuantLib::Real >(), |
||
| QuantLib::Real | recovery = QuantLib::Null< QuantLib::Real >(), |
||
| const QuantLib::Date & | auctionDate = QuantLib::Date(), |
||
| const QuantLib::Date & | auctionSettlementDate = QuantLib::Date(), |
||
| const QuantLib::Date & | defaultDate = QuantLib::Date(), |
||
| const QuantLib::Date & | eventDeterminationDate = QuantLib::Date() |
||
| ) |
Constructor taking CDS reference information, cdsReferenceInfo.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 69 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 137 of file basketdata.cpp.
Here is the call graph for this function:| const string & issuerName | ( | ) | const |
Definition at line 202 of file basketdata.cpp.
| const string & creditCurveId | ( | ) | const |
| const boost::optional< CdsReferenceInformation > & cdsReferenceInfo | ( | ) | const |
Definition at line 206 of file basketdata.cpp.
| QuantLib::Real notional | ( | ) | const |
Definition at line 210 of file basketdata.cpp.
| const string & currency | ( | ) | const |
Definition at line 216 of file basketdata.cpp.
| QuantLib::Real priorNotional | ( | ) | const |
Definition at line 222 of file basketdata.cpp.
| Real recovery | ( | ) | const |
Definition at line 229 of file basketdata.cpp.
| QuantLib::Real weight | ( | ) | const |
Definition at line 231 of file basketdata.cpp.
| QuantLib::Real priorWeight | ( | ) | const |
Definition at line 238 of file basketdata.cpp.
| const Date & auctionDate | ( | ) | const |
Definition at line 245 of file basketdata.cpp.
| const Date & auctionSettlementDate | ( | ) | const |
Definition at line 247 of file basketdata.cpp.
| const Date & defaultDate | ( | ) | const |
Definition at line 249 of file basketdata.cpp.
| const Date & eventDeterminationDate | ( | ) | const |
Definition at line 251 of file basketdata.cpp.
| bool weightInsteadOfNotional | ( | ) | const |
Definition at line 253 of file basketdata.cpp.
|
private |
Definition at line 99 of file basketdata.hpp.
|
private |
Definition at line 100 of file basketdata.hpp.
|
private |
Definition at line 101 of file basketdata.hpp.
|
private |
Definition at line 102 of file basketdata.hpp.
|
private |
Definition at line 103 of file basketdata.hpp.
|
private |
Definition at line 104 of file basketdata.hpp.
|
private |
Definition at line 105 of file basketdata.hpp.
|
private |
Definition at line 106 of file basketdata.hpp.
|
private |
Definition at line 107 of file basketdata.hpp.
|
private |
Definition at line 108 of file basketdata.hpp.
|
private |
Definition at line 109 of file basketdata.hpp.
|
private |
Definition at line 110 of file basketdata.hpp.
|
private |
Definition at line 111 of file basketdata.hpp.
|
private |
Definition at line 112 of file basketdata.hpp.
|
private |
Definition at line 113 of file basketdata.hpp.