FractionalDividend Class Reference

Predetermined cash flow. More...

#include <ql/cashflows/dividend.hpp>

Inheritance diagram for FractionalDividend:

List of all members.

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_


Detailed Description

Predetermined cash flow.

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


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.