Base class for CPI CashFLow and Coupon pricers.
More...
#include <qle/cashflows/cpicouponpricer.hpp>
|
Handle< QuantLib::CPIVolatilitySurface > | vol_ |
|
Handle< YieldTermStructure > | yts_ |
|
QuantLib::ext::shared_ptr< PricingEngine > | engine_ |
|
virtual void | update () override |
|
Base class for CPI CashFLow and Coupon pricers.
Definition at line 39 of file cpicouponpricer.hpp.
◆ InflationCashFlowPricer()
InflationCashFlowPricer |
( |
const Handle< QuantLib::CPIVolatilitySurface > & |
vol = Handle<QuantLib::CPIVolatilitySurface>() , |
|
|
const Handle< YieldTermStructure > & |
yts = Handle<YieldTermStructure>() |
|
) |
| |
Definition at line 31 of file cpicouponpricer.cpp.
37 yts_ = Handle<YieldTermStructure>(
38 QuantLib::ext::shared_ptr<YieldTermStructure>(new FlatForward(0, NullCalendar(), 0.05, Actual365Fixed())));
39 } else {
41 }
42}
Handle< YieldTermStructure > yts_
Handle< QuantLib::CPIVolatilitySurface > vol_
◆ ~InflationCashFlowPricer()
◆ volatility()
Handle< QuantLib::CPIVolatilitySurface > volatility |
( |
| ) |
|
◆ yieldCurve()
Handle< YieldTermStructure > yieldCurve |
( |
| ) |
|
◆ engine()
QuantLib::ext::shared_ptr< PricingEngine > engine |
( |
| ) |
|
◆ update()
◆ vol_
Handle<QuantLib::CPIVolatilitySurface> vol_ |
|
protected |
◆ yts_
Handle<YieldTermStructure> yts_ |
|
protected |
◆ engine_
QuantLib::ext::shared_ptr<PricingEngine> engine_ |
|
protected |