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
 returns the date at which the cash flow is settled

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.


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen