#include <ored/model/calibrationinstruments/yoyswap.hpp>
Public Member Functions | |
YoYSwap () | |
Default constructor. More... | |
YoYSwap (const QuantLib::Period &tenor) | |
Detailed constructor. More... | |
Inspectors | |
const QuantLib::Period & | tenor () const |
Public Member Functions inherited from CalibrationInstrument | |
CalibrationInstrument (const std::string &instrumentType) | |
Constructor. More... | |
virtual | ~CalibrationInstrument () |
Destructor. More... | |
const std::string & | instrumentType () const |
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 | |
QuantLib::Period | tenor_ |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) const override |
Additional Inherited Members | |
Protected Attributes inherited from CalibrationInstrument | |
std::string | instrumentType_ |
Class for holding details of a year on year inflation cap floor calibration instrument.
Definition at line 35 of file yoyswap.hpp.
YoYSwap | ( | ) |
Default constructor.
Definition at line 28 of file yoyswap.cpp.
YoYSwap | ( | const QuantLib::Period & | tenor | ) |
Detailed constructor.
const QuantLib::Period & tenor | ( | ) | const |
Definition at line 34 of file yoyswap.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 38 of file yoyswap.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 43 of file yoyswap.cpp.
|
private |
Definition at line 55 of file yoyswap.hpp.