Money market data class. More...
#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
MoneyMarketQuote () | |
MoneyMarketQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, string ccy, Period fwdStart, Period term, const std::string &indexName="") | |
Constructor. More... | |
QuantLib::ext::shared_ptr< MarketDatum > | clone () override |
Make a copy of the 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 | fwdStart_ |
Period | term_ |
std::string | indexName_ |
class | boost::serialization::access |
Serialization. More... | |
const string & | ccy () const |
const Period & | fwdStart () const |
const Period & | term () const |
const std::string & | indexName () const |
Empty if the index name is not provided. More... | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Money market data class.
This class holds single market points of type
Specific data comprise currency, fwdStart, term
Definition at line 198 of file marketdatum.hpp.
MoneyMarketQuote | ( | ) |
Definition at line 200 of file marketdatum.hpp.
MoneyMarketQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
string | ccy, | ||
Period | fwdStart, | ||
Period | term, | ||
const std::string & | indexName = "" |
||
) |
Constructor.
Definition at line 202 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the datum.
Reimplemented from MarketDatum.
Definition at line 208 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 214 of file marketdatum.hpp.
const Period & fwdStart | ( | ) | const |
Definition at line 215 of file marketdatum.hpp.
const Period & term | ( | ) | const |
Definition at line 216 of file marketdatum.hpp.
const std::string & indexName | ( | ) | const |
|
private |
Definition at line 330 of file marketdatum.cpp.
|
friend |
Serialization.
Definition at line 226 of file marketdatum.hpp.
|
private |
Definition at line 221 of file marketdatum.hpp.
|
private |
Definition at line 222 of file marketdatum.hpp.
|
private |
Definition at line 223 of file marketdatum.hpp.
|
private |
Definition at line 224 of file marketdatum.hpp.