#include <ored/model/inflation/infdkdata.hpp>
Public Member Functions | |
InfDkData () | |
Default constructor. More... | |
InfDkData (CalibrationType calibrationType, const std::vector< CalibrationBasket > &calibrationBaskets, const std::string ¤cy, const std::string &index, const ReversionParameter &reversion, const VolatilityParameter &volatility, const LgmReversionTransformation &reversionTransformation=LgmReversionTransformation(), const bool ignoreDuplicateCalibrationExpiryTimes=false) | |
Detailed constructor. More... | |
Inspectors | |
const ReversionParameter & | reversion () const |
const VolatilityParameter & | volatility () const |
const LgmReversionTransformation & | reversionTransformation () const |
Public Member Functions inherited from InflationModelData | |
InflationModelData () | |
Default constructor. The currency and inflation index are empty. More... | |
InflationModelData (CalibrationType calibrationType, const std::vector< CalibrationBasket > &calibrationBaskets, const std::string ¤cy, const std::string &index, const bool ignoreDuplicateCalibrationExpiryTimes) | |
const std::string & | currency () const |
const std::string & | index () const |
bool | ignoreDuplicateCalibrationExpiryTimes () const |
void | fromXML (XMLNode *node) override |
Public Member Functions inherited from ModelData | |
ModelData () | |
Default constructor. More... | |
ModelData (CalibrationType calibrationType, const std::vector< CalibrationBasket > &calibrationBaskets) | |
Detailed constructor. More... | |
CalibrationType | calibrationType () const |
const std::vector< CalibrationBasket > & | calibrationBaskets () const |
void | fromXML (XMLNode *node) override |
Public Member Functions inherited from XMLSerializable | |
virtual | ~XMLSerializable () |
virtual void | fromXML (XMLNode *node)=0 |
virtual XMLNode * | toXML (XMLDocument &doc) const =0 |
void | fromFile (const std::string &filename) |
void | toFile (const std::string &filename) const |
void | fromXMLString (const std::string &xml) |
Parse from XML string. More... | |
std::string | toXMLString () const |
Parse from XML string. More... | |
Serialisation | |
ReversionParameter | reversion_ |
VolatilityParameter | volatility_ |
LgmReversionTransformation | reversionTransformation_ |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) const override |
void | populateCalibrationBaskets (XMLNode *node) |
Support legacy XML interface for reading calibration instruments. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from InflationModelData | |
void | append (XMLDocument &doc, XMLNode *node) const override |
Method used by toXML in derived classes to add the members here to a node. More... | |
Protected Member Functions inherited from ModelData | |
Protected Attributes inherited from ModelData | |
std::vector< CalibrationBasket > | calibrationBaskets_ |
Dodgson Kainth inflation model data
Model data specifying the Dodgson Kainth inflation model described in Modern Derivatives Pricing and Credit Exposure Analysis, Chapter 13.
Definition at line 43 of file infdkdata.hpp.
InfDkData | ( | ) |
InfDkData | ( | CalibrationType | calibrationType, |
const std::vector< CalibrationBasket > & | calibrationBaskets, | ||
const std::string & | currency, | ||
const std::string & | index, | ||
const ReversionParameter & | reversion, | ||
const VolatilityParameter & | volatility, | ||
const LgmReversionTransformation & | reversionTransformation = LgmReversionTransformation() , |
||
const bool | ignoreDuplicateCalibrationExpiryTimes = false |
||
) |
Detailed constructor.
Definition at line 30 of file infdkdata.cpp.
const ReversionParameter & reversion | ( | ) | const |
Definition at line 43 of file infdkdata.cpp.
const VolatilityParameter & volatility | ( | ) | const |
Definition at line 47 of file infdkdata.cpp.
const LgmReversionTransformation & reversionTransformation | ( | ) | const |
Definition at line 51 of file infdkdata.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 55 of file infdkdata.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 81 of file infdkdata.cpp.
|
private |
Support legacy XML interface for reading calibration instruments.
Definition at line 92 of file infdkdata.cpp.
|
private |
Definition at line 73 of file infdkdata.hpp.
|
private |
Definition at line 74 of file infdkdata.hpp.
|
private |
Definition at line 75 of file infdkdata.hpp.