#include <qle/cashflows/yoyinflationcoupon.hpp>
Collaboration diagram for yoyInflationLeg:Public Member Functions | |
| yoyInflationLeg (Schedule schedule, Calendar cal, ext::shared_ptr< YoYInflationIndex > index, const Period &observationLag) | |
| yoyInflationLeg & | withNotionals (Real notional) |
| yoyInflationLeg & | withNotionals (const std::vector< Real > ¬ionals) |
| yoyInflationLeg & | withPaymentDayCounter (const DayCounter &) |
| yoyInflationLeg & | withPaymentAdjustment (BusinessDayConvention) |
| yoyInflationLeg & | withFixingDays (Natural fixingDays) |
| yoyInflationLeg & | withFixingDays (const std::vector< Natural > &fixingDays) |
| yoyInflationLeg & | withGearings (Real gearing) |
| yoyInflationLeg & | withGearings (const std::vector< Real > &gearings) |
| yoyInflationLeg & | withSpreads (Spread spread) |
| yoyInflationLeg & | withSpreads (const std::vector< Spread > &spreads) |
| yoyInflationLeg & | withCaps (Rate cap) |
| yoyInflationLeg & | withCaps (const std::vector< Rate > &caps) |
| yoyInflationLeg & | withFloors (Rate floor) |
| yoyInflationLeg & | withFloors (const std::vector< Rate > &floors) |
| yoyInflationLeg & | withRateCurve (const Handle< YieldTermStructure > &rateCurve) |
| yoyInflationLeg & | withInflationNotional (bool addInflationNotional_) |
| operator Leg () const | |
Private Attributes | |
| Schedule | schedule_ |
| ext::shared_ptr< YoYInflationIndex > | index_ |
| Period | observationLag_ |
| std::vector< Real > | notionals_ |
| DayCounter | paymentDayCounter_ |
| BusinessDayConvention | paymentAdjustment_ |
| Calendar | paymentCalendar_ |
| std::vector< Natural > | fixingDays_ |
| std::vector< Real > | gearings_ |
| std::vector< Spread > | spreads_ |
| std::vector< Rate > | caps_ |
| std::vector< Rate > | floors_ |
| Handle< YieldTermStructure > | rateCurve_ |
| bool | addInflationNotional_ |
Helper class building a sequence of capped/floored yoy inflation coupons payoff is: spread + gearing x index
Definition at line 84 of file yoyinflationcoupon.hpp.
| yoyInflationLeg | ( | Schedule | schedule, |
| Calendar | cal, | ||
| ext::shared_ptr< YoYInflationIndex > | index, | ||
| const Period & | observationLag | ||
| ) |
Definition at line 100 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withNotionals | ( | Real | notional | ) |
Definition at line 106 of file yoyinflationcoupon.cpp.
Here is the caller graph for this function:| yoyInflationLeg & withNotionals | ( | const std::vector< Real > & | notionals | ) |
Definition at line 111 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withPaymentDayCounter | ( | const DayCounter & | dayCounter | ) |
Definition at line 116 of file yoyinflationcoupon.cpp.
Here is the caller graph for this function:| yoyInflationLeg & withPaymentAdjustment | ( | BusinessDayConvention | convention | ) |
| yoyInflationLeg & withFixingDays | ( | Natural | fixingDays | ) |
Definition at line 126 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withFixingDays | ( | const std::vector< Natural > & | fixingDays | ) |
Definition at line 131 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withGearings | ( | Real | gearing | ) |
Definition at line 136 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withGearings | ( | const std::vector< Real > & | gearings | ) |
Definition at line 141 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withSpreads | ( | Spread | spread | ) |
Definition at line 146 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withSpreads | ( | const std::vector< Spread > & | spreads | ) |
Definition at line 151 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withCaps | ( | Rate | cap | ) |
Definition at line 156 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withCaps | ( | const std::vector< Rate > & | caps | ) |
Definition at line 161 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withFloors | ( | Rate | floor | ) |
Definition at line 166 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withFloors | ( | const std::vector< Rate > & | floors | ) |
Definition at line 171 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withRateCurve | ( | const Handle< YieldTermStructure > & | rateCurve | ) |
Definition at line 176 of file yoyinflationcoupon.cpp.
| yoyInflationLeg & withInflationNotional | ( | bool | addInflationNotional_ | ) |
Definition at line 181 of file yoyinflationcoupon.cpp.
| operator Leg | ( | ) | const |
Definition at line 186 of file yoyinflationcoupon.cpp.
|
private |
Definition at line 107 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 108 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 109 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 110 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 111 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 112 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 113 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 114 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 115 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 116 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 117 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 117 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 118 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 119 of file yoyinflationcoupon.hpp.