30#include <ql/instruments/capfloor.hpp>
32#include <boost/variant.hpp>
47 const boost::variant<QuantLib::Date, QuantLib::Period> &
maturity,
48 const QuantLib::ext::shared_ptr<BaseStrike>&
strike);
52 QuantLib::CapFloor::Type
type()
const;
53 const boost::variant<QuantLib::Date, QuantLib::Period>&
maturity()
const;
54 const QuantLib::ext::shared_ptr<BaseStrike>&
strike()
const;
65 boost::variant<QuantLib::Date, QuantLib::Period>
maturity_;
66 QuantLib::ext::shared_ptr<BaseStrike>
strike_;
class for holding details of the calibration instruments for a model
factory for making calibration instruments.
CpiCapFloor(QuantLib::CapFloor::Type type, const boost::variant< QuantLib::Date, QuantLib::Period > &maturity, const QuantLib::ext::shared_ptr< BaseStrike > &strike)
Detailed constructor.
QuantLib::CapFloor::Type type_
QuantLib::ext::shared_ptr< BaseStrike > strike_
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
const QuantLib::ext::shared_ptr< BaseStrike > & strike() const
boost::variant< QuantLib::Date, QuantLib::Period > maturity_
CpiCapFloor()
Default constructor.
const boost::variant< QuantLib::Date, QuantLib::Period > & maturity() const
QuantLib::CapFloor::Type type() const
Small XML Document wrapper class.
Classes for representing a strike using various conventions.
Serializable Credit Default Swap.