YoY Inflation swap data class. More...
#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
YoYInflationSwapQuote () | |
YoYInflationSwapQuote (Real value, Date asofDate, const string &name, const string &index, Period term) | |
QuantLib::ext::shared_ptr< MarketDatum > | clone () override |
Make a copy of the market datum. More... | |
string | index () |
Period | term () |
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 | index_ |
Period | term_ |
Friends | |
class | boost::serialization::access |
Serialization. More... | |
YoY Inflation swap data class.
This class holds single market points of type
Definition at line 1330 of file marketdatum.hpp.
Definition at line 1332 of file marketdatum.hpp.
YoYInflationSwapQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
const string & | index, | ||
Period | term | ||
) |
Definition at line 1333 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 1338 of file marketdatum.hpp.
string index | ( | ) |
Definition at line 1342 of file marketdatum.hpp.
Period term | ( | ) |
Definition at line 1343 of file marketdatum.hpp.
|
private |
Definition at line 542 of file marketdatum.cpp.
|
friend |
Serialization.
Definition at line 1349 of file marketdatum.hpp.
|
private |
Definition at line 1346 of file marketdatum.hpp.
|
private |
Definition at line 1347 of file marketdatum.hpp.