|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
Inheritance diagram for BespokeCalendar::Impl:
Collaboration diagram for BespokeCalendar::Impl:Public Member Functions | |
| Impl (std::string name="") | |
| std::string | name () const override |
| bool | isWeekend (Weekday) const override |
| bool | isBusinessDay (const Date &) const override |
| void | addWeekend (Weekday) |
Public Member Functions inherited from Calendar::Impl | |
| virtual | ~Impl ()=default |
| virtual std::string | name () const =0 |
| virtual bool | isBusinessDay (const Date &) const =0 |
| virtual bool | isWeekend (Weekday) const =0 |
Private Attributes | |
| std::string | name_ |
| unsigned int | weekend_mask_ = 0 |
Additional Inherited Members | |
Public Attributes inherited from Calendar::Impl | |
| std::set< Date > | addedHolidays |
| std::set< Date > | removedHolidays |
Definition at line 42 of file bespokecalendar.hpp.
|
explicit |
Definition at line 26 of file bespokecalendar.cpp.
|
overridevirtual |
Implements Calendar::Impl.
Definition at line 28 of file bespokecalendar.cpp.
Implements Calendar::Impl.
Definition at line 32 of file bespokecalendar.cpp.
Implements Calendar::Impl.
Definition at line 36 of file bespokecalendar.cpp.
Here is the call graph for this function:| void addWeekend | ( | Weekday | w | ) |
Definition at line 40 of file bespokecalendar.cpp.
|
private |
Definition at line 50 of file bespokecalendar.hpp.
|
private |
Definition at line 51 of file bespokecalendar.hpp.