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

Black CPI CashFlow Pricer. More...

#include <qle/cashflows/cpicouponpricer.hpp>

+ Inheritance diagram for BlackCPICashFlowPricer:
+ Collaboration diagram for BlackCPICashFlowPricer:

Public Member Functions

 BlackCPICashFlowPricer (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

Black CPI CashFlow Pricer.

Definition at line 63 of file cpicouponpricer.hpp.

Constructor & Destructor Documentation

◆ BlackCPICashFlowPricer()

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

Definition at line 44 of file cpicouponpricer.cpp.

46 : InflationCashFlowPricer(vol, yts) {
47 engine_ = QuantLib::ext::make_shared<CPIBlackCapFloorEngine>(yieldCurve(), volatility(), useLastFixing);
48}
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: