#include <ored/portfolio/creditdefaultswapdata.hpp>
Public Member Functions | |
CdsReferenceInformation () | |
Default constructor. | |
CdsReferenceInformation (const std::string &referenceEntityId, CdsTier tier, const QuantLib::Currency ¤cy, boost::optional< CdsDocClause > docClause=boost::none) | |
Detailed constructor. | |
XMLSerializable interface | |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) override |
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. | |
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
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.