helper class building a sequence of sub-period coupons More...
#include <qle/cashflows/subperiodscoupon.hpp>
Collaboration diagram for SubPeriodsLeg1:Public Member Functions | |
| SubPeriodsLeg1 (const Schedule &schedule, const QuantLib::ext::shared_ptr< InterestRateIndex > &index) | |
| SubPeriodsLeg1 & | withNotional (Real notional) |
| SubPeriodsLeg1 & | withNotionals (const std::vector< Real > ¬ionals) |
| SubPeriodsLeg1 & | withPaymentDayCounter (const DayCounter &dayCounter) |
| SubPeriodsLeg1 & | withPaymentAdjustment (BusinessDayConvention convention) |
| SubPeriodsLeg1 & | withGearing (Real gearing) |
| SubPeriodsLeg1 & | withGearings (const std::vector< Real > &gearings) |
| SubPeriodsLeg1 & | withSpread (Spread spread) |
| SubPeriodsLeg1 & | withSpreads (const std::vector< Spread > &spreads) |
| SubPeriodsLeg1 & | withPaymentCalendar (const Calendar &calendar) |
| SubPeriodsLeg1 & | withType (SubPeriodsCoupon1::Type type) |
| SubPeriodsLeg1 & | includeSpread (bool includeSpread) |
| operator Leg () const | |
Private Attributes | |
| Schedule | schedule_ |
| QuantLib::ext::shared_ptr< InterestRateIndex > | index_ |
| std::vector< Real > | notionals_ |
| DayCounter | paymentDayCounter_ |
| BusinessDayConvention | paymentAdjustment_ |
| std::vector< Real > | gearings_ |
| std::vector< Spread > | spreads_ |
| Calendar | paymentCalendar_ |
| SubPeriodsCoupon1::Type | type_ |
| bool | includeSpread_ |
helper class building a sequence of sub-period coupons
Definition at line 93 of file subperiodscoupon.hpp.
| SubPeriodsLeg1 | ( | const Schedule & | schedule, |
| const QuantLib::ext::shared_ptr< InterestRateIndex > & | index | ||
| ) |
Definition at line 88 of file subperiodscoupon.cpp.
| SubPeriodsLeg1 & withNotional | ( | Real | notional | ) |
| SubPeriodsLeg1 & withNotionals | ( | const std::vector< Real > & | notionals | ) |
| SubPeriodsLeg1 & withPaymentDayCounter | ( | const DayCounter & | dayCounter | ) |
Definition at line 102 of file subperiodscoupon.cpp.
Here is the caller graph for this function:| SubPeriodsLeg1 & withPaymentAdjustment | ( | BusinessDayConvention | convention | ) |
| SubPeriodsLeg1 & withGearing | ( | Real | gearing | ) |
Definition at line 112 of file subperiodscoupon.cpp.
| SubPeriodsLeg1 & withGearings | ( | const std::vector< Real > & | gearings | ) |
Definition at line 117 of file subperiodscoupon.cpp.
| SubPeriodsLeg1 & withSpread | ( | Spread | spread | ) |
Definition at line 122 of file subperiodscoupon.cpp.
Here is the caller graph for this function:| SubPeriodsLeg1 & withSpreads | ( | const std::vector< Spread > & | spreads | ) |
Definition at line 127 of file subperiodscoupon.cpp.
| SubPeriodsLeg1 & withPaymentCalendar | ( | const Calendar & | calendar | ) |
| SubPeriodsLeg1 & withType | ( | SubPeriodsCoupon1::Type | type | ) |
| SubPeriodsLeg1 & includeSpread | ( | bool | includeSpread | ) |
Definition at line 142 of file subperiodscoupon.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| operator Leg | ( | ) | const |
Definition at line 147 of file subperiodscoupon.cpp.
Here is the call graph for this function:
|
private |
Definition at line 110 of file subperiodscoupon.hpp.
|
private |
Definition at line 111 of file subperiodscoupon.hpp.
|
private |
Definition at line 112 of file subperiodscoupon.hpp.
|
private |
Definition at line 113 of file subperiodscoupon.hpp.
|
private |
Definition at line 114 of file subperiodscoupon.hpp.
|
private |
Definition at line 115 of file subperiodscoupon.hpp.
|
private |
Definition at line 116 of file subperiodscoupon.hpp.
|
private |
Definition at line 117 of file subperiodscoupon.hpp.
|
private |
Definition at line 118 of file subperiodscoupon.hpp.
|
private |
Definition at line 119 of file subperiodscoupon.hpp.