23#ifndef quantext_stripped_capfloored_cpicoupon_hpp
24#define quantext_stripped_capfloored_cpicoupon_hpp
26#include <ql/cashflows/inflationcouponpricer.hpp>
37 Rate
rate()
const override;
46 virtual void accept(AcyclicVisitor&)
override;
66 Real
amount()
const override;
Stripped capped or floored CPI cashflow.
ext::shared_ptr< CappedFlooredCPICashFlow > underlying() const
Underlying cash flow.
Real amount() const override
Cashflow interface.
ext::shared_ptr< CappedFlooredCPICashFlow > underlying_
void update() override
Observer interface.
Rate rate() const override
Coupon interface.
virtual void accept(AcyclicVisitor &) override
Visitability.
Rate effectiveCap() const
ext::shared_ptr< CappedFlooredCPICoupon > underlying_
const ext::shared_ptr< CappedFlooredCPICoupon > underlying()
Underlying coupon.
Rate effectiveFloor() const
CPI leg builder extending QuantLib's to handle caps and floors.