SimpleCashFlow Class Reference

#include <ql/cashflows/simplecashflow.hpp>

Inheritance diagram for SimpleCashFlow:

Inheritance graph
[legend]
List of all members.

Detailed Description

Predetermined cash flow.

This cash flow pays a predetermined amount at a given date.


Public Member Functions

 SimpleCashFlow (Real amount, const Date &date)
CashFlow interface
Real amount () const
 returns the amount of the cash flow
Date date () const
 
Note:
This is inheirited from the event class

Visitability
virtual void accept (AcyclicVisitor &)


Member Function Documentation

Real amount (  )  const [virtual]

returns the amount of the cash flow

Note:
The amount is not discounted, i.e., it is the actual amount paid at the cash flow date.

Implements CashFlow.