helper class building a sequence of capped/floored cmb coupons More...
#include <qle/cashflows/cmbcoupon.hpp>
Public Member Functions | |
CmbLeg (Schedule schedule, std::vector< ext::shared_ptr< ConstantMaturityBondIndex > > bondIndices) | |
CmbLeg & | withNotionals (Real notional) |
CmbLeg & | withNotionals (const std::vector< Real > ¬ionals) |
CmbLeg & | withPaymentDayCounter (const DayCounter &) |
CmbLeg & | withPaymentCalendar (const Calendar &cal) |
CmbLeg & | withPaymentAdjustment (BusinessDayConvention) |
CmbLeg & | withFixingDays (Natural fixingDays) |
CmbLeg & | withFixingDays (const std::vector< Natural > &fixingDays) |
CmbLeg & | withGearings (Real gearing) |
CmbLeg & | withGearings (const std::vector< Real > &gearings) |
CmbLeg & | withSpreads (Spread spread) |
CmbLeg & | withSpreads (const std::vector< Spread > &spreads) |
CmbLeg & | withCaps (Rate cap) |
CmbLeg & | withCaps (const std::vector< Rate > &caps) |
CmbLeg & | withFloors (Rate floor) |
CmbLeg & | withFloors (const std::vector< Rate > &floors) |
CmbLeg & | inArrears (bool flag=true) |
CmbLeg & | withZeroPayments (bool flag=true) |
CmbLeg & | withExCouponPeriod (const Period &, const Calendar &, BusinessDayConvention, bool endOfMonth) |
operator Leg () const | |
Private Attributes | |
Schedule | schedule_ |
std::vector< ext::shared_ptr< ConstantMaturityBondIndex > > | bondIndices_ |
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_ |
bool | inArrears_ |
bool | zeroPayments_ |
Period | exCouponPeriod_ |
Calendar | exCouponCalendar_ |
BusinessDayConvention | exCouponAdjustment_ |
bool | exCouponEndOfMonth_ |
helper class building a sequence of capped/floored cmb coupons
Definition at line 87 of file cmbcoupon.hpp.
CmbLeg | ( | Schedule | schedule, |
std::vector< ext::shared_ptr< ConstantMaturityBondIndex > > | bondIndices | ||
) |
Definition at line 92 of file cmbcoupon.cpp.
CmbLeg & withNotionals | ( | Real | notional | ) |
Definition at line 100 of file cmbcoupon.cpp.
CmbLeg & withNotionals | ( | const std::vector< Real > & | notionals | ) |
Definition at line 105 of file cmbcoupon.cpp.
CmbLeg & withPaymentDayCounter | ( | const DayCounter & | dayCounter | ) |
Definition at line 110 of file cmbcoupon.cpp.
CmbLeg & withPaymentCalendar | ( | const Calendar & | cal | ) |
Definition at line 180 of file cmbcoupon.cpp.
CmbLeg & withPaymentAdjustment | ( | BusinessDayConvention | convention | ) |
Definition at line 115 of file cmbcoupon.cpp.
CmbLeg & withFixingDays | ( | Natural | fixingDays | ) |
Definition at line 120 of file cmbcoupon.cpp.
CmbLeg & withFixingDays | ( | const std::vector< Natural > & | fixingDays | ) |
Definition at line 125 of file cmbcoupon.cpp.
CmbLeg & withGearings | ( | Real | gearing | ) |
Definition at line 130 of file cmbcoupon.cpp.
CmbLeg & withGearings | ( | const std::vector< Real > & | gearings | ) |
Definition at line 135 of file cmbcoupon.cpp.
CmbLeg & withSpreads | ( | Spread | spread | ) |
Definition at line 140 of file cmbcoupon.cpp.
CmbLeg & withSpreads | ( | const std::vector< Spread > & | spreads | ) |
Definition at line 145 of file cmbcoupon.cpp.
CmbLeg & withCaps | ( | Rate | cap | ) |
Definition at line 150 of file cmbcoupon.cpp.
CmbLeg & withCaps | ( | const std::vector< Rate > & | caps | ) |
Definition at line 155 of file cmbcoupon.cpp.
CmbLeg & withFloors | ( | Rate | floor | ) |
Definition at line 160 of file cmbcoupon.cpp.
CmbLeg & withFloors | ( | const std::vector< Rate > & | floors | ) |
Definition at line 165 of file cmbcoupon.cpp.
Definition at line 170 of file cmbcoupon.cpp.
Definition at line 175 of file cmbcoupon.cpp.
CmbLeg & withExCouponPeriod | ( | const Period & | period, |
const Calendar & | cal, | ||
BusinessDayConvention | convention, | ||
bool | endOfMonth | ||
) |
Definition at line 185 of file cmbcoupon.cpp.
operator Leg | ( | ) | const |
Definition at line 196 of file cmbcoupon.cpp.
|
private |
Definition at line 113 of file cmbcoupon.hpp.
|
private |
Definition at line 114 of file cmbcoupon.hpp.
|
private |
Definition at line 115 of file cmbcoupon.hpp.
|
private |
Definition at line 116 of file cmbcoupon.hpp.
|
private |
Definition at line 117 of file cmbcoupon.hpp.
|
private |
Definition at line 118 of file cmbcoupon.hpp.
|
private |
Definition at line 119 of file cmbcoupon.hpp.
|
private |
Definition at line 120 of file cmbcoupon.hpp.
|
private |
Definition at line 121 of file cmbcoupon.hpp.
|
private |
Definition at line 122 of file cmbcoupon.hpp.
|
private |
Definition at line 122 of file cmbcoupon.hpp.
|
private |
Definition at line 123 of file cmbcoupon.hpp.
|
private |
Definition at line 123 of file cmbcoupon.hpp.
|
private |
Definition at line 124 of file cmbcoupon.hpp.
|
private |
Definition at line 125 of file cmbcoupon.hpp.
|
private |
Definition at line 126 of file cmbcoupon.hpp.
|
private |
Definition at line 127 of file cmbcoupon.hpp.