FractionalDividend Class Reference

#include <ql/cashflows/dividend.hpp>

Inheritance diagram for FractionalDividend:

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

 FractionalDividend (Real rate, const Date &date)
 FractionalDividend (Real rate, Real nominal, const Date &date)
Dividend interface
virtual Real amount () const
 returns the amount of the cash flow
virtual Real amount (Real underlying) const
Inspectors
Real rate () const
Real nominal () const

Protected Attributes

Real rate_
Real nominal_


Member Function Documentation

virtual 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 Dividend.