#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
SwaptionQuote () | |
SwaptionQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, string ccy, Period expiry, Period term, string dimension, Real strike=0.0, const std::string "eTag=std::string(), bool isPayer=true) | |
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_ |
Period | expiry_ |
Period | term_ |
string | dimension_ |
Real | strike_ |
string | quoteTag_ |
bool | isPayer_ |
class | boost::serialization::access |
Serialization. More... | |
const string & | ccy () const |
const Period & | expiry () const |
const Period & | term () const |
const string & | dimension () const |
Real | strike () |
const string & | quoteTag () const |
bool | isPayer () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Swaption data class.
This class holds single market points of type
Definition at line 841 of file marketdatum.hpp.
SwaptionQuote | ( | ) |
Definition at line 843 of file marketdatum.hpp.
SwaptionQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
string | ccy, | ||
Period | expiry, | ||
Period | term, | ||
string | dimension, | ||
Real | strike = 0.0 , |
||
const std::string & | quoteTag = std::string() , |
||
bool | isPayer = true |
||
) |
Constructor.
Definition at line 845 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 852 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 859 of file marketdatum.hpp.
const Period & expiry | ( | ) | const |
Definition at line 860 of file marketdatum.hpp.
const Period & term | ( | ) | const |
Definition at line 861 of file marketdatum.hpp.
const string & dimension | ( | ) | const |
Definition at line 862 of file marketdatum.hpp.
Real strike | ( | ) |
Definition at line 863 of file marketdatum.hpp.
const string & quoteTag | ( | ) | const |
Definition at line 864 of file marketdatum.hpp.
bool isPayer | ( | ) | const |
Definition at line 865 of file marketdatum.hpp.
|
private |
Definition at line 452 of file marketdatum.cpp.
|
friend |
Serialization.
Definition at line 876 of file marketdatum.hpp.
|
private |
Definition at line 868 of file marketdatum.hpp.
|
private |
Definition at line 869 of file marketdatum.hpp.
|
private |
Definition at line 870 of file marketdatum.hpp.
|
private |
Definition at line 871 of file marketdatum.hpp.
|
private |
Definition at line 872 of file marketdatum.hpp.
|
private |
Definition at line 873 of file marketdatum.hpp.
|
private |
Definition at line 874 of file marketdatum.hpp.