Discount market data class. More...
#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
DiscountQuote () | |
DiscountQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, string ccy, Date date, Period tenor) | |
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 | ccy_ |
Date | date_ |
Period | tenor_ |
class | boost::serialization::access |
Serialization. More... | |
const string & | ccy () const |
Date | date () const |
Period | tenor () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Discount market data class.
This class holds single market points of type
Definition at line 409 of file marketdatum.hpp.
DiscountQuote | ( | ) |
Definition at line 411 of file marketdatum.hpp.
DiscountQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
string | ccy, | ||
Date | date, | ||
Period | tenor | ||
) |
Constructor.
Definition at line 413 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 417 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 422 of file marketdatum.hpp.
Date date | ( | ) | const |
Definition at line 423 of file marketdatum.hpp.
Period tenor | ( | ) | const |
Definition at line 424 of file marketdatum.hpp.
|
private |
Definition at line 371 of file marketdatum.cpp.
|
friend |
Serialization.
Definition at line 431 of file marketdatum.hpp.
|
private |
Definition at line 427 of file marketdatum.hpp.
|
private |
Definition at line 428 of file marketdatum.hpp.
|
private |
Definition at line 429 of file marketdatum.hpp.