#include <ored/model/calibrationinstruments/cpicapfloor.hpp>
Public Member Functions | |
CpiCapFloor () | |
Default constructor. More... | |
CpiCapFloor (QuantLib::CapFloor::Type type, const boost::variant< QuantLib::Date, QuantLib::Period > &maturity, const QuantLib::ext::shared_ptr< BaseStrike > &strike) | |
Detailed constructor. More... | |
Inspectors | |
QuantLib::CapFloor::Type | type () const |
const boost::variant< QuantLib::Date, QuantLib::Period > & | maturity () 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::CapFloor::Type | type_ |
boost::variant< QuantLib::Date, QuantLib::Period > | maturity_ |
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 CPI cap floor calibration instrument.
Definition at line 40 of file cpicapfloor.hpp.
CpiCapFloor | ( | ) |
Default constructor.
Definition at line 30 of file cpicapfloor.cpp.
CpiCapFloor | ( | QuantLib::CapFloor::Type | type, |
const boost::variant< QuantLib::Date, QuantLib::Period > & | maturity, | ||
const QuantLib::ext::shared_ptr< BaseStrike > & | strike | ||
) |
Detailed constructor.
CapFloor::Type type | ( | ) | const |
Definition at line 40 of file cpicapfloor.cpp.
const boost::variant< Date, Period > & maturity | ( | ) | const |
Definition at line 44 of file cpicapfloor.cpp.
const QuantLib::ext::shared_ptr< BaseStrike > & strike | ( | ) | const |
Definition at line 48 of file cpicapfloor.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 50 of file cpicapfloor.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 57 of file cpicapfloor.cpp.
|
private |
Definition at line 64 of file cpicapfloor.hpp.
|
private |
Definition at line 65 of file cpicapfloor.hpp.
|
private |
Definition at line 66 of file cpicapfloor.hpp.