24#ifndef quantlib_inflation_cash_flow_hpp
25#define quantlib_inflation_cash_flow_hpp
44 const ext::shared_ptr<ZeroInflationIndex>&
index,
46 const Date& startDate,
48 const Period& observationLag,
49 const Date& paymentDate,
degenerate base class for the Acyclic Visitor pattern
Cash flow dependent on an index ratio.
virtual Real notional() const
virtual bool growthOnly() const
virtual ext::shared_ptr< Index > index() const
Cash flow dependent on a zero inflation index ratio.
void performCalculations() const override
ext::shared_ptr< ZeroInflationIndex > zeroInflationIndex_
CPI::InterpolationType observationInterpolation() const
void accept(AcyclicVisitor &) override
CPI::InterpolationType observationInterpolation_
ext::shared_ptr< ZeroInflationIndex > zeroInflationIndex() const
Cash flow dependent on an index ratio (NOT a coupon, i.e. no accruals)
base classes for inflation indexes
InterpolationType
when you observe an index, how do you interpolate between fixings?