#include <ored/model/calibrationinstruments/yoycapfloor.hpp>
Public Member Functions | |
YoYCapFloor () | |
Default constructor. More... | |
YoYCapFloor (QuantLib::YoYInflationCapFloor::Type type, const QuantLib::Period &tenor, const QuantLib::ext::shared_ptr< BaseStrike > &strike) | |
Detailed constructor. More... | |
Inspectors | |
QuantLib::YoYInflationCapFloor::Type | type () const |
const QuantLib::Period & | tenor () const |
const QuantLib::ext::shared_ptr< BaseStrike > & | strike () 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::YoYInflationCapFloor::Type | type_ |
QuantLib::Period | tenor_ |
QuantLib::ext::shared_ptr< BaseStrike > | strike_ |
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 37 of file yoycapfloor.hpp.
YoYCapFloor | ( | ) |
Default constructor.
Definition at line 29 of file yoycapfloor.cpp.
YoYCapFloor | ( | QuantLib::YoYInflationCapFloor::Type | type, |
const QuantLib::Period & | tenor, | ||
const QuantLib::ext::shared_ptr< BaseStrike > & | strike | ||
) |
Detailed constructor.
YoYInflationCapFloor::Type type | ( | ) | const |
Definition at line 40 of file yoycapfloor.cpp.
const QuantLib::Period & tenor | ( | ) | const |
Definition at line 44 of file yoycapfloor.cpp.
const QuantLib::ext::shared_ptr< BaseStrike > & strike | ( | ) | const |
Definition at line 48 of file yoycapfloor.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 52 of file yoycapfloor.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 59 of file yoycapfloor.cpp.
|
private |
Definition at line 61 of file yoycapfloor.hpp.
|
private |
Definition at line 62 of file yoycapfloor.hpp.
|
private |
Definition at line 63 of file yoycapfloor.hpp.