23#ifndef quantext_stripped_capfloored_yoyinflation_coupon_hpp
24#define quantext_stripped_capfloored_yoyinflation_coupon_hpp
26#include <ql/cashflows/capflooredinflationcoupon.hpp>
27#include <ql/cashflows/inflationcouponpricer.hpp>
36 const ext::shared_ptr<CappedFlooredYoYInflationCoupon>&
underlying);
39 Rate
rate()
const override;
53 virtual void accept(AcyclicVisitor&)
override;
59 void setPricer(
const ext::shared_ptr<YoYInflationCouponPricer>& pricer);
void update() override
Observer interface.
Rate rate() const override
Coupon interface.
virtual void accept(AcyclicVisitor &) override
Visitability.
Rate effectiveCap() const
effective cap
Rate effectiveFloor() const
effective floor
void setPricer(const ext::shared_ptr< YoYInflationCouponPricer > &pricer)
ext::shared_ptr< CappedFlooredYoYInflationCoupon > underlying_
const ext::shared_ptr< CappedFlooredYoYInflationCoupon > underlying()