FixedRateCoupon Class Reference

#include <ql/CashFlows/fixedratecoupon.hpp>

Inheritance diagram for FixedRateCoupon:

Inheritance graph
[legend]
List of all members.

Detailed Description

Coupon paying a fixed interest rate


Public Member Functions

 FixedRateCoupon (Real nominal, const Date &paymentDate, Rate rate, const DayCounter &dayCounter, const Date &startDate, const Date &endDate, const Date &refPeriodStart=Date(), const Date &refPeriodEnd=Date())
CashFlow interface
Real amount () const
 returns the amount of the cash flow

Coupon interface
DayCounter dayCounter () const
 day counter for accrual calculation

Real accruedAmount (const Date &) const
 accrued amount at the given date

Inspectors
Rate rate () const
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