#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
ZeroQuote () | |
ZeroQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, const string &ccy, Date date, DayCounter dayCounter, Period tenor=Period()) | |
Constructor. More... | |
QuantLib::ext::shared_ptr< MarketDatum > | clone () override |
Make a copy of the market datum. More... | |
const string & | ccy () const |
Inspectors. More... | |
Date | date () const |
DayCounter | dayCounter () const |
const Period & | tenor () const |
bool | tenorBased () const |
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 |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
string | ccy_ |
Date | date_ |
DayCounter | dayCounter_ |
Period | tenor_ |
bool | tenorBased_ |
Friends | |
class | boost::serialization::access |
Serialization. More... | |
Definition at line 364 of file marketdatum.hpp.
ZeroQuote | ( | ) |
Definition at line 366 of file marketdatum.hpp.
ZeroQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
const string & | ccy, | ||
Date | date, | ||
DayCounter | dayCounter, | ||
Period | tenor = Period() |
||
) |
Constructor.
Definition at line 368 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 378 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Date date | ( | ) | const |
Definition at line 385 of file marketdatum.hpp.
DayCounter dayCounter | ( | ) | const |
Definition at line 386 of file marketdatum.hpp.
const Period & tenor | ( | ) | const |
bool tenorBased | ( | ) | const |
Definition at line 388 of file marketdatum.hpp.
|
private |
Definition at line 362 of file marketdatum.cpp.
|
friend |
Serialization.
Definition at line 397 of file marketdatum.hpp.
|
private |
Definition at line 391 of file marketdatum.hpp.
|
private |
Definition at line 392 of file marketdatum.hpp.
|
private |
Definition at line 393 of file marketdatum.hpp.
|
private |
Definition at line 394 of file marketdatum.hpp.
|
private |
Definition at line 395 of file marketdatum.hpp.