QuantLib_Dividend (3) - Linux Manuals

QuantLib_Dividend: Predetermined cash flow.

NAME

QuantLib::Dividend - Predetermined cash flow.

SYNOPSIS


#include <ql/cashflows/dividend.hpp>

Inherits QuantLib::CashFlow.

Inherited by FixedDividend, and FractionalDividend.

Public Member Functions


Dividend (const Date &date)

virtual Real amount (Real underlying) const =0

Event interface


Date date () const

CashFlow interface


virtual Real amount () const =0
returns the amount of the cash flow

Visitability


virtual void accept (AcyclicVisitor &)

Protected Attributes


Date date_

Detailed Description

Predetermined cash flow.

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

Member Function Documentation

Date date () const [virtual]

Note:

This is inheriited from the event class

Implements CashFlow.

virtual Real amount () const [pure 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.

Implemented in FixedDividend, and FractionalDividend.

Author

Generated automatically by Doxygen for QuantLib from the source code.