Shift data class (for SLN cap/floor volatilities) More...
#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
CapFloorShiftQuote () | |
CapFloorShiftQuote (Real value, const Date &asofDate, const string &name, QuoteType quoteType, const string &ccy, const Period &indexTenor, const string &indexName=string()) | |
QuantLib::ext::shared_ptr< MarketDatum > | clone () override |
Make a copy of the market datum. More... | |
const string & | ccy () const |
const Period & | indexTenor () const |
const string & | indexName () 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_ |
Period | indexTenor_ |
string | indexName_ |
Friends | |
class | boost::serialization::access |
Serialization. More... | |
Shift data class (for SLN cap/floor volatilities)
This class holds, for a given currency and index tenor, single market points of type
Definition at line 1061 of file marketdatum.hpp.
Definition at line 1063 of file marketdatum.hpp.
CapFloorShiftQuote | ( | Real | value, |
const Date & | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
const string & | ccy, | ||
const Period & | indexTenor, | ||
const string & | indexName = string() |
||
) |
Definition at line 1064 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 1072 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 1077 of file marketdatum.hpp.
const Period & indexTenor | ( | ) | const |
Definition at line 1078 of file marketdatum.hpp.
const string & indexName | ( | ) | const |
Definition at line 1079 of file marketdatum.hpp.
|
private |
Definition at line 495 of file marketdatum.cpp.
|
friend |
Serialization.
Definition at line 1086 of file marketdatum.hpp.
|
private |
Definition at line 1082 of file marketdatum.hpp.
|
private |
Definition at line 1083 of file marketdatum.hpp.
|
private |
Definition at line 1084 of file marketdatum.hpp.