QuantLib_SimpleCashFlow

Langue: en

Autres versions - même langue

Version: 381539 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

QuantLib::SimpleCashFlow -

Predetermined cash flow.

SYNOPSIS


#include <ql/cashflows/simplecashflow.hpp>

Inherits QuantLib::CashFlow.

Public Member Functions


SimpleCashFlow (Real amount, const Date &date)

Event interface

 


Date date () const

CashFlow interface

 


Real amount () const
returns the amount of the cash flow

Visitability

 


virtual void accept (AcyclicVisitor &)

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 inherited from the event class

Implements CashFlow.

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.

Author

Generated automatically by Doxygen for QuantLib from the source code.