helper class building a sequence of formula based coupons More...
#include <qle/cashflows/formulabasedcoupon.hpp>
Collaboration diagram for FormulaBasedLeg:Public Member Functions | |
| FormulaBasedLeg (const Currency &paymentCurrency, const Schedule &schedule, const QuantLib::ext::shared_ptr< FormulaBasedIndex > &index) | |
| FormulaBasedLeg & | withNotionals (Real notional) |
| FormulaBasedLeg & | withNotionals (const std::vector< Real > ¬ionals) |
| FormulaBasedLeg & | withPaymentDayCounter (const DayCounter &) |
| FormulaBasedLeg & | withPaymentAdjustment (BusinessDayConvention) |
| FormulaBasedLeg & | withPaymentLag (Natural lag) |
| FormulaBasedLeg & | withPaymentCalendar (const Calendar &) |
| FormulaBasedLeg & | withFixingDays (Natural fixingDays) |
| FormulaBasedLeg & | withFixingDays (const std::vector< Natural > &fixingDays) |
| FormulaBasedLeg & | inArrears (bool flag=true) |
| FormulaBasedLeg & | withZeroPayments (bool flag=true) |
| operator Leg () const | |
Private Attributes | |
| Currency | paymentCurrency_ |
| Schedule | schedule_ |
| QuantLib::ext::shared_ptr< FormulaBasedIndex > | index_ |
| std::vector< Real > | notionals_ |
| DayCounter | paymentDayCounter_ |
| BusinessDayConvention | paymentAdjustment_ |
| Natural | paymentLag_ |
| Calendar | paymentCalendar_ |
| std::vector< Natural > | fixingDays_ |
| bool | inArrears_ |
| bool | zeroPayments_ |
helper class building a sequence of formula based coupons
Definition at line 60 of file formulabasedcoupon.hpp.
| FormulaBasedLeg | ( | const Currency & | paymentCurrency, |
| const Schedule & | schedule, | ||
| const QuantLib::ext::shared_ptr< FormulaBasedIndex > & | index | ||
| ) |
Definition at line 43 of file formulabasedcoupon.cpp.
| FormulaBasedLeg & withNotionals | ( | Real | notional | ) |
Definition at line 48 of file formulabasedcoupon.cpp.
| FormulaBasedLeg & withNotionals | ( | const std::vector< Real > & | notionals | ) |
Definition at line 53 of file formulabasedcoupon.cpp.
| FormulaBasedLeg & withPaymentDayCounter | ( | const DayCounter & | ) |
Definition at line 58 of file formulabasedcoupon.cpp.
| FormulaBasedLeg & withPaymentAdjustment | ( | BusinessDayConvention | convention | ) |
Definition at line 63 of file formulabasedcoupon.cpp.
| FormulaBasedLeg & withPaymentLag | ( | Natural | lag | ) |
Definition at line 68 of file formulabasedcoupon.cpp.
| FormulaBasedLeg & withPaymentCalendar | ( | const Calendar & | ) |
Definition at line 73 of file formulabasedcoupon.cpp.
| FormulaBasedLeg & withFixingDays | ( | Natural | fixingDays | ) |
Definition at line 78 of file formulabasedcoupon.cpp.
| FormulaBasedLeg & withFixingDays | ( | const std::vector< Natural > & | fixingDays | ) |
Definition at line 83 of file formulabasedcoupon.cpp.
| FormulaBasedLeg & inArrears | ( | bool | flag = true | ) |
Definition at line 88 of file formulabasedcoupon.cpp.
| FormulaBasedLeg & withZeroPayments | ( | bool | flag = true | ) |
Definition at line 93 of file formulabasedcoupon.cpp.
| operator Leg | ( | ) | const |
Definition at line 98 of file formulabasedcoupon.cpp.
|
private |
Definition at line 77 of file formulabasedcoupon.hpp.
|
private |
Definition at line 78 of file formulabasedcoupon.hpp.
|
private |
Definition at line 79 of file formulabasedcoupon.hpp.
|
private |
Definition at line 80 of file formulabasedcoupon.hpp.
|
private |
Definition at line 81 of file formulabasedcoupon.hpp.
|
private |
Definition at line 82 of file formulabasedcoupon.hpp.
|
private |
Definition at line 83 of file formulabasedcoupon.hpp.
|
private |
Definition at line 84 of file formulabasedcoupon.hpp.
|
private |
Definition at line 85 of file formulabasedcoupon.hpp.
|
private |
Definition at line 86 of file formulabasedcoupon.hpp.
|
private |
Definition at line 86 of file formulabasedcoupon.hpp.