QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ZeroCouponInflationSwapHelper Class Reference

Zero-coupon inflation-swap bootstrap helper. More...

#include <ql/termstructures/inflation/inflationhelpers.hpp>

+ Inheritance diagram for ZeroCouponInflationSwapHelper:
+ Collaboration diagram for ZeroCouponInflationSwapHelper:

Public Member Functions

 ZeroCouponInflationSwapHelper (const Handle< Quote > &quote, const Period &swapObsLag, const Date &maturity, Calendar calendar, BusinessDayConvention paymentConvention, DayCounter dayCounter, ext::shared_ptr< ZeroInflationIndex > zii, CPI::InterpolationType observationInterpolation, Handle< YieldTermStructure > nominalTermStructure)
 
void setTermStructure (ZeroInflationTermStructure *) override
 
Real impliedQuote () const override
 
- Public Member Functions inherited from BootstrapHelper< ZeroInflationTermStructure >
 BootstrapHelper (Handle< Quote > quote)
 
 BootstrapHelper (Real quote)
 
 ~BootstrapHelper () override=default
 
const Handle< Quote > & quote () const
 
Real quoteError () const
 
virtual void setTermStructure (ZeroInflationTermStructure *)
 sets the term structure to be used for pricing More...
 
virtual Date earliestDate () const
 earliest relevant date More...
 
virtual Date maturityDate () const
 instrument's maturity date More...
 
virtual Date latestRelevantDate () const
 latest relevant date More...
 
virtual Date pillarDate () const
 pillar date More...
 
virtual Date latestDate () const
 latest date More...
 
void update () override
 
virtual void accept (AcyclicVisitor &)
 
- Public Member Functions inherited from Observer
 Observer ()=default
 
 Observer (const Observer &)
 
Observeroperator= (const Observer &)
 
virtual ~Observer ()
 
std::pair< iterator, boolregisterWith (const ext::shared_ptr< Observable > &)
 
void registerWithObservables (const ext::shared_ptr< Observer > &)
 
Size unregisterWith (const ext::shared_ptr< Observable > &)
 
void unregisterWithAll ()
 
virtual void update ()=0
 
virtual void deepUpdate ()
 
- Public Member Functions inherited from Observable
 Observable ()
 
 Observable (const Observable &)
 
Observableoperator= (const Observable &)
 
 Observable (Observable &&)=delete
 
Observableoperator= (Observable &&)=delete
 
virtual ~Observable ()=default
 
void notifyObservers ()
 

Protected Attributes

Period swapObsLag_
 
Date maturity_
 
Calendar calendar_
 
BusinessDayConvention paymentConvention_
 
DayCounter dayCounter_
 
ext::shared_ptr< ZeroInflationIndexzii_
 
CPI::InterpolationType observationInterpolation_
 
ext::shared_ptr< ZeroCouponInflationSwapzciis_
 
Handle< YieldTermStructurenominalTermStructure_
 
- Protected Attributes inherited from BootstrapHelper< ZeroInflationTermStructure >
Handle< Quotequote_
 
ZeroInflationTermStructuretermStructure_
 
Date earliestDate_
 
Date latestDate_
 
Date maturityDate_
 
Date latestRelevantDate_
 
Date pillarDate_
 

Additional Inherited Members

- Public Types inherited from Observer
typedef set_type::iterator iterator
 

Detailed Description

Zero-coupon inflation-swap bootstrap helper.

Definition at line 36 of file inflationhelpers.hpp.

Constructor & Destructor Documentation

◆ ZeroCouponInflationSwapHelper()

ZeroCouponInflationSwapHelper ( const Handle< Quote > &  quote,
const Period swapObsLag,
const Date maturity,
Calendar  calendar,
BusinessDayConvention  paymentConvention,
DayCounter  dayCounter,
ext::shared_ptr< ZeroInflationIndex zii,
CPI::InterpolationType  observationInterpolation,
Handle< YieldTermStructure nominalTermStructure 
)

Definition at line 30 of file inflationhelpers.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ setTermStructure()

void setTermStructure ( ZeroInflationTermStructure z)
override

Definition at line 82 of file inflationhelpers.cpp.

+ Here is the call graph for this function:

◆ impliedQuote()

Real impliedQuote ( ) const
overridevirtual

Member Data Documentation

◆ swapObsLag_

Period swapObsLag_
protected

Definition at line 53 of file inflationhelpers.hpp.

◆ maturity_

Date maturity_
protected

Definition at line 54 of file inflationhelpers.hpp.

◆ calendar_

Calendar calendar_
protected

Definition at line 55 of file inflationhelpers.hpp.

◆ paymentConvention_

BusinessDayConvention paymentConvention_
protected

Definition at line 56 of file inflationhelpers.hpp.

◆ dayCounter_

DayCounter dayCounter_
protected

Definition at line 57 of file inflationhelpers.hpp.

◆ zii_

ext::shared_ptr<ZeroInflationIndex> zii_
protected

Definition at line 58 of file inflationhelpers.hpp.

◆ observationInterpolation_

CPI::InterpolationType observationInterpolation_
protected

Definition at line 59 of file inflationhelpers.hpp.

◆ zciis_

ext::shared_ptr<ZeroCouponInflationSwap> zciis_
protected

Definition at line 60 of file inflationhelpers.hpp.

◆ nominalTermStructure_

Handle<YieldTermStructure> nominalTermStructure_
protected

Definition at line 61 of file inflationhelpers.hpp.