Cap/Floor data class. More...
#include <ored/marketdata/marketdatum.hpp>
Inheritance diagram for CapFloorQuote:
Collaboration diagram for CapFloorQuote:Public Member Functions | |
| CapFloorQuote () | |
| CapFloorQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, string ccy, Period term, Period underlying, bool atm, bool relative, Real strike=0.0, const string &indexName=string(), bool isCap=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 | term_ |
| Period | underlying_ |
| bool | atm_ |
| bool | relative_ |
| Real | strike_ |
| string | indexName_ |
| bool | isCap_ |
| class | boost::serialization::access |
| Serialization. More... | |
| const string & | ccy () const |
| const Period & | term () const |
| const Period & | underlying () const |
| bool | atm () const |
| bool | relative () const |
| Real | strike () |
| const string & | indexName () const |
| bool | isCap () const |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Cap/Floor data class.
This class holds single market points of type
Definition at line 1016 of file marketdatum.hpp.
| CapFloorQuote | ( | ) |
Definition at line 1018 of file marketdatum.hpp.
| CapFloorQuote | ( | Real | value, |
| Date | asofDate, | ||
| const string & | name, | ||
| QuoteType | quoteType, | ||
| string | ccy, | ||
| Period | term, | ||
| Period | underlying, | ||
| bool | atm, | ||
| bool | relative, | ||
| Real | strike = 0.0, |
||
| const string & | indexName = string(), |
||
| bool | isCap = true |
||
| ) |
Constructor.
Definition at line 1020 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 1026 of file marketdatum.hpp.
| const string & ccy | ( | ) | const |
Definition at line 1033 of file marketdatum.hpp.
| const Period & term | ( | ) | const |
Definition at line 1034 of file marketdatum.hpp.
| const Period & underlying | ( | ) | const |
Definition at line 1035 of file marketdatum.hpp.
| bool atm | ( | ) | const |
Definition at line 1036 of file marketdatum.hpp.
| bool relative | ( | ) | const |
Definition at line 1037 of file marketdatum.hpp.
| Real strike | ( | ) |
Definition at line 1038 of file marketdatum.hpp.
| const string & indexName | ( | ) | const |
Definition at line 1039 of file marketdatum.hpp.
| bool isCap | ( | ) | const |
Definition at line 1040 of file marketdatum.hpp.
|
private |
Definition at line 483 of file marketdatum.cpp.
|
friend |
Serialization.
Definition at line 1052 of file marketdatum.hpp.
|
private |
Definition at line 1043 of file marketdatum.hpp.
|
private |
Definition at line 1044 of file marketdatum.hpp.
|
private |
Definition at line 1045 of file marketdatum.hpp.
|
private |
Definition at line 1046 of file marketdatum.hpp.
|
private |
Definition at line 1047 of file marketdatum.hpp.
|
private |
Definition at line 1048 of file marketdatum.hpp.
|
private |
Definition at line 1049 of file marketdatum.hpp.
|
private |
Definition at line 1050 of file marketdatum.hpp.