CashFlow Class Reference
#include <ql/cashflow.hpp>
Inheritance diagram for CashFlow:

Detailed Description
Base class for cash flows.This class is purely virtual and acts as a base class for the actual cash flow implementations.
Public Member Functions | |
CashFlow interface | |
virtual Real | amount () const =0 |
returns the amount of the cash flow | |
virtual Date | date () const =0 |
Visitability | |
virtual void | accept (AcyclicVisitor &) |
Member Function Documentation
|
returns the amount of the cash flow
Implemented in Dividend, FixedDividend, FractionalDividend, FixedRateCoupon, IndexedCoupon, ParCoupon, Short< ParCoupon >, and SimpleCashFlow. |
|
Implements Event. Implemented in Coupon, Dividend, and SimpleCashFlow. |