29#include <ql/cashflows/couponpricer.hpp>
30#include <ql/cashflows/lineartsrpricer.hpp>
43 const QuantLib::ext::shared_ptr<QuantLib::CmsCouponPricer>&> {
48 string keyImpl(
const Currency& ccy,
const string& index1,
const string& index2,
49 const QuantLib::ext::shared_ptr<QuantLib::CmsCouponPricer>& cmsPricer)
override {
51 return index1 +
":" + index2;
53 QuantLib::ext::shared_ptr<FloatingRateCouponPricer>
54 engineImpl(
const Currency& ccy,
const string& index1,
const string& index2,
55 const QuantLib::ext::shared_ptr<QuantLib::CmsCouponPricer>& cmsPricer)
override;
Abstract template engine builder class.
Abstract template EngineBuilder class that can cache engines and coupon pricers.
CouponPricer Builder for CmsSpreadLeg.
string keyImpl(const Currency &ccy, const string &index1, const string &index2, const QuantLib::ext::shared_ptr< QuantLib::CmsCouponPricer > &cmsPricer) override
CmsSpreadCouponPricerBuilder()
QuantLib::ext::shared_ptr< FloatingRateCouponPricer > engineImpl(const Currency &ccy, const string &index1, const string &index2, const QuantLib::ext::shared_ptr< QuantLib::CmsCouponPricer > &cmsPricer) override
Serializable Credit Default Swap.