#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
CdsQuote () | |
CdsQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, const string &underlyingName, const string &seniority, const string &ccy, Period term, const string &docClause="", Real runningSpread=Null< Real >()) | |
Constructor. More... | |
QuantLib::ext::shared_ptr< MarketDatum > | clone () override |
Make a copy of the market datum. More... | |
Public Member Functions inherited from MarketDatum | |
MarketDatum () | |
MarketDatum (Real value, Date asofDate, const string &name, QuoteType quoteType, InstrumentType instrumentType) | |
Constructor. More... | |
virtual | ~MarketDatum () |
Default destructor. More... | |
virtual QuantLib::ext::shared_ptr< MarketDatum > | clone () |
Make a copy of the market datum. More... | |
const string & | name () const |
const Handle< Quote > & | quote () const |
Date | asofDate () const |
InstrumentType | instrumentType () const |
QuoteType | quoteType () const |
Inspectors | |
string | underlyingName_ |
string | seniority_ |
string | ccy_ |
Period | term_ |
string | docClause_ |
Real | runningSpread_ |
class | boost::serialization::access |
Serialization. More... | |
const Period & | term () const |
const string & | seniority () const |
const string & | ccy () const |
const string & | underlyingName () const |
const string & | docClause () const |
Real | runningSpread () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
CDS Spread data class This class holds single market points of type
Definition at line 711 of file marketdatum.hpp.
CdsQuote | ( | ) |
Definition at line 713 of file marketdatum.hpp.
CdsQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
const string & | underlyingName, | ||
const string & | seniority, | ||
const string & | ccy, | ||
Period | term, | ||
const string & | docClause = "" , |
||
Real | runningSpread = Null<Real>() |
||
) |
Constructor.
Definition at line 716 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 723 of file marketdatum.hpp.
const Period & term | ( | ) | const |
Definition at line 730 of file marketdatum.hpp.
const string & seniority | ( | ) | const |
Definition at line 731 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 732 of file marketdatum.hpp.
const string & underlyingName | ( | ) | const |
Definition at line 733 of file marketdatum.hpp.
const string & docClause | ( | ) | const |
Definition at line 734 of file marketdatum.hpp.
Real runningSpread | ( | ) | const |
Definition at line 735 of file marketdatum.hpp.
|
private |
Definition at line 427 of file marketdatum.cpp.
|
friend |
Serialization.
Definition at line 747 of file marketdatum.hpp.
|
private |
Definition at line 739 of file marketdatum.hpp.
|
private |
Definition at line 740 of file marketdatum.hpp.
|
private |
Definition at line 741 of file marketdatum.hpp.
|
private |
Definition at line 742 of file marketdatum.hpp.
|
private |
Definition at line 743 of file marketdatum.hpp.
|
private |
Definition at line 744 of file marketdatum.hpp.