Logo
Reference manual - version ored_version
Public Member Functions | List of all members
CdsReferenceInformation Class Reference

#include <ored/portfolio/creditdefaultswapdata.hpp>

+ Inheritance diagram for CdsReferenceInformation:

Public Member Functions

 CdsReferenceInformation ()
 Default constructor.
 
 CdsReferenceInformation (const std::string &referenceEntityId, CdsTier tier, const QuantLib::Currency &currency, boost::optional< CdsDocClause > docClause=boost::none)
 Detailed constructor.
 
XMLSerializable interface
void fromXML (XMLNode *node) override
 
XMLNodetoXML (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
 

Detailed Description

Serializable reference information

Member Function Documentation

◆ id()

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.