QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <event.hpp>
Public Member Functions | |
simple_event (const Date &date) | |
Date | date () const override |
returns the date at which the event occurs More... | |
Public Member Functions inherited from Event | |
~Event () override=default | |
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 More... | |
virtual void | accept (AcyclicVisitor &) |
Public Member Functions inherited from Observable | |
Observable () | |
Observable (const Observable &) | |
Observable & | operator= (const Observable &) |
Observable (Observable &&)=delete | |
Observable & | operator= (Observable &&)=delete |
virtual | ~Observable ()=default |
void | notifyObservers () |
Private Attributes | |
Date | date_ |
|
explicit |
|
overridevirtual |