#include <ored/portfolio/creditdefaultswapdata.hpp>
Public Member Functions | |
| CdsReferenceInformation () | |
| Default constructor. | |
| CdsReferenceInformation (const std::string &referenceEntityId, CdsTier tier, const QuantLib::Currency ¤cy, QuantLib::ext::optional< CdsDocClause > docClause=QuantLib::ext::nullopt) | |
| Detailed constructor. | |
XMLSerializable interface | |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (XMLDocument &doc) const override |
| Public Member Functions inherited from XMLSerializable | |
| void | fromFile (const std::string &filename) |
| void | toFile (const std::string &filename) const |
| void | fromXMLString (const std::string &xml) |
| Parse from XML string. | |
| std::string | toXMLString () const |
| Parse from XML string. | |
| std::string | toXMLStringUnformatted () const |
Inspectors | |
| const std::string & | referenceEntityId () const |
| CdsTier | tier () const |
| const QuantLib::Currency & | currency () const |
| bool | hasDocClause () const |
| CdsDocClause | docClause () const |
| const std::string & | id () const |
Serializable reference information
|
overridevirtual |
Implements XMLSerializable.
|
overridevirtual |
Implements XMLSerializable.
| const std::string & id | ( | ) | const |
Give back the ID for the CdsReferenceInformation object. The id is the concatenation of the string representation of the object's members using the | character as a delimiter.