Predetermined cash flow. More...
#include <ql/cashflows/simplecashflow.hpp>
Public Member Functions | |
SimpleCashFlow (Real amount, const Date &date) | |
Event interface | |
Date | date () const |
CashFlow interface | |
Real | amount () const |
returns the amount of the cash flow More... | |
Visitability | |
virtual void | accept (AcyclicVisitor &) |
![]() | |
bool | hasOccurred (const Date &refDate=Date(), boost::optional< bool > includeRefDate=boost::none) const |
returns true if an event has already occurred before a date More... | |
Event interface | |
Visitability | |
![]() | |
Observable (const Observable &) | |
Observable & | operator= (const Observable &) |
void | notifyObservers () |
Predetermined cash flow.
This cash flow pays a predetermined amount at a given date.