FX Option data class. More...
#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
FXOptionQuote () | |
FXOptionQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, string unitCcy, string ccy, Period expiry, string strike) | |
Constructor. More... | |
QuantLib::ext::shared_ptr< MarketDatum > | clone () override |
Make a copy of the market datum. More... | |
![]() | |
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 | unitCcy_ |
string | ccy_ |
Period | expiry_ |
string | strike_ |
class | boost::serialization::access |
Serialization. More... | |
const string & | unitCcy () const |
const string & | ccy () const |
const Period & | expiry () const |
const string & | strike () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
FX Option data class.
This class holds single market points of type
Definition at line 1189 of file marketdatum.hpp.
FXOptionQuote | ( | ) |
Definition at line 1191 of file marketdatum.hpp.
FXOptionQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
string | unitCcy, | ||
string | ccy, | ||
Period | expiry, | ||
string | strike | ||
) |
Constructor.
Definition at line 1193 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 1205 of file marketdatum.hpp.
const string & unitCcy | ( | ) | const |
Definition at line 1211 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 1212 of file marketdatum.hpp.
const Period & expiry | ( | ) | const |
Definition at line 1213 of file marketdatum.hpp.
const string & strike | ( | ) | const |
|
private |
|
friend |
Serialization.
Definition at line 1222 of file marketdatum.hpp.
|
private |
Definition at line 1217 of file marketdatum.hpp.
|
private |
Definition at line 1218 of file marketdatum.hpp.
|
private |
Definition at line 1219 of file marketdatum.hpp.
|
private |
Definition at line 1220 of file marketdatum.hpp.