|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
helper class More...
#include <schedule.hpp>
Collaboration diagram for MakeSchedule:Public Member Functions | |
| MakeSchedule & | from (const Date &effectiveDate) |
| MakeSchedule & | to (const Date &terminationDate) |
| MakeSchedule & | withTenor (const Period &) |
| MakeSchedule & | withFrequency (Frequency) |
| MakeSchedule & | withCalendar (const Calendar &) |
| MakeSchedule & | withConvention (BusinessDayConvention) |
| MakeSchedule & | withTerminationDateConvention (BusinessDayConvention) |
| MakeSchedule & | withRule (DateGeneration::Rule) |
| MakeSchedule & | forwards () |
| MakeSchedule & | backwards () |
| MakeSchedule & | endOfMonth (bool flag=true) |
| MakeSchedule & | withFirstDate (const Date &d) |
| MakeSchedule & | withNextToLastDate (const Date &d) |
| operator Schedule () const | |
Private Attributes | |
| Calendar | calendar_ |
| Date | effectiveDate_ |
| Date | terminationDate_ |
| ext::optional< Period > | tenor_ |
| ext::optional< BusinessDayConvention > | convention_ |
| ext::optional< BusinessDayConvention > | terminationDateConvention_ |
| DateGeneration::Rule | rule_ = DateGeneration::Backward |
| bool | endOfMonth_ = false |
| Date | firstDate_ |
| Date | nextToLastDate_ |
helper class
This class provides a more comfortable interface to the argument list of Schedule's constructor.
Definition at line 128 of file schedule.hpp.
| MakeSchedule & from | ( | const Date & | effectiveDate | ) |
Definition at line 527 of file schedule.cpp.
Here is the caller graph for this function:| MakeSchedule & to | ( | const Date & | terminationDate | ) |
Definition at line 532 of file schedule.cpp.
Here is the caller graph for this function:| MakeSchedule & withTenor | ( | const Period & | tenor | ) |
| MakeSchedule & withFrequency | ( | Frequency | frequency | ) |
Definition at line 542 of file schedule.cpp.
Here is the caller graph for this function:| MakeSchedule & withCalendar | ( | const Calendar & | calendar | ) |
Definition at line 547 of file schedule.cpp.
Here is the caller graph for this function:| MakeSchedule & withConvention | ( | BusinessDayConvention | conv | ) |
Definition at line 552 of file schedule.cpp.
Here is the caller graph for this function:| MakeSchedule & withTerminationDateConvention | ( | BusinessDayConvention | conv | ) |
Definition at line 557 of file schedule.cpp.
Here is the caller graph for this function:| MakeSchedule & withRule | ( | DateGeneration::Rule | r | ) |
Definition at line 563 of file schedule.cpp.
Here is the caller graph for this function:| MakeSchedule & forwards | ( | ) |
| MakeSchedule & backwards | ( | ) |
| MakeSchedule & endOfMonth | ( | bool | flag = true | ) |
| MakeSchedule & withFirstDate | ( | const Date & | d | ) |
Definition at line 583 of file schedule.cpp.
| MakeSchedule & withNextToLastDate | ( | const Date & | d | ) |
Definition at line 588 of file schedule.cpp.
| operator Schedule | ( | ) | const |
|
private |
Definition at line 145 of file schedule.hpp.
|
private |
Definition at line 146 of file schedule.hpp.
|
private |
Definition at line 146 of file schedule.hpp.
|
private |
Definition at line 147 of file schedule.hpp.
|
private |
Definition at line 148 of file schedule.hpp.
|
private |
Definition at line 149 of file schedule.hpp.
|
private |
Definition at line 150 of file schedule.hpp.
|
private |
Definition at line 151 of file schedule.hpp.
|
private |
Definition at line 152 of file schedule.hpp.
|
private |
Definition at line 152 of file schedule.hpp.