Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BachelierCPICashFlowPricer Class Reference

Bachelier CPI CashFlow Pricer. More...

#include <qle/cashflows/cpicouponpricer.hpp>

+ Inheritance diagram for BachelierCPICashFlowPricer:
+ Collaboration diagram for BachelierCPICashFlowPricer:

Public Member Functions

 BachelierCPICashFlowPricer (const Handle< QuantLib::CPIVolatilitySurface > &vol=Handle< QuantLib::CPIVolatilitySurface >(), const Handle< YieldTermStructure > &yts=Handle< YieldTermStructure >(), const bool useLastFixing=false)
 
- Public Member Functions inherited from InflationCashFlowPricer
 InflationCashFlowPricer (const Handle< QuantLib::CPIVolatilitySurface > &vol=Handle< QuantLib::CPIVolatilitySurface >(), const Handle< YieldTermStructure > &yts=Handle< YieldTermStructure >())
 
virtual ~InflationCashFlowPricer ()
 
Handle< QuantLib::CPIVolatilitySurface > volatility ()
 Inspectors. More...
 
Handle< YieldTermStructure > yieldCurve ()
 
QuantLib::ext::shared_ptr< PricingEngine > engine ()
 
virtual void update () override
 

Additional Inherited Members

- Protected Attributes inherited from InflationCashFlowPricer
Handle< QuantLib::CPIVolatilitySurface > vol_
 
Handle< YieldTermStructure > yts_
 
QuantLib::ext::shared_ptr< PricingEngine > engine_
 

Detailed Description

Bachelier CPI CashFlow Pricer.

Definition at line 71 of file cpicouponpricer.hpp.

Constructor & Destructor Documentation

◆ BachelierCPICashFlowPricer()

BachelierCPICashFlowPricer ( const Handle< QuantLib::CPIVolatilitySurface > &  vol = Handle<QuantLib::CPIVolatilitySurface>(),
const Handle< YieldTermStructure > &  yts = Handle<YieldTermStructure>(),
const bool  useLastFixing = false 
)

Definition at line 50 of file cpicouponpricer.cpp.

52 : InflationCashFlowPricer(vol, yts) {
53 engine_ = QuantLib::ext::make_shared<CPIBachelierCapFloorEngine>(yieldCurve(), volatility(), useLastFixing);
54}
Handle< YieldTermStructure > yieldCurve()
InflationCashFlowPricer(const Handle< QuantLib::CPIVolatilitySurface > &vol=Handle< QuantLib::CPIVolatilitySurface >(), const Handle< YieldTermStructure > &yts=Handle< YieldTermStructure >())
QuantLib::ext::shared_ptr< PricingEngine > engine_
Handle< QuantLib::CPIVolatilitySurface > volatility()
Inspectors.
+ Here is the call graph for this function: