|
QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
|
instrument callability More...
#include <ql/instruments/callabilityschedule.hpp>
Public Types | |
| enum | Type { Call , Put } |
| type of the callability | |
Public Member Functions | |
| Callability (const Bond::Price &price, Type type, const Date &date) | |
| const Bond::Price & | price () const |
| Type | type () const |
Event interface | |
| Date | date () const override |
| returns the date at which the event occurs | |
| Public Member Functions inherited from Event | |
| virtual bool | hasOccurred (const Date &refDate=Date(), ext::optional< bool > includeRefDate=ext::nullopt) const |
| returns true if an event has already occurred before a date | |
| Public Member Functions inherited from Observable | |
| Observable (const Observable &) | |
| Observable & | operator= (const Observable &) |
| Observable (Observable &&)=delete | |
| Observable & | operator= (Observable &&)=delete |
| void | notifyObservers () |
Visitability | |
| void | accept (AcyclicVisitor &) override |
instrument callability
|
overridevirtual |
Reimplemented from Event.